Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / winpopup / wpeditaccount.h
blobc12267c1e16560130cfacfb835c927b9e62417fa
1 /***************************************************************************
2 wpeditaccount.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 WPEDITACCOUNT_H
19 #define WPEDITACCOUNT_H
21 // KDE Includes
23 // QT Includes
25 // Kopete Includes
26 #include "editaccountwidget.h"
28 // Local Includes
29 #include "wpprotocol.h"
30 #include "wpaccount.h"
31 #include "ui_wpeditaccountbase.h"
33 namespace Kopete { class Account; }
35 class WPEditAccount: public QWidget, private Ui::WPEditAccountBase, public KopeteEditAccountWidget
37 Q_OBJECT
39 private:
40 WPProtocol *mProtocol;
41 WPAccount *mAccount;
43 public:
44 WPEditAccount(QWidget *parent, Kopete::Account *theAccount);
46 virtual bool validateData();
47 void writeConfig();
49 public slots:
50 virtual Kopete::Account *apply();
51 virtual void installSamba();
54 #endif
56 // vim: set noet ts=4 sts=4 sw=4:
57 // kate: tab-width 4; indent-width 4; replace-trailing-space-save on;