Diffstat (limited to 'noncore/settings/networksettings/ppp/modeminfo.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/modeminfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/networksettings/ppp/modeminfo.h b/noncore/settings/networksettings/ppp/modeminfo.h index 7aa2cc0..dfcc841 100644 --- a/noncore/settings/networksettings/ppp/modeminfo.h +++ b/noncore/settings/networksettings/ppp/modeminfo.h | |||
@@ -34,19 +34,21 @@ | |||
34 | #include <qlabel.h> | 34 | #include <qlabel.h> |
35 | #include <qevent.h> | 35 | #include <qevent.h> |
36 | #include <qtimer.h> | 36 | #include <qtimer.h> |
37 | //#include <kprogress.h> | 37 | //#include <kprogress.h> |
38 | #include <qprogressbar.h> | 38 | #include <qprogressbar.h> |
39 | 39 | ||
40 | class Modem; | ||
41 | |||
40 | const int NUM_OF_ATI = 8; | 42 | const int NUM_OF_ATI = 8; |
41 | 43 | ||
42 | 44 | ||
43 | class ModemTransfer : public QDialog { | 45 | class ModemTransfer : public QDialog { |
44 | Q_OBJECT | 46 | Q_OBJECT |
45 | public: | 47 | public: |
46 | ModemTransfer(QWidget *parent=0, const char *name=0); | 48 | ModemTransfer(Modem*, QWidget *parent=0, const char *name=0); |
47 | 49 | ||
48 | public slots: | 50 | public slots: |
49 | void init(); | 51 | void init(); |
50 | void readtty(); | 52 | void readtty(); |
51 | void do_script(); | 53 | void do_script(); |
52 | void time_out_slot(); | 54 | void time_out_slot(); |
@@ -57,12 +59,13 @@ private: | |||
57 | void ati_done(); | 59 | void ati_done(); |
58 | 60 | ||
59 | protected: | 61 | protected: |
60 | void closeEvent(QCloseEvent *e); | 62 | void closeEvent(QCloseEvent *e); |
61 | 63 | ||
62 | private: | 64 | private: |
65 | Modem *_modem; | ||
63 | int step; | 66 | int step; |
64 | QString readbuffer; | 67 | QString readbuffer; |
65 | 68 | ||
66 | QPushButton *cancel; | 69 | QPushButton *cancel; |
67 | QProgressBar *progressBar; | 70 | QProgressBar *progressBar; |
68 | QLabel *statusBar; | 71 | QLabel *statusBar; |