Diffstat (limited to 'noncore/apps/opie-console/io_serial.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/io_serial.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/io_serial.h b/noncore/apps/opie-console/io_serial.h index 1d34411..521dac6 100644 --- a/noncore/apps/opie-console/io_serial.h +++ b/noncore/apps/opie-console/io_serial.h | |||
@@ -26,28 +26,28 @@ public: | |||
26 | }; | 26 | }; |
27 | 27 | ||
28 | enum Flow { | 28 | enum Flow { |
29 | FlowHW = 0x01, | 29 | FlowHW = 0x01, |
30 | FlowSW = 0x02 | 30 | FlowSW = 0x02 |
31 | }; | 31 | }; |
32 | 32 | ||
33 | IOSerial(const Config &); | 33 | IOSerial(const Profile &); |
34 | ~IOSerial(); | 34 | ~IOSerial(); |
35 | 35 | ||
36 | QString identifier() const; | 36 | QString identifier() const; |
37 | QString name() const; | 37 | QString name() const; |
38 | signals: | 38 | signals: |
39 | void received(const QByteArray &); | 39 | void received(const QByteArray &); |
40 | void error(int, const QString &); | 40 | void error(int, const QString &); |
41 | public slots: | 41 | public slots: |
42 | void send(const QByteArray &); | 42 | void send(const QByteArray &); |
43 | bool open(); | 43 | bool open(); |
44 | void close(); | 44 | void close(); |
45 | void reload(const Config &); | 45 | void reload(const Profile &); |
46 | protected: | 46 | protected: |
47 | int getBaud(int baud) const; | 47 | int baud(int baud) const; |
48 | protected slots: | 48 | protected slots: |
49 | void dataArrived(); | 49 | void dataArrived(); |
50 | void errorOccured(); | 50 | void errorOccured(); |
51 | protected: | 51 | protected: |
52 | QSocketNotifier *m_read; | 52 | QSocketNotifier *m_read; |
53 | QSocketNotifier *m_error; | 53 | QSocketNotifier *m_error; |