summaryrefslogtreecommitdiff
path: root/net/knemo-kde4/files/patch-knemod-global.h
blob: b20cda0a6a99b6d192a5283805290e8d79fd6c03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- src/knemod/global.h.orig	Sat Apr  1 21:44:22 2006
+++ src/knemod/global.h	Sun Apr  2 21:33:36 2006
@@ -22,6 +22,7 @@
 
 #include <qpair.h>
 #include <qcolor.h>
+#include <qdict.h>
 #include <qstring.h>
 
 /**
@@ -36,6 +37,11 @@
     int toolTipContent;
 };
 
+struct AddrData {
+    QString subnetMask;
+    QString broadcastAddress;
+};
+    
 struct InterfaceData
 {
     InterfaceData()
@@ -59,11 +65,9 @@
     unsigned long prevTxBytes;
     unsigned long incomingBytes;
     unsigned long outgoingBytes;
-    QString ipAddress;
-    QString subnetMask;
+    QDict<AddrData> addrData;
     QString hwAddress;
     QString ptpAddress;
-    QString broadcastAddress;
     QString defaultGateway;
     QString rxString;
     QString txString;