Diffstat (limited to 'noncore/net/opietooth/lib/device.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/device.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h index d23f24c..010db40 100644 --- a/noncore/net/opietooth/lib/device.h +++ b/noncore/net/opietooth/lib/device.h | |||
@@ -6,6 +6,9 @@ | |||
6 | #include <qstring.h> | 6 | #include <qstring.h> |
7 | #include <qvaluelist.h> | 7 | #include <qvaluelist.h> |
8 | 8 | ||
9 | #include <sys/types.h> | ||
10 | |||
11 | class KProcess; | ||
9 | namespace OpieTooth { | 12 | namespace OpieTooth { |
10 | /** | 13 | /** |
11 | * Device takes care of attaching serial | 14 | * Device takes care of attaching serial |
@@ -61,6 +64,20 @@ namespace OpieTooth { | |||
61 | * @return up bool, if the device is up or not. | 64 | * @return up bool, if the device is up or not. |
62 | */ | 65 | */ |
63 | void device(const QString& device, bool up ); | 66 | void device(const QString& device, bool up ); |
67 | private slots: | ||
68 | virtual void slotExited( KProcess* ); | ||
69 | virtual void slotStdOut(KProcess*, char*, int ); | ||
70 | virtual void slotStdErr(KProcess*, char*, int ); | ||
71 | private: | ||
72 | class Private; | ||
73 | Private *d; | ||
74 | QString m_device; | ||
75 | bool m_attached:1; | ||
76 | KProcess* m_hci; | ||
77 | KProcess* m_process; | ||
78 | QString m_devId; | ||
79 | QString m_mode; | ||
80 | pid_t pid; | ||
64 | }; | 81 | }; |
65 | }; | 82 | }; |
66 | 83 | ||