Diffstat (limited to 'noncore/net/opietooth/lib/manager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/lib/manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/opietooth/lib/manager.h b/noncore/net/opietooth/lib/manager.h index aba70f7..415ec72 100644 --- a/noncore/net/opietooth/lib/manager.h +++ b/noncore/net/opietooth/lib/manager.h | |||
@@ -44,29 +44,29 @@ Q_OBJECT | |||
44 | /** | 44 | /** |
45 | * Convience functions for setting a new device | 45 | * Convience functions for setting a new device |
46 | */ | 46 | */ |
47 | void setDevice( Device *dev ); | 47 | void setDevice( Device *dev ); |
48 | /** | 48 | /** |
49 | * Wether or not a device is connected. The function | 49 | * Wether or not a device is connected. The function |
50 | * is asynchron | 50 | * is asynchron |
51 | * If device is empty it will take the currently managed | 51 | * If device is empty it will take the currently managed |
52 | * device and see if it's up | 52 | * device and see if it's up |
53 | * for Remote devices it will ping and see. | 53 | * for Remote devices it will ping and see. |
54 | * @param either mac or hciX | 54 | * @param either mac or hciX |
55 | */ | 55 | */ |
56 | void isConnected(const QString& device= QString::null ); | 56 | void isAvailable(const QString& device= QString::null ); |
57 | /** | 57 | /** |
58 | * same as above | 58 | * same as above |
59 | */ | 59 | */ |
60 | void isConnected(Device *dev ); | 60 | void isAvailable(Device *dev ); |
61 | 61 | ||
62 | /** this searchs for devices reachable from the | 62 | /** this searchs for devices reachable from the |
63 | * currently managed device | 63 | * currently managed device |
64 | * or from device if @param device is not empty | 64 | * or from device if @param device is not empty |
65 | */ | 65 | */ |
66 | void searchDevices(const QString& device= QString::null ); | 66 | void searchDevices(const QString& device= QString::null ); |
67 | /** same as above | 67 | /** same as above |
68 | * | 68 | * |
69 | */ | 69 | */ |
70 | void searchDevices(Device *d ); | 70 | void searchDevices(Device *d ); |
71 | 71 | ||
72 | /** | 72 | /** |
@@ -96,25 +96,25 @@ Q_OBJECT | |||
96 | */ | 96 | */ |
97 | void searchServices( const QString& remDevice ); | 97 | void searchServices( const QString& remDevice ); |
98 | /** | 98 | /** |
99 | * search for services on a remote device | 99 | * search for services on a remote device |
100 | */ | 100 | */ |
101 | void searchServices( const RemoteDevice& ); | 101 | void searchServices( const RemoteDevice& ); |
102 | /*static*/ QString toDevice( const QString& mac ); | 102 | /*static*/ QString toDevice( const QString& mac ); |
103 | /*static*/ QString toMac( const QString &device ); | 103 | /*static*/ QString toMac( const QString &device ); |
104 | 104 | ||
105 | signals: | 105 | signals: |
106 | // device either mac or dev name | 106 | // device either mac or dev name |
107 | // the first device is the device which you access | 107 | // the first device is the device which you access |
108 | void connected( const QString& device, bool connected ); | 108 | void available( const QString& device, bool connected ); |
109 | void addedService( const QString& service, bool added ); | 109 | void addedService( const QString& service, bool added ); |
110 | void removedService( const QString& service, bool removed ); | 110 | void removedService( const QString& service, bool removed ); |
111 | void foundServices( const QString& device, Services::ValueList ); | 111 | void foundServices( const QString& device, Services::ValueList ); |
112 | void foundDevices( const QString& device, RemoteDevice::ValueList ); | 112 | void foundDevices( const QString& device, RemoteDevice::ValueList ); |
113 | 113 | ||
114 | private slots: | 114 | private slots: |
115 | void slotProcessExited(OProcess* ); | 115 | void slotProcessExited(OProcess* ); |
116 | void slotSDPExited(OProcess*); | 116 | void slotSDPExited(OProcess*); |
117 | void slotSDPOut(OProcess*, char*, int); | 117 | void slotSDPOut(OProcess*, char*, int); |
118 | void slotHCIExited(OProcess* ); | 118 | void slotHCIExited(OProcess* ); |
119 | void slotHCIOut(OProcess*, char*, int ); | 119 | void slotHCIOut(OProcess*, char*, int ); |
120 | private: | 120 | private: |