summaryrefslogtreecommitdiff
path: root/net/knemo/files/patch-knemod-data.h
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2005-01-22 01:39:05 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2005-01-22 01:39:05 +0000
commit9c29f9eabbe0fd2bb8bbcba4b1ad7cbc099e4425 (patch)
treebb7bbe3a431fe7b2c4d4e1b2ea420285023c6d33 /net/knemo/files/patch-knemod-data.h
parentDisable H.264 encoder support unless WITH_H264 is defined (diff)
Add knemo 0.3.1, a network monitor for KDE.
KNemo offers a network monitor similar to the one found in Windows. For every network interface it displays an icon in the systray. http://www.kde-apps.org/content/show.php?content=12956 Note: There are two extensions to the original KNemo: 1. Multiple IPs on devices are supported 2. The semantics of not available devices were changed from: "device is not up" to: "device is not up" or "device is up but has no carrier/is not associated" which mimics the behaviour of the Windows counterpart more closely Bugs: The stats page for wireless specific statistics doesn't work, yet
Diffstat (limited to 'net/knemo/files/patch-knemod-data.h')
-rw-r--r--net/knemo/files/patch-knemod-data.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/knemo/files/patch-knemod-data.h b/net/knemo/files/patch-knemod-data.h
new file mode 100644
index 000000000000..c45f8b191029
--- /dev/null
+++ b/net/knemo/files/patch-knemod-data.h
@@ -0,0 +1,35 @@
+--- knemod/data.h.orig Sat Jan 22 00:10:05 2005
++++ knemod/data.h Fri Jan 21 17:38:50 2005
+@@ -22,6 +22,7 @@
+
+ #include <qpair.h>
+ #include <qcolor.h>
++#include <qdict.h>
+ #include <qstring.h>
+ #include <qvaluevector.h>
+
+@@ -41,6 +42,11 @@
+ int toolTipContent;
+ };
+
++struct AddrData {
++ QString subnetMask;
++ QString broadcastAddress;
++};
++
+ struct InterfaceData
+ {
+ InterfaceData::InterfaceData()
+@@ -64,11 +70,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;