Diffstat (limited to 'noncore/net/opietooth/manager/popuphelper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/popuphelper.cpp | 11 |
1 files changed, 8 insertions, 3 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 @@ -10,2 +10,3 @@ PopupHelper::PopupHelper() { } + PopupHelper::~PopupHelper() { @@ -13,2 +14,3 @@ PopupHelper::~PopupHelper() { } + void PopupHelper::insert( int id, popupFactory fact ) { @@ -16,2 +18,3 @@ void PopupHelper::insert( int id, popupFactory fact ) { } + QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item ) { @@ -22,3 +25,3 @@ QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item popupFactory fact = it.data(); - return (*fact)(ser, item); + return (*fact)(ser, item); } @@ -26,5 +29,7 @@ QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item } + void PopupHelper::init() { - insert( 1, newRfcComPopup ); - insert(2, newObexPushPopup ); + insert( 4355, newRfcComPopup ); + insert( 4353, newRfcComPopup ); + insert( 3, newObexPushPopup ); } |