From 9965bd5c49ff2f22d640d132ac343fdec97b3fb4 Mon Sep 17 00:00:00 2001 From: benmeyer Date: Mon, 30 Sep 2002 14:26:33 +0000 Subject: Initial commit --- (limited to 'noncore/net/networksetup/mainwindowimp.h') diff --git a/noncore/net/networksetup/mainwindowimp.h b/noncore/net/networksetup/mainwindowimp.h new file mode 100644 index 0000000..95ec2a1 --- a/dev/null +++ b/noncore/net/networksetup/mainwindowimp.h @@ -0,0 +1,53 @@ +#ifndef MAINWINOWIMP_H +#define MAINWINOWIMP_H + +#include "mainwindow.h" +#include "module.h" +#include "interface.h" +#include "kprocess.h" +#include + +class QLibrary; + +class MainWindowImp : public MainWindow { + Q_OBJECT + +public: + MainWindowImp(QWidget *parent=0, const char *name=0); + ~MainWindowImp(); + +private slots: + void addClicked(); + void removeClicked(); + void configureClicked(); + void informationClicked(); + + void jobDone(KProcess *process); + void getInterfaceList(); + + void addProfile(); + void removeProfile(); + + void updateInterface(Interface *i); + +private: + void loadModules(QString path); + + Module* loadPlugin(QString pluginFileName, + QString resolveString = "create_plugin"); + + // For our local list of names + QMap interfaceNames; + + QMap libraries; + QMap modules; + QMap items; + QMap interfaceItems; + + QMap threads; +}; + +#endif + +// mainwindowimp.h + -- cgit v0.9.0.2