Fix crash on login.
[kdenetwork.git] / kopete / protocols / oscar / icq / xtrazstatusaction.h
blob7ad6a258b38fd56a7d72270487ca3e7025dfccd6
1 /*
2 xtrazstatusaction.h - Xtraz Status Action
4 Copyright (c) 2007 by Roman Jarosz <kedgedev@centrum.cz>
5 Kopete (c) 2007 by the Kopete developers <kopete-devel@kde.org>
7 *************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 *************************************************************************
17 #ifndef XTRAZSTATUSACTION_H
18 #define XTRAZSTATUSACTION_H
20 #include <kaction.h>
22 #include "oscarpresence.h"
23 #include "xtrazstatus.h"
25 namespace Xtraz
28 class StatusAction: public KAction
30 Q_OBJECT
31 public:
32 StatusAction( const Xtraz::Status &status, QObject *parent );
34 public slots:
35 void triggered();
37 signals:
38 void triggered( const Oscar::Presence &presence, const QString &message );
40 private:
41 Xtraz::Status mStatus;
46 #endif