summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/settingsimpl.h
Side-by-side diff
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();
};