summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/conwindow.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings/ppp/conwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/conwindow.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/noncore/settings/networksettings/ppp/conwindow.h b/noncore/settings/networksettings/ppp/conwindow.h
index 20d3579..42c6f35 100644
--- a/noncore/settings/networksettings/ppp/conwindow.h
+++ b/noncore/settings/networksettings/ppp/conwindow.h
@@ -25,46 +25,46 @@
25#ifndef _CONWINDOW_H_ 25#ifndef _CONWINDOW_H_
26#define _CONWINDOW_H_ 26#define _CONWINDOW_H_
27 27
28 28
29#include <qtimer.h> 29#include <qtimer.h>
30#include <qpushbutton.h> 30#include <qpushbutton.h>
31#include <qlabel.h> 31#include <qlabel.h>
32#include <qdialog.h> 32#include <qdialog.h>
33#include <qframe.h> 33#include <qframe.h>
34#include <qevent.h> 34#include <qevent.h>
35#include <qlayout.h> 35#include <qlayout.h>
36 36
37//class PPPStats; 37class PPPData;
38 38
39class ConWindow : public QWidget { 39class ConWindow : public QWidget {
40Q_OBJECT 40Q_OBJECT
41 41
42public: 42public:
43 ConWindow(QWidget *parent, const char *name, QDialog* ); 43 ConWindow(PPPData*, QWidget *parent, const char *name, QDialog* );
44 ~ConWindow(); 44 ~ConWindow();
45 45
46protected: 46protected:
47 void closeEvent( QCloseEvent *e ); 47 void closeEvent( QCloseEvent *e );
48 bool event( QEvent *e ); 48 bool event( QEvent *e );
49 49
50private slots: 50private slots:
51 void timeclick(); 51 void timeclick();
52 void dock(); 52// void dock();
53 53
54public: 54public:
55 void setConnectionSpeed(const QString&); 55 void setConnectionSpeed(const QString&);
56 void startClock(); 56 void startClock();
57 void stopClock(); 57 void stopClock();
58 void accounting(bool); // show/ hide accounting info 58// void accounting(bool); // show/ hide accounting info
59 59
60public slots: 60public slots:
61 void slotAccounting(QString, QString); 61 void slotAccounting(QString, QString);
62 62
63private: 63private:
64 QLabel *info1; 64 QLabel *info1;
65 QLabel *info2; 65 QLabel *info2;
66 QPushButton *cancelbutton; 66 QPushButton *cancelbutton;
67 QPushButton *statsbutton; 67 QPushButton *statsbutton;
68 QString prettyPrintVolume(unsigned int); 68 QString prettyPrintVolume(unsigned int);
69 int minutes; 69 int minutes;
70 int seconds; 70 int seconds;
@@ -73,24 +73,22 @@ private:
73 QFrame *fline; 73 QFrame *fline;
74 QLabel *timelabel1; 74 QLabel *timelabel1;
75 QLabel *timelabel2; 75 QLabel *timelabel2;
76 QLabel *total_bill, *total_bill_l; 76 QLabel *total_bill, *total_bill_l;
77 QLabel *session_bill, *session_bill_l; 77 QLabel *session_bill, *session_bill_l;
78 QString caption_string; 78 QString caption_string;
79 QString time_string2; 79 QString time_string2;
80 QString time_string; 80 QString time_string;
81 QTimer *clocktimer; 81 QTimer *clocktimer;
82 QVBoxLayout *tl1; 82 QVBoxLayout *tl1;
83 QLabel *vollabel; 83 QLabel *vollabel;
84 QLabel *volinfo; 84 QLabel *volinfo;
85// PPPStats *stats; 85 PPPData *_pppdata;
86 bool accountingEnabled;
87 bool volumeAccountingEnabled;
88}; 86};
89 87
90 88
91#endif 89#endif
92 90
93 91
94 92
95 93
96 94