summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/lib/device.h
Unidiff
Diffstat (limited to 'noncore/net/opietooth/lib/device.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/device.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/net/opietooth/lib/device.h b/noncore/net/opietooth/lib/device.h
index 8498b14..c0e2658 100644
--- a/noncore/net/opietooth/lib/device.h
+++ b/noncore/net/opietooth/lib/device.h
@@ -5,13 +5,13 @@
5#include <qobject.h> 5#include <qobject.h>
6#include <qstring.h> 6#include <qstring.h>
7#include <qvaluelist.h> 7#include <qvaluelist.h>
8 8
9#include <sys/types.h> 9#include <sys/types.h>
10 10
11class KProcess; 11class OProcess;
12namespace OpieTooth { 12namespace OpieTooth {
13 /** 13 /**
14 * Device takes care of attaching serial 14 * Device takes care of attaching serial
15 * devices to the blueZ stack. 15 * devices to the blueZ stack.
16 * After attaching it hciconfig ups it 16 * After attaching it hciconfig ups it
17 */ 17 */
@@ -62,22 +62,22 @@ namespace OpieTooth {
62 * Signals devicename and up status 62 * Signals devicename and up status
63 * @return &device QString, Devicename 63 * @return &device QString, Devicename
64 * @return up bool, if the device is up or not. 64 * @return up bool, if the device is up or not.
65 */ 65 */
66 void device(const QString& device, bool up ); 66 void device(const QString& device, bool up );
67 private slots: 67 private slots:
68 virtual void slotExited( KProcess* ); 68 virtual void slotExited( OProcess* );
69 virtual void slotStdOut(KProcess*, char*, int ); 69 virtual void slotStdOut(OProcess*, char*, int );
70 virtual void slotStdErr(KProcess*, char*, int ); 70 virtual void slotStdErr(OProcess*, char*, int );
71 private: 71 private:
72 class Private; 72 class Private;
73 Private *d; 73 Private *d;
74 QString m_device; 74 QString m_device;
75 bool m_attached:1; 75 bool m_attached:1;
76 KProcess* m_hci; 76 OProcess* m_hci;
77 KProcess* m_process; 77 OProcess* m_process;
78 QString m_devId; 78 QString m_devId;
79 QString m_mode; 79 QString m_mode;
80 pid_t pid; 80 pid_t pid;
81 QCString m_output; 81 QCString m_output;
82 }; 82 };
83}; 83};