diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/pppstatdlg.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/pppstatdlg.h')
-rw-r--r-- | kppp/pppstatdlg.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/kppp/pppstatdlg.h b/kppp/pppstatdlg.h index 32808962..800438ee 100644 --- a/kppp/pppstatdlg.h +++ b/kppp/pppstatdlg.h @@ -26,9 +26,9 @@ #define _PPPSTATSDLG_H_ -#include <qdialog.h> -#include <qevent.h> -#include <qpixmap.h> +#include <tqdialog.h> +#include <tqevent.h> +#include <tqpixmap.h> class QLabel; class QFrame; @@ -42,21 +42,21 @@ const int GRAPH_UPDATE_TIME = 1000; class PPPStats; -class PPPStatsDlg : public QWidget { +class PPPStatsDlg : public TQWidget { Q_OBJECT public: - PPPStatsDlg(QWidget *parent, const char *name,QWidget *main, + PPPStatsDlg(TQWidget *parent, const char *name,TQWidget *main, PPPStats *st); ~PPPStatsDlg(); protected: - void closeEvent( QCloseEvent *e ); - void paintEvent (QPaintEvent *e) ; - bool event( QEvent *e ); + void closeEvent( TQCloseEvent *e ); + void paintEvent (TQPaintEvent *e) ; + bool event( TQEvent *e ); public slots: @@ -76,56 +76,56 @@ private: void paintGraph(); PPPStats *stats; - QLabel *pixmap_l; - QWidget *main; - QPushButton *cancelbutton; - - QLabel *labela1[5]; - QLabel *labela2[5]; - QLabel *labelb1[5]; - QLabel *labelb2[5]; - - QLabel *ip_address_label1; - QLineEdit *ip_address_label2; - QLabel *ip_address_label3; - QLineEdit *ip_address_label4; - - QLabel *modem_pic_label; - QPixmap modem_pixmap; - QPixmap modem_left_pixmap; - QPixmap modem_right_pixmap; - QPixmap modem_both_pixmap; - QPixmap big_modem_both_pixmap; - QPixmap big_modem_left_pixmap; - QPixmap big_modem_right_pixmap; - QPixmap big_modem_none_pixmap; + TQLabel *pixmap_l; + TQWidget *main; + TQPushButton *cancelbutton; + + TQLabel *labela1[5]; + TQLabel *labela2[5]; + TQLabel *labelb1[5]; + TQLabel *labelb2[5]; + + TQLabel *ip_address_label1; + TQLineEdit *ip_address_label2; + TQLabel *ip_address_label3; + TQLineEdit *ip_address_label4; + + TQLabel *modem_pic_label; + TQPixmap modem_pixmap; + TQPixmap modem_left_pixmap; + TQPixmap modem_right_pixmap; + TQPixmap modem_both_pixmap; + TQPixmap big_modem_both_pixmap; + TQPixmap big_modem_left_pixmap; + TQPixmap big_modem_right_pixmap; + TQPixmap big_modem_none_pixmap; int ibytes_last; int obytes_last; bool need_to_paint; - QString ibytes_string; - QString ipackets_string; - QString compressedin_string; - QString uncompressedin_string; - QString errorin_string; - QString obytes_string; + TQString ibytes_string; + TQString ipackets_string; + TQString compressedin_string; + TQString uncompressedin_string; + TQString errorin_string; + TQString obytes_string; QString opackets_string; QString compressed_string; - QString packetsunc_string; - QString packetsoutunc_string; - QGroupBox *box; + TQString packetsunc_string; + TQString packetsoutunc_string; + TQGroupBox *box; // graph widget - QFrame *graph; + TQFrame *graph; int bin[MAX_GRAPH_WIDTH]; int bout[MAX_GRAPH_WIDTH]; int bin_last; int bout_last; int ringIdx; int max; - QTimer *graphTimer; - QColor bg, text, in, out; + TQTimer *graphTimer; + TQColor bg, text, in, out; }; #endif |