From e483d88ee4158ba13d8c28b020d0e93b62e86d85 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 03 Jan 2003 21:24:40 +0000 Subject: - these have been renamed to networksettings --- (limited to 'noncore/net/networksetup/interfaces/interfacesetupimp.h') diff --git a/noncore/net/networksetup/interfaces/interfacesetupimp.h b/noncore/net/networksetup/interfaces/interfacesetupimp.h deleted file mode 100644 index 9ec526c..0000000 --- a/noncore/net/networksetup/interfaces/interfacesetupimp.h +++ b/dev/null @@ -1,55 +0,0 @@ -#ifndef INTERFACESETUPIMP_H -#define INTERFACESETUPIMP_H - -#include "interfacesetup.h" -#include "interfaces.h" -#include - -class Interface; - -class InterfaceSetupImp : public InterfaceSetup { - Q_OBJECT - -public: - InterfaceSetupImp( QWidget* parent = 0, const char* name = 0, Interface *i=0, WFlags fl = 0); - bool saveChanges(); - -public slots: - void setProfile(const QString &profile); - bool saveSettings(); - -private: - Interfaces interfaces; - Interface *interface; -}; - - -#include - -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 ); - }; - void setProfile(QString &profile){ interfaceSetup->setProfile(profile);}; - -private: - InterfaceSetupImp *interfaceSetup; - -protected slots: - void accept(){ - if(interfaceSetup->saveChanges()) - QDialog::accept(); - }; - -}; - -#endif - -// interfacesetupimp.h - -- cgit v0.9.0.2