author | harlekin <harlekin> | 2002-07-21 20:02:13 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 20:02:13 (UTC) |
commit | 086b00610edfb25fb25cf54a0f8da8a16b55246a (patch) (unidiff) | |
tree | e16de393854040440ebc5ceeb6cbd48b27aff605 /noncore/net/opietooth/manager/popuphelper.h | |
parent | 8abe7e0604c930cbb46308febeec67d5bf70d255 (diff) | |
download | opie-086b00610edfb25fb25cf54a0f8da8a16b55246a.zip opie-086b00610edfb25fb25cf54a0f8da8a16b55246a.tar.gz opie-086b00610edfb25fb25cf54a0f8da8a16b55246a.tar.bz2 |
connection to popups on services
Diffstat (limited to 'noncore/net/opietooth/manager/popuphelper.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/popuphelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/popuphelper.h b/noncore/net/opietooth/manager/popuphelper.h index 7541ac5..6d4d413 100644 --- a/noncore/net/opietooth/manager/popuphelper.h +++ b/noncore/net/opietooth/manager/popuphelper.h | |||
@@ -9,14 +9,14 @@ | |||
9 | #include <services.h> | 9 | #include <services.h> |
10 | 10 | ||
11 | namespace OpieTooth { | 11 | namespace OpieTooth { |
12 | typedef QPopupMenu* (*popupFactory)(const Services&, QListViewItem*); | 12 | typedef QPopupMenu* (*popupFactory)(const Services&, BTDeviceItem*); |
13 | typedef QMap<int, popupFactory> FactoryMap; | 13 | typedef QMap<int, popupFactory> FactoryMap; |
14 | class PopupHelper { | 14 | class PopupHelper { |
15 | public: | 15 | public: |
16 | PopupHelper(); | 16 | PopupHelper(); |
17 | ~PopupHelper(); | 17 | ~PopupHelper(); |
18 | void insert( int id, popupFactory fact ); | 18 | void insert( int id, popupFactory fact ); |
19 | QPopupMenu* find( int id, const Services&, QListViewItem* ); | 19 | QPopupMenu* find( int id, const Services&, BTDeviceItem* ); |
20 | private: | 20 | private: |
21 | void init(); | 21 | void init(); |
22 | FactoryMap m_map; | 22 | FactoryMap m_map; |