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 *************************************************************************
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 TESTBEDEDITACCOUNTWIDGET_H
18 #define TESTBEDEDITACCOUNTWIDGET_H
22 #include <QVBoxLayout>
23 #include <editaccountwidget.h>
26 namespace Kopete
{ class Account
; }
27 namespace Ui
{ class TestbedAccountPreferences
; }
30 * A widget for editing this protocol's accounts
31 * @author Will Stephenson
33 class TestbedEditAccountWidget
: public QWidget
, public KopeteEditAccountWidget
37 TestbedEditAccountWidget( QWidget
* parent
, Kopete::Account
* account
);
39 ~TestbedEditAccountWidget();
42 * Make an account out of the entered data
44 virtual Kopete::Account
* apply();
46 * Is the data correct?
48 virtual bool validateData();
50 Kopete::Account
*m_account
;
51 Ui::TestbedAccountPreferences
*m_preferencesWidget
;