Diffstat (limited to 'noncore/settings/aqpkg/settingsimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/settingsimpl.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/settingsimpl.h b/noncore/settings/aqpkg/settingsimpl.h new file mode 100644 index 0000000..bc231a1 --- a/dev/null +++ b/noncore/settings/aqpkg/settingsimpl.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /*************************************************************************** | ||
2 | settingsimpl.h - description | ||
3 | ------------------- | ||
4 | begin : Thu Aug 29 2002 | ||
5 | copyright : (C) 2002 by Andy Qua | ||
6 | email : andy.qua@blueyonder.co.uk | ||
7 | ***************************************************************************/ | ||
8 | |||
9 | /*************************************************************************** | ||
10 | * * | ||
11 | * This program is free software; you can redistribute it and/or modify * | ||
12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | ||
15 | * * | ||
16 | ***************************************************************************/ | ||
17 | |||
18 | #include "settings.h" | ||
19 | |||
20 | #include "datamgr.h" | ||
21 | |||
22 | class SettingsImpl : public SettingsBase | ||
23 | { | ||
24 | public: | ||
25 | SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
26 | ~SettingsImpl(); | ||
27 | |||
28 | bool showDlg( int i ); | ||
29 | |||
30 | private: | ||
31 | DataManager *dataMgr; | ||
32 | QString serverName; | ||
33 | QString destinationName; | ||
34 | int currentSelectedServer; | ||
35 | int currentSelectedDestination; | ||
36 | bool changed; | ||
37 | bool newserver; | ||
38 | bool newdestination; | ||
39 | |||
40 | void setupConnections(); | ||
41 | void setupData(); | ||
42 | |||
43 | void editServer( int s ); | ||
44 | void changeServerDetails(); | ||
45 | void newServer(); | ||
46 | void removeServer(); | ||
47 | |||
48 | void editDestination( int s ); | ||
49 | void changeDestinationDetails(); | ||
50 | void newDestination(); | ||
51 | void removeDestination(); | ||
52 | }; | ||