summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/popuphelper.cpp
authorzecke <zecke>2002-07-13 13:31:50 (UTC)
committer zecke <zecke>2002-07-13 13:31:50 (UTC)
commit21e275324433ac4902c89997b53cbb042bdca9ab (patch) (side-by-side diff)
tree3c1aca780dcc3ed36cae580cd69eb25f0b6fc2f3 /noncore/net/opietooth/manager/popuphelper.cpp
parentd7f3722f9b7913731978437085b14cc2cccbfa24 (diff)
downloadopie-21e275324433ac4902c89997b53cbb042bdca9ab.zip
opie-21e275324433ac4902c89997b53cbb042bdca9ab.tar.gz
opie-21e275324433ac4902c89997b53cbb042bdca9ab.tar.bz2
Factory code is in place... aye
Now we just need FactoryImpl of OBEX,RfcCom,VoiceGateWay There will be one small adjustment though QListViewItem -> BTDeviceItem
Diffstat (limited to 'noncore/net/opietooth/manager/popuphelper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/popuphelper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/popuphelper.cpp b/noncore/net/opietooth/manager/popuphelper.cpp
index d8404d6..26c4b02 100644
--- a/noncore/net/opietooth/manager/popuphelper.cpp
+++ b/noncore/net/opietooth/manager/popuphelper.cpp
@@ -15,8 +15,10 @@ void PopupHelper::insert( int id, popupFactory fact ) {
m_map.insert(id, fact );
}
QPopupMenu* PopupHelper::find( int id, const Services& ser, QListViewItem* item ) {
+ qWarning("find");
FactoryMap::Iterator it = m_map.find(id );
if ( it != m_map.end() ) {
+ qWarning("found");
popupFactory fact = it.data();
return (*fact)(ser, item);
}