summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/networksettings2/system.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/system.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings2/system.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/system.h b/noncore/settings/networksettings2/networksettings2/system.h
index 96ee9bd..33af391 100644
--- a/noncore/settings/networksettings2/networksettings2/system.h
+++ b/noncore/settings/networksettings2/networksettings2/system.h
@@ -4,6 +4,8 @@
// for hardware types
#include <net/if_arp.h>
#include <qdict.h>
+#include <qobject.h>
+#include <stdio.h>
class ANetNodeInstance;
class QFile;
@@ -47,7 +49,9 @@ public :
QString Collisions;
};
-class System {
+class System : public QObject {
+
+ Q_OBJECT
public :
@@ -71,9 +75,14 @@ public :
// reloads interfaces
void probeInterfaces( void );
+signals :
+
+ void lineFromCommand( const QString & S );
+
private :
QDict<InterfaceInfo> ProbedInterfaces;
+ FILE * OutputOfCmd;
QFile * ProcDevNet;
};