author | harlekin <harlekin> | 2002-07-20 23:54:44 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-20 23:54:44 (UTC) |
commit | 76d7938ec6b89aa11f54f9fbdad40bb358b4886a (patch) (unidiff) | |
tree | 0dfa86240e9674cefa489d85ac4841a94d43e175 | |
parent | 594dfd3535846a536cebdb3381f4858239404c49 (diff) | |
download | opie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.zip opie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.tar.gz opie-76d7938ec6b89aa11f54f9fbdad40bb358b4886a.tar.bz2 |
update
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 19 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/popuphelper.cpp | 11 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/stdpopups.cpp | 15 |
3 files changed, 28 insertions, 17 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 | |||
@@ -20,2 +20,7 @@ | |||
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 | ||
@@ -28,3 +33,2 @@ | |||
28 | #include <qvariant.h> | 33 | #include <qvariant.h> |
29 | #include <qwhatsthis.h> | ||
30 | #include <qimage.h> | 34 | #include <qimage.h> |
@@ -42,2 +46,3 @@ | |||
42 | 46 | ||
47 | #include <qpe/qpeapplication.h> | ||
43 | #include <qpe/resource.h> | 48 | #include <qpe/resource.h> |
@@ -45,7 +50,2 @@ | |||
45 | 50 | ||
46 | #include <remotedevice.h> | ||
47 | #include <services.h> | ||
48 | |||
49 | #include "devicehandler.h" | ||
50 | #include "btconnectionitem.h" | ||
51 | 51 | ||
@@ -74,2 +74,7 @@ BlueBase::BlueBase( QWidget* parent, const char* name, WFlags fl ) | |||
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 |
@@ -164,3 +169,2 @@ void BlueBase::writeToHciConfig() { | |||
164 | * Read the list of allready known devices | 169 | * Read the list of allready known devices |
165 | * | ||
166 | */ | 170 | */ |
@@ -178,3 +182,2 @@ void BlueBase::readSavedDevices() { | |||
178 | * Write the list of allready known devices | 182 | * Write the list of allready known devices |
179 | * | ||
180 | */ | 183 | */ |
diff --git a/noncore/net/opietooth/manager/popuphelper.cpp b/noncore/net/opietooth/manager/popuphelper.cpp index 4ef1ed5..ba91e04 100644 --- a/noncore/net/opietooth/manager/popuphelper.cpp +++ b/noncore/net/opietooth/manager/popuphelper.cpp | |||
@@ -10,2 +10,3 @@ PopupHelper::PopupHelper() { | |||
10 | } | 10 | } |
11 | |||
11 | PopupHelper::~PopupHelper() { | 12 | PopupHelper::~PopupHelper() { |
@@ -13,2 +14,3 @@ PopupHelper::~PopupHelper() { | |||
13 | } | 14 | } |
15 | |||
14 | void PopupHelper::insert( int id, popupFactory fact ) { | 16 | void PopupHelper::insert( int id, popupFactory fact ) { |
@@ -16,2 +18,3 @@ void PopupHelper::insert( int id, popupFactory fact ) { | |||
16 | } | 18 | } |
19 | |||
17 | QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item ) { | 20 | QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item ) { |
@@ -22,3 +25,3 @@ QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item | |||
22 | popupFactory fact = it.data(); | 25 | popupFactory fact = it.data(); |
23 | return (*fact)(ser, item); | 26 | return (*fact)(ser, item); |
24 | } | 27 | } |
@@ -26,5 +29,7 @@ QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item | |||
26 | } | 29 | } |
30 | |||
27 | void PopupHelper::init() { | 31 | void PopupHelper::init() { |
28 | insert( 1, newRfcComPopup ); | 32 | insert( 4355, newRfcComPopup ); |
29 | insert(2, newObexPushPopup ); | 33 | insert( 4353, newRfcComPopup ); |
34 | insert( 3, newObexPushPopup ); | ||
30 | } | 35 | } |
diff --git a/noncore/net/opietooth/manager/stdpopups.cpp b/noncore/net/opietooth/manager/stdpopups.cpp index f462368..2290b9a 100644 --- a/noncore/net/opietooth/manager/stdpopups.cpp +++ b/noncore/net/opietooth/manager/stdpopups.cpp | |||
@@ -5,9 +5,12 @@ | |||
5 | 5 | ||
6 | extern "C" { | ||
7 | |||
8 | QPopupMenu* newRfcComPopup( const OpieTooth::Services& servive, QListViewItem* item ) { | ||
9 | // return OpieTooth::RfcComPopup( servive, item ); | ||
10 | return 0l; | ||
11 | } | ||
12 | QPopupMenu* newObexPushPopup( const OpieTooth::Services&, QListViewItem* ) { | ||
13 | return 0l; | ||
14 | } | ||
6 | 15 | ||
7 | QPopupMenu* newRfcComPopup( const OpieTooth::Services& servive, QListViewItem* item ) { | ||
8 | // return OpieTooth::RfcComPopup( servive, item ); | ||
9 | return 0l; | ||
10 | } | ||
11 | QPopupMenu* newObexPushPopup( const OpieTooth::Services&, QListViewItem* ) { | ||
12 | return 0l; | ||
13 | } | 16 | } |