-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 39 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.h | 3 |
2 files changed, 23 insertions, 19 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 7a92dc3..6caca70 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -83,15 +83,8 @@ namespace OpieTooth { | |||
83 | //TESTING | 83 | //TESTING |
84 | |||
85 | ListView2->setRootIsDecorated(true); | 84 | ListView2->setRootIsDecorated(true); |
86 | 85 | ||
87 | QListViewItem *topLV = new QListViewItem( ListView2, "Harlekins Dongle" , "yes"); | ||
88 | topLV->setPixmap( 1, offPix ); | ||
89 | // (void) new QListViewItem( topLV, "on" ); | ||
90 | //(void) new QListViewItem( topLV, "off" ); | ||
91 | |||
92 | QListViewItem *topLV2 = new QListViewItem( ListView2, "Siemens S45" , "no" ); | 86 | QListViewItem *topLV2 = new QListViewItem( ListView2, "Siemens S45" , "no" ); |
93 | topLV2->setPixmap( 1, onPix ); | 87 | topLV2->setPixmap( 1, onPix ); |
94 | (void) new QListViewItem( topLV2, "on" ); | 88 | (void) new QListViewItem( topLV2, "Serial" ); |
95 | (void) new QListViewItem( topLV2, "off" ); | 89 | (void) new QListViewItem( topLV2, "BlueNiC" ); |
96 | |||
97 | } | 90 | } |
@@ -135,3 +128,3 @@ namespace OpieTooth { | |||
135 | 128 | ||
136 | /* | 129 | /** |
137 | * Read the list of allready known devices | 130 | * Read the list of allready known devices |
@@ -152,3 +145,3 @@ namespace OpieTooth { | |||
152 | 145 | ||
153 | /* | 146 | /** |
154 | * Write the list of allready known devices | 147 | * Write the list of allready known devices |
@@ -226,3 +219,3 @@ namespace OpieTooth { | |||
226 | 219 | ||
227 | /* | 220 | /** |
228 | * Add fresh found devices from scan dialog to the listing | 221 | * Add fresh found devices from scan dialog to the listing |
@@ -256,3 +249,3 @@ namespace OpieTooth { | |||
256 | 249 | ||
257 | /* | 250 | /** |
258 | * Action that is toggled on entrys on click | 251 | * Action that is toggled on entrys on click |
@@ -264,3 +257,3 @@ namespace OpieTooth { | |||
264 | 257 | ||
265 | /* | 258 | /** |
266 | * Action that are toggled on hold (mostly QPopups i guess) | 259 | * Action that are toggled on hold (mostly QPopups i guess) |
@@ -272,3 +265,3 @@ namespace OpieTooth { | |||
272 | 265 | ||
273 | /* | 266 | /** |
274 | * Search and display avail. services for a device (on expand from device listing) | 267 | * Search and display avail. services for a device (on expand from device listing) |
@@ -318,6 +311,4 @@ namespace OpieTooth { | |||
318 | for( it2 = servicesList.begin(); it2 != servicesList.end(); ++it2 ) { | 311 | for( it2 = servicesList.begin(); it2 != servicesList.end(); ++it2 ) { |
319 | // it2.serviceName() | ||
320 | serviceItem = new QListViewItem( deviceItem , (*it2).serviceName() ); | 312 | serviceItem = new QListViewItem( deviceItem , (*it2).serviceName() ); |
321 | } | 313 | } |
322 | |||
323 | } | 314 | } |
@@ -325,3 +316,12 @@ namespace OpieTooth { | |||
325 | 316 | ||
326 | /* | 317 | /** |
318 | * Add the existing connections (pairs) to the connections tab. | ||
319 | * | ||
320 | */ | ||
321 | void BlueBase::addConnectedDevices() { | ||
322 | |||
323 | |||
324 | } | ||
325 | |||
326 | /** | ||
327 | * Find out if a device can currently be reached | 327 | * Find out if a device can currently be reached |
@@ -346,2 +346,5 @@ namespace OpieTooth { | |||
346 | 346 | ||
347 | /** | ||
348 | * Set the informations about the local device in information Tab | ||
349 | */ | ||
347 | void BlueBase::setInfo() { | 350 | void BlueBase::setInfo() { |
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h index d20d05c..99d2fa6 100644 --- a/noncore/net/opietooth/manager/bluebase.h +++ b/noncore/net/opietooth/manager/bluebase.h | |||
@@ -67,3 +67,3 @@ namespace OpieTooth { | |||
67 | 67 | ||
68 | public slots: | 68 | private slots: |
69 | void addSearchedDevices( QList<RemoteDevice> &newDevices ); | 69 | void addSearchedDevices( QList<RemoteDevice> &newDevices ); |
@@ -71,2 +71,3 @@ namespace OpieTooth { | |||
71 | void addServicesToDevice( const QString& device, Services::ValueList ); | 71 | void addServicesToDevice( const QString& device, Services::ValueList ); |
72 | void addConnectedDevices(); | ||
72 | void startServiceActionClicked( QListViewItem *item ); | 73 | void startServiceActionClicked( QListViewItem *item ); |