2 testbedaddcontactpage.h - Kopete Testbed Protocol
4 Copyright (c) 2003 by Will Stephenson <will@stevello.free-online.co.uk>
5 Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
7 *************************************************************************
9 * This library is free software; you can redistribute it and/or *
10 * modify it under the terms of the GNU General Public *
11 * License as published by the Free Software Foundation; either *
12 * version 2 of the License, or (at your option) any later version. *
14 *************************************************************************
17 #ifndef TESTBEDADDCONTACTPAGE_H
18 #define TESTBEDADDCONTACTPAGE_H
20 #include <addcontactpage.h>
21 #include "ui_testbedaddui.h"
23 namespace Kopete
{ class Account
; }
24 namespace Kopete
{ class MetaContact
; }
25 namespace Ui
{ class TestbedAddUI
; }
28 * A page in the Add Contact Wizard
29 * @author Will Stephenson
31 class TestbedAddContactPage
: public AddContactPage
35 TestbedAddContactPage( QWidget
* parent
= 0 );
36 ~TestbedAddContactPage();
39 * Make a contact out of the entered data
41 virtual bool apply(Kopete::Account
* a
, Kopete::MetaContact
* m
);
43 * Is the data correct?
45 virtual bool validateData();
48 Ui::TestbedAddUI m_testbedAddUI
;