implement update interval of list; can be disabled / changed by user
[kdenetwork.git] / kopete / protocols / testbed / testbedaddcontactpage.h
blob34521bf7d4981d8529758a37aaadf90f84afd3a1
1 /*
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 *************************************************************************
8 * *
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. *
13 * *
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; }
27 /**
28 * A page in the Add Contact Wizard
29 * @author Will Stephenson
31 class TestbedAddContactPage : public AddContactPage
33 Q_OBJECT
34 public:
35 TestbedAddContactPage( QWidget* parent = 0 );
36 ~TestbedAddContactPage();
38 /**
39 * Make a contact out of the entered data
41 virtual bool apply(Kopete::Account* a, Kopete::MetaContact* m);
42 /**
43 * Is the data correct?
45 virtual bool validateData();
47 protected:
48 Ui::TestbedAddUI m_testbedAddUI;
51 #endif