-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 20 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 2 |
2 files changed, 11 insertions, 11 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 6328b59..7a92dc3 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp | |||
@@ -53,10 +53,10 @@ namespace OpieTooth { | |||
53 | connect( PushButton2, SIGNAL( clicked() ), this, SLOT(startScan() ) ); | 53 | connect( PushButton2, SIGNAL( clicked() ), this, SLOT(startScan() ) ); |
54 | connect( configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges() ) ); | 54 | connect( configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges() ) ); |
55 | connect( ListView2, SIGNAL( expanded ( QListViewItem *item ) ), | 55 | connect( ListView2, SIGNAL( expanded ( QListViewItem* ) ), |
56 | this, SLOT( addServicesToDevice( QListViewItem *item ) ) ); | 56 | this, SLOT( addServicesToDevice( QListViewItem * ) ) ); |
57 | connect( ListView2, SIGNAL( clicked( QListViewItem* )), | 57 | connect( ListView2, SIGNAL( clicked( QListViewItem* )), |
58 | this, SLOT( startServiceActionClicked( QListViewItem *item ) ) ); | 58 | this, SLOT( startServiceActionClicked( QListViewItem* ) ) ); |
59 | connect( localDevice, SIGNAL( foundServices( const QString& device, Services::ValueList ) ), | 59 | connect( localDevice , SIGNAL( foundServices( const QString& , Services::ValueList ) ), |
60 | this, SLOT( addServicesToDevice( const QString& device, Services::ValueList ) ) ); | 60 | this, SLOT( addServicesToDevice( const QString& , Services::ValueList ) ) ); |
61 | 61 | ||
62 | 62 | ||
@@ -64,6 +64,6 @@ namespace OpieTooth { | |||
64 | 64 | ||
65 | 65 | ||
66 | QPixmap offPix = Resource::loadPixmap( "editdelete" ); | 66 | offPix = Resource::loadPixmap( "editdelete" ); |
67 | QPixmap onPix = Resource::loadPixmap( "installed" ); | 67 | onPix = Resource::loadPixmap( "installed" ); |
68 | 68 | ||
69 | QPalette pal = this->palette(); | 69 | QPalette pal = this->palette(); |
@@ -86,10 +86,10 @@ namespace OpieTooth { | |||
86 | 86 | ||
87 | QListViewItem *topLV = new QListViewItem( ListView2, "Harlekins Dongle" , "yes"); | 87 | QListViewItem *topLV = new QListViewItem( ListView2, "Harlekins Dongle" , "yes"); |
88 | topLV->setPixmap( 0, offPix ); | 88 | topLV->setPixmap( 1, offPix ); |
89 | // (void) new QListViewItem( topLV, "on" ); | 89 | // (void) new QListViewItem( topLV, "on" ); |
90 | //(void) new QListViewItem( topLV, "off" ); | 90 | //(void) new QListViewItem( topLV, "off" ); |
91 | 91 | ||
92 | QListViewItem *topLV2 = new QListViewItem( ListView2, "Siemens S45" , "no" ); | 92 | QListViewItem *topLV2 = new QListViewItem( ListView2, "Siemens S45" , "no" ); |
93 | topLV2->setPixmap( 0, onPix ); | 93 | topLV2->setPixmap( 1, onPix ); |
94 | (void) new QListViewItem( topLV2, "on" ); | 94 | (void) new QListViewItem( topLV2, "on" ); |
95 | (void) new QListViewItem( topLV2, "off" ); | 95 | (void) new QListViewItem( topLV2, "off" ); |
@@ -258,5 +258,5 @@ namespace OpieTooth { | |||
258 | * Action that is toggled on entrys on click | 258 | * Action that is toggled on entrys on click |
259 | */ | 259 | */ |
260 | void BlueBase::startServiceActionClicked( QListViewItem * item ) { | 260 | void BlueBase::startServiceActionClicked( QListViewItem *item ) { |
261 | 261 | ||
262 | 262 | ||
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index ec8df82..9520e73 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp | |||
@@ -102,5 +102,5 @@ namespace OpieTooth { | |||
102 | progressStat++; | 102 | progressStat++; |
103 | if (progressStat++ < 20) { | 103 | if (progressStat++ < 20) { |
104 | QTimer::singleShot( 1000, this, SLOT(progressTimer() ) ); | 104 | QTimer::singleShot( 2000, this, SLOT(progressTimer() ) ); |
105 | } | 105 | } |
106 | progress->setProgress(progressStat++); | 106 | progress->setProgress(progressStat++); |