From da843f0c0571fd3d67d797c8fa80e2672056af4b Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 06 Jul 2004 18:34:54 +0000 Subject: CLEANUP: make networksettings directory structure packaging-friendly --- (limited to 'noncore/settings/networksettings/mainwindowimp.h') diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h deleted file mode 100644 index f211d6e..0000000 --- a/noncore/settings/networksettings/mainwindowimp.h +++ b/dev/null @@ -1,75 +0,0 @@ -#ifndef MAINWINOWIMP_H -#define MAINWINOWIMP_H - -#include "mainwindow.h" -#include -#include - -class Module; -class Interface; -class QLibrary; -class KProcess; -class QCopChannel; -#ifdef QWS -class QLibrary; -#else -class KLibrary; -class KLibLoader; -#define QLibrary KLibrary -#endif - - -class MainWindowImp : public MainWindow { - Q_OBJECT - -public: - static QString appName() { return QString::fromLatin1("networksettings"); } - MainWindowImp(QWidget *parent=0, const char *name=0, WFlags fl = 0); - ~MainWindowImp(); - - QCopChannel *channel; - -private slots: - void getAllInterfaces(); - - void addClicked(); - void removeClicked(); - void configureClicked(); - void informationClicked(); - - void addProfile(); - void removeProfile(); - void changeProfile(); - - void updateInterface(Interface *i); - void newProfileChanged(const QString& newText); - - void receive (const QCString &, const QByteArray &); - -private: - void makeChannel(); - void loadModules(const QString &path); - - Module* loadPlugin(const QString &pluginFileName, - const QString &resolveString = "create_plugin"); - - // For our local list of names - QMap interfaceNames; - - QMap libraries; - QMap items; - QMap interfaceItems; - QStringList m_handledIfaces; - - QMap threads; - QStringList profiles; - - bool advancedUserMode; - QString scheme; -#ifndef QWS - KLibLoader *loader; -#endif -}; - -#endif // MAINWINOWIMP_H - -- cgit v0.9.0.2