// // C++ Interface: nettraffix // // Description: // // // Author: Andreas Krumnow <andreas@krumnow.de>, (C) 2006 // // Copyright: See COPYING file that comes with this distribution // // #ifndef NETTRAFFIX_H #define NETTRAFFIX_H #include <QObject> #include <QFile> #include <QPoint> #include <QTextStream> #include <QString> #include <QStringList> class NetTraffix : public QObject { Q_OBJECT public: NetTraffix(QObject *parent = 0); ~NetTraffix(); int receivedBytes() { return bytesRx; } int transmittedBytes() { return bytesTx; } private: int bytesRx, bytesTx; QFile *netTraffic; QPoint RxTx; public slots: void digValues(); signals: void netTraffixBytes( QPoint ); }; #endif