implement update interval of list; can be disabled / changed by user
[kdenetwork.git] / kopete / protocols / testbed / testbededitaccountwidget.h
blobabfa4a86332ceba657abae1c1b194745b7eb5848
1 /*
2 testbededitaccountwidget.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 TESTBEDEDITACCOUNTWIDGET_H
18 #define TESTBEDEDITACCOUNTWIDGET_H
20 #include <qwidget.h>
21 //Added by qt3to4:
22 #include <QVBoxLayout>
23 #include <editaccountwidget.h>
25 class QVBoxLayout;
26 namespace Kopete { class Account; }
27 namespace Ui { class TestbedAccountPreferences; }
29 /**
30 * A widget for editing this protocol's accounts
31 * @author Will Stephenson
33 class TestbedEditAccountWidget : public QWidget, public KopeteEditAccountWidget
35 Q_OBJECT
36 public:
37 TestbedEditAccountWidget( QWidget* parent, Kopete::Account* account);
39 ~TestbedEditAccountWidget();
41 /**
42 * Make an account out of the entered data
44 virtual Kopete::Account* apply();
45 /**
46 * Is the data correct?
48 virtual bool validateData();
49 protected:
50 Kopete::Account *m_account;
51 Ui::TestbedAccountPreferences *m_preferencesWidget;
54 #endif