diff options
Diffstat (limited to 'kopete/plugins/nowlistening/nowlisteningguiclient.h')
-rw-r--r-- | kopete/plugins/nowlistening/nowlisteningguiclient.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/kopete/plugins/nowlistening/nowlisteningguiclient.h b/kopete/plugins/nowlistening/nowlisteningguiclient.h new file mode 100644 index 00000000..9f89d351 --- /dev/null +++ b/kopete/plugins/nowlistening/nowlisteningguiclient.h @@ -0,0 +1,53 @@ +/* + nowlisteningguiclient.h + + Kopete Now Listening To plugin + + Copyright (c) 2005 by Tommi Rantala <tommi.rantala@cs.helsinki.fi> + Copyright (c) 2002,2003,2004 by Will Stephenson <will@stevello.free-online.co.uk> + + Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> + + ************************************************************************* + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ************************************************************************* +*/ + +#ifndef NOWLISTENINGGUICLIENT_H +#define NOWLISTENINGGUICLIENT_H + +#include <qobject.h> +#include <kxmlguiclient.h> + +class KAction; +class NowListeningPlugin; + +namespace Kopete { + class ChatSession; +} + +class NowListeningGUIClient : public QObject, public KXMLGUIClient +{ + Q_OBJECT + +public: + NowListeningGUIClient( Kopete::ChatSession* parent, NowListeningPlugin* plugin ); + virtual ~NowListeningGUIClient() {} + +protected slots: + void slotAdvertToCurrentChat(); + void slotPluginUnloaded(); + +private: + Kopete::ChatSession* m_msgManager; + KAction* m_action; +}; + +#endif + +// vim: set noet ts=4 sts=4 sw=4: |