summaryrefslogtreecommitdiffstats
path: root/kppp/pppstatdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/pppstatdlg.h')
-rw-r--r--kppp/pppstatdlg.h86
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