Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / winpopup / wpuserinfo.h
blobe0af2a20dc937d89cf6a2819cd93655e08e9b36f
1 /***************************************************************************
2 wpuserinfo.h - WinPopup User Info
3 -------------------
4 begin : Tue May 06 2003
5 copyright : (C) 2003 by Tais M. Hansen
6 email : tais.hansen@osd.dk
8 Based on code from : (C) 2002-2003 by the Kopete developers
9 email : kopete-devel@kde.org
10 ***************************************************************************
12 ***************************************************************************
13 * *
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
18 * *
19 ***************************************************************************/
21 #ifndef WPUSERINFO_H
22 #define WPUSERINFO_H
24 #include <QProcess>
26 #include <KDialog>
28 class WPContact;
29 namespace Ui { class WPUserInfoWidget; }
31 class WPUserInfo : public KDialog
33 Q_OBJECT
35 public:
36 explicit WPUserInfo( WPContact *, QWidget *parent = 0 );
37 ~WPUserInfo();
39 void startDetailsProcess(const QString &host);
41 private slots:
42 void slotDetailsProcessFinished(int, QProcess::ExitStatus);
43 void slotCloseClicked();
45 signals:
46 void closing();
48 private:
49 WPContact *m_contact;
50 Ui::WPUserInfoWidget *m_mainWidget;
52 QString Comment, Workgroup, OS, Software;
53 QProcess *detailsProcess;
56 #endif
58 // vim: set noet ts=4 sts=4 sw=4:
59 // kate: tab-width 4; indent-width 4; replace-trailing-space-save on;