Diffstat (limited to 'noncore/settings/aqpkg/settingsimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/settingsimpl.h | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/noncore/settings/aqpkg/settingsimpl.h b/noncore/settings/aqpkg/settingsimpl.h index 9ffc259..1530ce1 100644 --- a/noncore/settings/aqpkg/settingsimpl.h +++ b/noncore/settings/aqpkg/settingsimpl.h | |||
@@ -1,64 +1,76 @@ | |||
1 | /*************************************************************************** | 1 | /* |
2 | settingsimpl.h - description | 2 | This file is part of the OPIE Project |
3 | ------------------- | 3 | |
4 | begin : Thu Aug 29 2002 | 4 | =. Copyright (c) 2002 Andy Qua <andy.qua@blueyonder.co.uk> |
5 | copyright : (C) 2002 by Andy Qua | 5 | .=l. Dan Williams <drw@handhelds.org> |
6 | email : andy.qua@blueyonder.co.uk | 6 | .>+-= |
7 | ***************************************************************************/ | 7 | _;:, .> :=|. This file is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | ||
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | ||
10 | .="- .-=="i, .._ License as published by the Free Software | ||
11 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
12 | ._= =} : or (at your option) any later version. | ||
13 | .%`+i> _;_. | ||
14 | .i_,=:_. -<s. This file is distributed in the hope that | ||
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
16 | : .. .:, . . . without even the implied warranty of | ||
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | ||
19 | ..}^=.= = ; Public License for more details. | ||
20 | ++= -. .` .: | ||
21 | : = ...= . :.=- You should have received a copy of the GNU | ||
22 | -. .:....=;==+<; General Public License along with this file; | ||
23 | -_. . . )=. = see the file COPYING. If not, write to the | ||
24 | -- :-=` Free Software Foundation, Inc., | ||
25 | 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
8 | 27 | ||
9 | /*************************************************************************** | 28 | */ |
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 | 29 | ||
18 | #include "datamgr.h" | 30 | #include "datamgr.h" |
19 | 31 | ||
20 | #include <qdialog.h> | 32 | #include <qdialog.h> |
21 | 33 | ||
22 | class QCheckBox; | 34 | class QCheckBox; |
23 | class QLineEdit; | 35 | class QLineEdit; |
24 | class QListBox; | 36 | class QListBox; |
25 | 37 | ||
26 | class SettingsImpl : public QDialog | 38 | class SettingsImpl : public QDialog |
27 | { | 39 | { |
28 | Q_OBJECT | 40 | Q_OBJECT |
29 | public: | 41 | public: |
30 | SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 42 | SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
31 | ~SettingsImpl(); | 43 | ~SettingsImpl(); |
32 | 44 | ||
33 | bool showDlg(); | 45 | bool showDlg(); |
34 | 46 | ||
35 | private: | 47 | private: |
36 | QListBox *servers; | 48 | QListBox *servers; |
37 | QLineEdit *servername; | 49 | QLineEdit *servername; |
38 | QLineEdit *serverurl; | 50 | QLineEdit *serverurl; |
39 | QCheckBox *active; | 51 | QCheckBox *active; |
40 | QListBox *destinations; | 52 | QListBox *destinations; |
41 | QLineEdit *destinationname; | 53 | QLineEdit *destinationname; |
42 | QLineEdit *destinationurl; | 54 | QLineEdit *destinationurl; |
43 | QCheckBox *linkToRoot; | 55 | QCheckBox *linkToRoot; |
44 | QLineEdit *txtHttpProxy; | 56 | QLineEdit *txtHttpProxy; |
45 | QCheckBox *chkHttpProxyEnabled; | 57 | QCheckBox *chkHttpProxyEnabled; |
46 | QLineEdit *txtFtpProxy; | 58 | QLineEdit *txtFtpProxy; |
47 | QCheckBox *chkFtpProxyEnabled; | 59 | QCheckBox *chkFtpProxyEnabled; |
48 | QLineEdit *txtUsername; | 60 | QLineEdit *txtUsername; |
49 | QLineEdit *txtPassword; | 61 | QLineEdit *txtPassword; |
50 | 62 | ||
51 | DataManager *dataMgr; | 63 | DataManager *dataMgr; |
52 | QString serverName; | 64 | QString serverName; |
53 | QString destinationName; | 65 | QString destinationName; |
54 | int currentSelectedServer; | 66 | int currentSelectedServer; |
55 | int currentSelectedDestination; | 67 | int currentSelectedDestination; |
56 | bool changed; | 68 | bool changed; |
57 | bool newserver; | 69 | bool newserver; |
58 | bool newdestination; | 70 | bool newdestination; |
59 | 71 | ||
60 | QWidget *initServerTab(); | 72 | QWidget *initServerTab(); |
61 | QWidget *initDestinationTab(); | 73 | QWidget *initDestinationTab(); |
62 | QWidget *initProxyTab(); | 74 | QWidget *initProxyTab(); |
63 | 75 | ||
64 | void setupConnections(); | 76 | void setupConnections(); |