1 /***************************************************************************
2 wpaddcontact.h - description
4 begin : Wed Jan 23 2002
5 copyright : (C) 2002 by Gav Wood
7 ***************************************************************************/
9 /***************************************************************************
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. *
16 ***************************************************************************/
18 #ifndef WPADDCONTACT_H
19 #define WPADDCONTACT_H
22 #include <addcontactpage.h>
31 namespace Ui
{ class WPAddContactBase
; }
32 namespace Kopete
{ class MetaContact
; }
34 class WPAddContact
: public AddContactPage
39 WPAccount
*theAccount
;
40 Ui::WPAddContactBase
*theDialog
;
43 WPAddContact(QWidget
*parent
, WPAccount
*newAccount
);
46 virtual bool validateData();
49 virtual bool apply(Kopete::Account
*theAccount
, Kopete::MetaContact
*theMetaContact
);
51 void slotSelected(const QString
&Group
);
52 void slotUpdateGroups();
57 // vim: set noet ts=4 sts=4 sw=4:
58 // kate: tab-width 4; indent-width 4; replace-trailing-space-save on;