9c29f9eabb
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
35 lines
773 B
C
35 lines
773 B
C
--- 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;
|