summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/winpopup/wpuserinfo.h
blob: 62122e505b89b67d4516329878c11f57c58760b0 (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
56
57
58
59
/***************************************************************************
                          wpuserinfo.h  -  WinPopup User Info
                             -------------------
    begin                : Tue May 06 2003
    copyright            : (C) 2003 by Tais M. Hansen
    email                : [email protected]

    Based on code from   : (C) 2002-2003 by the Kopete developers
    email                : [email protected]
 ***************************************************************************

 ***************************************************************************
 *                                                                         *
 *   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 WPUSERINFO_H
#define WPUSERINFO_H

// KDE Includes
#include <kdialogbase.h>
#include <kprocio.h>

// Local Includes
#include "wpuserinfowidget.h"

class WPAccount;
class WPContact;

class WPUserInfo : public KDialogBase
{
	TQ_OBJECT
  

	public:
		WPUserInfo( WPContact *, WPAccount *, TQWidget *parent = 0, const char* name = "WPUserInfo" );

		void startDetailsProcess(const TQString &host);

	private slots:
		void slotDetailsProcessReady(KProcIO *d);
		void slotDetailsProcessExited(TDEProcess *d);
		void slotCloseClicked();

	signals:
		void closing();

	private:
		WPContact *m_contact;
		WPUserInfoWidget *m_mainWidget;

		TQString Comment, Workgroup, OS, Software;
};

#endif