author | zecke <zecke> | 2002-07-13 13:31:50 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-07-13 13:31:50 (UTC) |
commit | 21e275324433ac4902c89997b53cbb042bdca9ab (patch) (side-by-side diff) | |
tree | 3c1aca780dcc3ed36cae580cd69eb25f0b6fc2f3 /noncore/net/opietooth/manager/popuphelper.cpp | |
parent | d7f3722f9b7913731978437085b14cc2cccbfa24 (diff) | |
download | opie-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.cpp | 2 |
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 @@ -12,14 +12,16 @@ PopupHelper::~PopupHelper() { } 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); } return 0l; } void PopupHelper::init() { |