Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / winpopup / wpaddcontact.h
blobe72915e5a24d0297a3e67d0ffbb3d7c9aaadc5b0
1 /***************************************************************************
2 wpaddcontact.h - description
3 -------------------
4 begin : Wed Jan 23 2002
5 copyright : (C) 2002 by Gav Wood
6 email : gav@kde.org
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #ifndef WPADDCONTACT_H
19 #define WPADDCONTACT_H
21 // Kopete Includes
22 #include <addcontactpage.h>
24 // QT Includes
26 // KDE Includes
28 // Local Includes
30 class WPAccount;
31 namespace Ui { class WPAddContactBase; }
32 namespace Kopete { class MetaContact; }
34 class WPAddContact: public AddContactPage
36 Q_OBJECT
38 private:
39 WPAccount *theAccount;
40 Ui::WPAddContactBase *theDialog;
42 public:
43 WPAddContact(QWidget *parent, WPAccount *newAccount);
44 ~WPAddContact();
46 virtual bool validateData();
48 public slots:
49 virtual bool apply(Kopete::Account *theAccount, Kopete::MetaContact *theMetaContact);
51 void slotSelected(const QString &Group);
52 void slotUpdateGroups();
55 #endif
57 // vim: set noet ts=4 sts=4 sw=4:
58 // kate: tab-width 4; indent-width 4; replace-trailing-space-save on;