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 | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/noncore/apps/opie-console/io_serial.h b/noncore/apps/opie-console/io_serial.h index edceac6..20c1ae1 100644 --- a/noncore/apps/opie-console/io_serial.h +++ b/noncore/apps/opie-console/io_serial.h | |||
@@ -33,21 +33,22 @@ public: | |||
33 | IOSerial(const Profile &); | 33 | IOSerial(const Profile &); |
34 | ~IOSerial(); | 34 | ~IOSerial(); |
35 | 35 | ||
36 | QString identifier() const; | 36 | virtual QString identifier() const; |
37 | QString name() const; | 37 | virtual QString name() const; |
38 | int rawIO()const; | 38 | int rawIO() const; |
39 | void closeRawIO(int fd ); | 39 | void closeRawIO (int fd ); |
40 | QBitArray supports()const; | 40 | virtual QBitArray supports() const; |
41 | bool isConnected(); | 41 | virtual bool isConnected(); |
42 | |||
42 | /*signals: | 43 | /*signals: |
43 | void received(const QByteArray &); | 44 | void received(const QByteArray &); |
44 | void error(int, const QString &); | 45 | void error(int, const QString &); |
45 | */ | 46 | */ |
46 | public slots: | 47 | public slots: |
47 | void send(const QByteArray &); | 48 | virtual void send(const QByteArray &); |
48 | bool open(); | 49 | virtual bool open(); |
49 | void close(); | 50 | virtual void close(); |
50 | void reload(const Profile &); | 51 | virtual void reload(const Profile &); |
51 | protected: | 52 | protected: |
52 | int baud(int baud) const; | 53 | int baud(int baud) const; |
53 | void internDetach(); | 54 | void internDetach(); |