summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/mainwindow/mainwindowimp.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/mainwindow/mainwindowimp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/mainwindow/mainwindowimp.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/mainwindow/mainwindowimp.h b/noncore/settings/networksettings/mainwindow/mainwindowimp.h
index f211d6e..da1bb8f 100644
--- a/noncore/settings/networksettings/mainwindow/mainwindowimp.h
+++ b/noncore/settings/networksettings/mainwindow/mainwindowimp.h
@@ -18,6 +18,11 @@ class KLibLoader;
#define QLibrary KLibrary
#endif
+namespace Opie {
+namespace Core {
+ class OProcess;
+}
+}
class MainWindowImp : public MainWindow {
Q_OBJECT
@@ -46,12 +51,17 @@ private slots:
void receive (const QCString &, const QByteArray &);
+protected slots:
+ virtual void setHostname();
+ virtual void slotHostname(Opie::Core::OProcess *proc, char *buffer, int buflen);
+
private:
void makeChannel();
void loadModules(const QString &path);
+ void initHostname();
Module* loadPlugin(const QString &pluginFileName,
- const QString &resolveString = "create_plugin");
+ const QString &resolveString = "create_plugin");
// For our local list of names
QMap<QString, Interface*> interfaceNames;
@@ -66,6 +76,7 @@ private:
bool advancedUserMode;
QString scheme;
+ QString _procTemp;
#ifndef QWS
KLibLoader *loader;
#endif