author | benmeyer <benmeyer> | 2002-10-25 19:32:57 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-25 19:32:57 (UTC) |
commit | 9adbe632ec54bf155b9882e4e0b51c293259cdf2 (patch) (side-by-side diff) | |
tree | 5bd90a1d9d0178b157f0b70bc0144b839501271c /noncore/settings/networksettings/interfaces/interfacesetupimp.h | |
parent | a2275295f506dca663b545eda17b4b4dc2e4ad40 (diff) | |
download | opie-9adbe632ec54bf155b9882e4e0b51c293259cdf2.zip opie-9adbe632ec54bf155b9882e4e0b51c293259cdf2.tar.gz opie-9adbe632ec54bf155b9882e4e0b51c293259cdf2.tar.bz2 |
Initial
Diffstat (limited to 'noncore/settings/networksettings/interfaces/interfacesetupimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/interfaces/interfacesetupimp.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/interfaces/interfacesetupimp.h b/noncore/settings/networksettings/interfaces/interfacesetupimp.h new file mode 100644 index 0000000..936f2be --- a/dev/null +++ b/noncore/settings/networksettings/interfaces/interfacesetupimp.h @@ -0,0 +1,49 @@ +#ifndef INTERFACESETUPIMP_H +#define INTERFACESETUPIMP_H + +#include "interfacesetup.h" +#include <qdialog.h> + +class Interface; +class Interfaces; + +class InterfaceSetupImp : public InterfaceSetup { + Q_OBJECT + +public: + InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, WFlags fl = 0); + void saveChanges(); + +public slots: + void setProfile(const QString &profile); + bool saveSettings(); +private: + Interfaces *interfaces; + Interface *interface; + +}; + + +#include <qlayout.h> + +class InterfaceSetupImpDialog : public QDialog { +Q_OBJECT + + public: + InterfaceSetupImpDialog(QWidget* parent = 0, const char* name = 0, Interface *i=0, bool modal = false, WFlags fl = 0) : QDialog(parent, name, modal, fl){ + QVBoxLayout *InterfaceSetupLayout = new QVBoxLayout( this ); + setCaption("Interface Setup"); + interfaceSetup = new InterfaceSetupImp(this, "InterfaceSetup",i,fl); + InterfaceSetupLayout->addWidget( interfaceSetup ); + }; + + InterfaceSetupImp *interfaceSetup; + + protected slots: + void accept(){ interfaceSetup->saveChanges(); }; +}; + +#endif + +// interfacesetupimp.h + |