summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.cpp
authorharlekin <harlekin>2002-07-20 23:54:44 (UTC)
committer harlekin <harlekin>2002-07-20 23:54:44 (UTC)
commit76d7938ec6b89aa11f54f9fbdad40bb358b4886a (patch) (unidiff)
tree0dfa86240e9674cefa489d85ac4841a94d43e175 /noncore/net/opietooth/manager/bluebase.cpp
parent594dfd3535846a536cebdb3381f4858239404c49 (diff)
downloadopie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.zip
opie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.tar.gz
opie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.tar.bz2
update
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index af64663..c81d4d1 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -18,6 +18,11 @@
18#include "bluebase.h" 18#include "bluebase.h"
19#include "scandialog.h" 19#include "scandialog.h"
20#include "hciconfwrapper.h" 20#include "hciconfwrapper.h"
21#include "devicehandler.h"
22#include "btconnectionitem.h"
23
24#include <remotedevice.h>
25#include <services.h>
21 26
22#include <stdlib.h> 27#include <stdlib.h>
23 28
@@ -26,7 +31,6 @@
26#include <qpushbutton.h> 31#include <qpushbutton.h>
27#include <qlayout.h> 32#include <qlayout.h>
28#include <qvariant.h> 33#include <qvariant.h>
29#include <qwhatsthis.h>
30#include <qimage.h> 34#include <qimage.h>
31#include <qpixmap.h> 35#include <qpixmap.h>
32#include <qtabwidget.h> 36#include <qtabwidget.h>
@@ -40,14 +44,10 @@
40#include <qpopupmenu.h> 44#include <qpopupmenu.h>
41#include <qtimer.h> 45#include <qtimer.h>
42 46
47#include <qpe/qpeapplication.h>
43#include <qpe/resource.h> 48#include <qpe/resource.h>
44#include <qpe/config.h> 49#include <qpe/config.h>
45 50
46#include <remotedevice.h>
47#include <services.h>
48
49#include "devicehandler.h"
50#include "btconnectionitem.h"
51 51
52using namespace OpieTooth; 52using namespace OpieTooth;
53 53
@@ -72,6 +72,11 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl )
72 connect( m_localDevice, SIGNAL( connections( ConnectionState::ValueList ) ), 72 connect( m_localDevice, SIGNAL( connections( ConnectionState::ValueList ) ),
73 this, SLOT( addConnectedDevices( ConnectionState::ValueList ) ) ); 73 this, SLOT( addConnectedDevices( ConnectionState::ValueList ) ) );
74 74
75
76 // let hold be rightButtonClicked()
77 QPEApplication::setStylusOperation( ListView2->viewport(), QPEApplication::RightOnHold);
78 QPEApplication::setStylusOperation( ListView4->viewport(), QPEApplication::RightOnHold);
79
75 //Load all icons needed 80 //Load all icons needed
76 m_offPix = Resource::loadPixmap( "editdelete" ); 81 m_offPix = Resource::loadPixmap( "editdelete" );
77 m_onPix = Resource::loadPixmap( "installed" ); 82 m_onPix = Resource::loadPixmap( "installed" );
@@ -162,7 +167,6 @@ void BlueBase::writeToHciConfig() {
162 167
163/** 168/**
164 * Read the list of allready known devices 169 * Read the list of allready known devices
165 *
166 */ 170 */
167void BlueBase::readSavedDevices() { 171void BlueBase::readSavedDevices() {
168 172
@@ -176,7 +180,6 @@ void BlueBase::readSavedDevices() {
176 180
177/** 181/**
178 * Write the list of allready known devices 182 * Write the list of allready known devices
179 *
180 */ 183 */
181void BlueBase::writeSavedDevices() { 184void BlueBase::writeSavedDevices() {
182 QListViewItemIterator it( ListView2 ); 185 QListViewItemIterator it( ListView2 );