summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/ui/dlgjabberchatroomslist.h
blob: c2c6cf333c3ddc229e1d44bd7b787e9294f7bee2 (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
53
54
55
//
// C++ Interface: 
//
// Description: 
//
//
// Author: Kopete Developers <kopete-devel@kde.org>, (C) 2005
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef DLGJABBERCHATROOMSLIST_H
#define DLGJABBERCHATROOMSLIST_H

#include "jabberaccount.h"
#include "xmpp_tasks.h"

#include "dlgchatroomslist.h"

class dlgJabberChatRoomsList : public dlgChatRoomsList
{
  Q_OBJECT
  

public:
	dlgJabberChatRoomsList(JabberAccount* account, const TQString& server = TQString(), const TQString& nick = TQString(), TQWidget* parent = 0, const char* name = 0);
  ~dlgJabberChatRoomsList();
  /*$PUBLIC_FUNCTIONS$*/

public slots:
  /*$PUBLIC_SLOTS$*/
  virtual void slotJoin();
  virtual void slotQuery();
  virtual void slotDoubleClick(int row, int col, int button, const TQPoint& mousePos);
  virtual void slotClick(int row, int col, int button, const TQPoint& mousePos);

protected:
  /*$PROTECTED_FUNCTIONS$*/

protected slots:
  /*$PROTECTED_SLOTS$*/

	void slotQueryFinished();

private:

	JabberAccount *m_account;
	int m_selectedRow;
	TQString m_chatServer;
	TQString m_nick;
};

#endif