summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/mainwindowimp.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/mainwindowimp.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindowimp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/mainwindowimp.h b/noncore/settings/networksettings/mainwindowimp.h
index c045fe6..a553f75 100644
--- a/noncore/settings/networksettings/mainwindowimp.h
+++ b/noncore/settings/networksettings/mainwindowimp.h
@@ -6,12 +6,13 @@
6#include <qstringlist.h> 6#include <qstringlist.h>
7 7
8class Module; 8class Module;
9class Interface; 9class Interface;
10class QLibrary; 10class QLibrary;
11class KProcess; 11class KProcess;
12class QCopChannel;
12#ifdef QWS 13#ifdef QWS
13class QLibrary; 14class QLibrary;
14#else 15#else
15class KLibrary; 16class KLibrary;
16class KLibLoader; 17class KLibLoader;
17#define QLibrary KLibrary 18#define QLibrary KLibrary
@@ -22,12 +23,14 @@ class MainWindowImp : public MainWindow {
22 Q_OBJECT 23 Q_OBJECT
23 24
24public: 25public:
25 MainWindowImp(QWidget *parent=0, const char *name=0); 26 MainWindowImp(QWidget *parent=0, const char *name=0);
26 ~MainWindowImp(); 27 ~MainWindowImp();
27 28
29 QCopChannel *channel;
30
28private slots: 31private slots:
29 void getAllInterfaces(); 32 void getAllInterfaces();
30 33
31 void addClicked(); 34 void addClicked();
32 void removeClicked(); 35 void removeClicked();
33 void configureClicked(); 36 void configureClicked();
@@ -37,13 +40,16 @@ private slots:
37 void removeProfile(); 40 void removeProfile();
38 void changeProfile(); 41 void changeProfile();
39 42
40 void updateInterface(Interface *i); 43 void updateInterface(Interface *i);
41 void newProfileChanged(const QString& newText); 44 void newProfileChanged(const QString& newText);
42 45
46 void receive (const QCString &, const QByteArray &);
47
43private: 48private:
49 void makeChannel();
44 void loadModules(const QString &path); 50 void loadModules(const QString &path);
45 51
46 Module* loadPlugin(const QString &pluginFileName, 52 Module* loadPlugin(const QString &pluginFileName,
47 const QString &resolveString = "create_plugin"); 53 const QString &resolveString = "create_plugin");
48 54
49 // For our local list of names 55 // For our local list of names