Diffstat (limited to 'noncore/apps/opie-console/dialer.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/dialer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/dialer.h b/noncore/apps/opie-console/dialer.h index f07f110..20fb3c3 100644 --- a/noncore/apps/opie-console/dialer.h +++ b/noncore/apps/opie-console/dialer.h | |||
@@ -15,19 +15,24 @@ class Dialer : public QDialog | |||
15 | 15 | ||
16 | public slots: | 16 | public slots: |
17 | void slotCancel(); | 17 | void slotCancel(); |
18 | void slotAutostart(); | ||
18 | 19 | ||
19 | private: | 20 | private: |
20 | void switchState(int newstate); | 21 | void switchState(int newstate); |
21 | void reset(); | 22 | void reset(); |
22 | void dial(const QString& number); | 23 | void dial(const QString& number); |
24 | void trydial(const QString& number); | ||
23 | 25 | ||
24 | void send(const QString& msg); | 26 | void send(const QString& msg); |
25 | QString receive(); | 27 | QString receive(); |
26 | 28 | ||
27 | enum States | 29 | enum States |
28 | { | 30 | { |
31 | state_cancel, | ||
32 | state_preinit, | ||
29 | state_init, | 33 | state_init, |
30 | state_options, | 34 | state_options, |
35 | state_dialtone, | ||
31 | state_dialing, | 36 | state_dialing, |
32 | state_online | 37 | state_online |
33 | }; | 38 | }; |
@@ -36,6 +41,8 @@ class Dialer : public QDialog | |||
36 | QProgressBar *progress; | 41 | QProgressBar *progress; |
37 | QPushButton *cancel; | 42 | QPushButton *cancel; |
38 | int state; | 43 | int state; |
44 | int usercancel; | ||
45 | QString m_number; | ||
39 | }; | 46 | }; |
40 | 47 | ||
41 | #endif | 48 | #endif |