summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/settingsimpl.h
authordrw <drw>2003-02-04 17:52:14 (UTC)
committer drw <drw>2003-02-04 17:52:14 (UTC)
commit294f0a9b5e5678a6eba1fb77943201fac804049f (patch) (unidiff)
treeb37638264f6bd22bb0894025ea70037294f15c9d /noncore/settings/aqpkg/settingsimpl.h
parent328aeec813c953b260a992afc53a5c9d812e1bcf (diff)
downloadopie-294f0a9b5e5678a6eba1fb77943201fac804049f.zip
opie-294f0a9b5e5678a6eba1fb77943201fac804049f.tar.gz
opie-294f0a9b5e5678a6eba1fb77943201fac804049f.tar.bz2
Updates to configure dialog
Diffstat (limited to 'noncore/settings/aqpkg/settingsimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/settingsimpl.h45
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
@@ -15,19 +15,39 @@
15 * * 15 * *
16 ***************************************************************************/ 16 ***************************************************************************/
17 17
18#include "settings.h"
19
20#include "datamgr.h" 18#include "datamgr.h"
21 19
22class SettingsImpl : public SettingsBase 20#include <qdialog.h>
21
22class QCheckBox;
23class QLineEdit;
24class QListBox;
25
26class SettingsImpl : public QDialog
23{ 27{
28 Q_OBJECT
24public: 29public:
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
30private: 35private:
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;
33 QString destinationName; 53 QString destinationName;
@@ -37,20 +57,21 @@ private:
37 bool newserver; 57 bool newserver;
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
67public 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};