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) (side-by-side diff)
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 @@
* *
***************************************************************************/
-#include "settings.h"
-
#include "datamgr.h"
-class SettingsImpl : public SettingsBase
+#include <qdialog.h>
+
+class QCheckBox;
+class QLineEdit;
+class QListBox;
+
+class SettingsImpl : public QDialog
{
+ Q_OBJECT
public:
SettingsImpl( DataManager *dataManager, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
~SettingsImpl();
- bool showDlg( int i );
+ bool showDlg();
private:
+ QListBox *servers;
+ QLineEdit *servername;
+ QLineEdit *serverurl;
+ QCheckBox *active;
+ QListBox *destinations;
+ QLineEdit *destinationname;
+ QLineEdit *destinationurl;
+ QCheckBox *linkToRoot;
+ QLineEdit *txtHttpProxy;
+ QCheckBox *chkHttpProxyEnabled;
+ QLineEdit *txtFtpProxy;
+ QCheckBox *chkFtpProxyEnabled;
+ QLineEdit *txtUsername;
+ QLineEdit *txtPassword;
+
DataManager *dataMgr;
QString serverName;
QString destinationName;
@@ -37,20 +57,21 @@ private:
bool newserver;
bool newdestination;
+ QWidget *initServerTab();
+ QWidget *initDestinationTab();
+ QWidget *initProxyTab();
+
void setupConnections();
void setupData();
+public slots:
void editServer( int s );
void changeServerDetails();
- void newServer();
- void removeServer();
-
+ void newServer();
+ void removeServer();
void editDestination( int s );
void changeDestinationDetails();
- void newDestination();
- void removeDestination();
-
- void toggleJumpTo( bool val );
-
+ void newDestination();
+ void removeDestination();
void proxyApplyChanges();
};