Diffstat (limited to 'noncore/net/opietooth/manager/popuphelper.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/popuphelper.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 | |||
@@ -9,10 +9,13 @@ PopupHelper::PopupHelper() { | |||
9 | init(); | 9 | init(); |
10 | } | 10 | } |
11 | |||
11 | PopupHelper::~PopupHelper() { | 12 | PopupHelper::~PopupHelper() { |
12 | 13 | ||
13 | } | 14 | } |
15 | |||
14 | void PopupHelper::insert( int id, popupFactory fact ) { | 16 | void PopupHelper::insert( int id, popupFactory fact ) { |
15 | m_map.insert(id, fact ); | 17 | m_map.insert(id, 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 ) { |
18 | //qWarning("find"); | 21 | //qWarning("find"); |
@@ -25,6 +28,8 @@ QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item | |||
25 | return 0l; | 28 | return 0l; |
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 | } |