3.0
Last change
on this file since 71:415b45c71663 was
71:415b45c71663,
checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
|
- Reorganized all the libraries. libinterfaces and libgateways are removed now and libdatatypes contains now all these files.
|
File size:
703 bytes
|
Line | |
---|
1 | /* |
---|
2 | * iaccountsettingswidget.h |
---|
3 | * |
---|
4 | * Created on: Nov 3, 2009 |
---|
5 | * Author: saemy |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef IACCOUNTSETTINGSWIDGET_H_ |
---|
9 | #define IACCOUNTSETTINGSWIDGET_H_ |
---|
10 | |
---|
11 | #include <QWidget> |
---|
12 | |
---|
13 | #include <iaccount.h> |
---|
14 | |
---|
15 | class IAccountSettingsWidget: public QWidget, public IInterface { |
---|
16 | Q_OBJECT |
---|
17 | Q_INTERFACES(IInterface) |
---|
18 | |
---|
19 | public: |
---|
20 | IAccountSettingsWidget(QWidget* parent = 0) |
---|
21 | : QWidget(parent) |
---|
22 | {}; |
---|
23 | |
---|
24 | virtual bool validate() =0; |
---|
25 | |
---|
26 | virtual void loadFromAccount(IAccount* account) =0; |
---|
27 | virtual void saveToAccount(IAccount* account) =0; |
---|
28 | }; |
---|
29 | Q_DECLARE_INTERFACE(IAccountSettingsWidget, |
---|
30 | "ch.gorrion.smssender.IAccountSettingsWidget/1.0") |
---|
31 | |
---|
32 | #endif /* IACCOUNTSETTINGSWIDGET_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.