summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/nowlistening/nowlisteningguiclient.h
blob: 6c78e125b6ed12bb3526e185f971abce76eee01e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
    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 <tqobject.h>
#include <kxmlguiclient.h>

class TDEAction;
class NowListeningPlugin;

namespace Kopete {
	class ChatSession;
}

class NowListeningGUIClient : public TQObject, public KXMLGUIClient
{
	Q_OBJECT
  

public:
	NowListeningGUIClient( Kopete::ChatSession* parent, NowListeningPlugin* plugin );
	virtual ~NowListeningGUIClient() {}

protected slots:
	void slotAdvertToCurrentChat();
	void slotPluginUnloaded();

private:
	Kopete::ChatSession* m_msgManager;
	TDEAction* m_action;
};

#endif