Diffstat (limited to 'noncore/settings/aqpkg/settingsimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/settingsimpl.h | 45 |
1 files changed, 33 insertions, 12 deletions
diff --git a/noncore/settings/aqpkg/settingsimpl.h b/noncore/settings/aqpkg/settingsimpl.h index bb027dc..9ffc259 100644 --- a/noncore/settings/aqpkg/settingsimpl.h +++ b/noncore/settings/aqpkg/settingsimpl.h | |||
@@ -16,17 +16,37 @@ | |||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include "settings.h" | ||
19 | |||
20 | #include "datamgr.h" | 18 | #include "datamgr.h" |
21 | 19 | ||
22 | class SettingsImpl : public SettingsBase | 20 | #include <qdialog.h> |
21 | |||
22 | class QCheckBox; | ||
23 | class QLineEdit; | ||
24 | class QListBox; | ||
25 | |||
26 | class SettingsImpl : public QDialog | ||
23 | { | 27 | { |
28 | Q_OBJECT | ||
24 | public: | 29 | public: |
25 | SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 30 | SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
26 | ~SettingsImpl(); | 31 | ~SettingsImpl(); |
27 | 32 | ||
28 | bool showDlg( int i ); | 33 | bool showDlg(); |
29 | 34 | ||
30 | private: | 35 | private: |
36 | QListBox *servers; | ||
37 | QLineEdit *servername; | ||
38 | QLineEdit *serverurl; | ||
39 | QCheckBox *active; | ||
40 | QListBox *destinations; | ||
41 | QLineEdit *destinationname; | ||
42 | QLineEdit *destinationurl; | ||
43 | QCheckBox *linkToRoot; | ||
44 | QLineEdit *txtHttpProxy; | ||
45 | QCheckBox *chkHttpProxyEnabled; | ||
46 | QLineEdit *txtFtpProxy; | ||
47 | QCheckBox *chkFtpProxyEnabled; | ||
48 | QLineEdit *txtUsername; | ||
49 | QLineEdit *txtPassword; | ||
50 | |||
31 | DataManager *dataMgr; | 51 | DataManager *dataMgr; |
32 | QString serverName; | 52 | QString serverName; |
@@ -38,19 +58,20 @@ private: | |||
38 | bool newdestination; | 58 | bool newdestination; |
39 | 59 | ||
60 | QWidget *initServerTab(); | ||
61 | QWidget *initDestinationTab(); | ||
62 | QWidget *initProxyTab(); | ||
63 | |||
40 | void setupConnections(); | 64 | void setupConnections(); |
41 | void setupData(); | 65 | void setupData(); |
42 | 66 | ||
67 | public slots: | ||
43 | void editServer( int s ); | 68 | void editServer( int s ); |
44 | void changeServerDetails(); | 69 | void changeServerDetails(); |
45 | void newServer(); | 70 | void newServer(); |
46 | void removeServer(); | 71 | void removeServer(); |
47 | |||
48 | void editDestination( int s ); | 72 | void editDestination( int s ); |
49 | void changeDestinationDetails(); | 73 | void changeDestinationDetails(); |
50 | void newDestination(); | 74 | void newDestination(); |
51 | void removeDestination(); | 75 | void removeDestination(); |
52 | |||
53 | void toggleJumpTo( bool val ); | ||
54 | |||
55 | void proxyApplyChanges(); | 76 | void proxyApplyChanges(); |
56 | }; | 77 | }; |