summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/winpopup/wpuserinfo.h
blob: 1c4ce0e96683fba38980657894920a73a33dcda6 (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
60
61
/***************************************************************************
                          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
{
	Q_OBJECT

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

		void startDetailsProcess(const QString &host);

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

	signals:
		void closing();

	private:
		WPContact *m_contact;
		WPUserInfoWidget *m_mainWidget;

		QString Comment, Workgroup, OS, Software;
};

#endif

// vim: set noet ts=4 sts=4 sw=4:
// kate: tab-width 4; indent-width 4; replace-trailing-space-save on;