summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/conwindow.h
Side-by-side diff
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 @@
#ifndef _CONWINDOW_H_
#define _CONWINDOW_H_
#include <qtimer.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qdialog.h>
#include <qframe.h>
#include <qevent.h>
#include <qlayout.h>
-//class PPPStats;
+class PPPData;
class ConWindow : public QWidget {
Q_OBJECT
public:
- ConWindow(QWidget *parent, const char *name, QDialog* );
+ ConWindow(PPPData*, QWidget *parent, const char *name, QDialog* );
~ConWindow();
protected:
void closeEvent( QCloseEvent *e );
bool event( QEvent *e );
private slots:
void timeclick();
- void dock();
+// void dock();
public:
void setConnectionSpeed(const QString&);
void startClock();
void stopClock();
- void accounting(bool); // show/ hide accounting info
+// void accounting(bool); // show/ hide accounting info
public slots:
void slotAccounting(QString, QString);
private:
QLabel *info1;
QLabel *info2;
QPushButton *cancelbutton;
QPushButton *statsbutton;
QString prettyPrintVolume(unsigned int);
int minutes;
int seconds;
@@ -73,24 +73,22 @@ private:
QFrame *fline;
QLabel *timelabel1;
QLabel *timelabel2;
QLabel *total_bill, *total_bill_l;
QLabel *session_bill, *session_bill_l;
QString caption_string;
QString time_string2;
QString time_string;
QTimer *clocktimer;
QVBoxLayout *tl1;
QLabel *vollabel;
QLabel *volinfo;
-// PPPStats *stats;
- bool accountingEnabled;
- bool volumeAccountingEnabled;
+ PPPData *_pppdata;
};
#endif