From 294f0a9b5e5678a6eba1fb77943201fac804049f Mon Sep 17 00:00:00 2001 From: drw Date: Tue, 04 Feb 2003 17:52:14 +0000 Subject: Updates to configure dialog --- (limited to 'noncore/settings/aqpkg/settingsimpl.h') 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 + +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(); }; -- cgit v0.9.0.2