Diffstat (limited to 'noncore/net/opietooth/manager/obexftpopup.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexftpopup.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/obexftpopup.h b/noncore/net/opietooth/manager/obexftpopup.h new file mode 100644 index 0000000..f7acb86 --- a/dev/null +++ b/noncore/net/opietooth/manager/obexftpopup.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* $Id$ */ | ||
2 | /* OBEX file browser popup */ | ||
3 | /*************************************************************************** | ||
4 | * * | ||
5 | * This program is free software; you can redistribute it and/or modify * | ||
6 | * it under the terms of the GNU General Public License as published by * | ||
7 | * the Free Software Foundation; either version 2 of the License, or * | ||
8 | * (at your option) any later version. * | ||
9 | * * | ||
10 | ***************************************************************************/ | ||
11 | #ifndef _OBEXFTPPOPUP_H_ | ||
12 | #define _OBEXFTPPOPUP_H_ | ||
13 | #include <qpopupmenu.h> | ||
14 | #include <qaction.h> | ||
15 | #include <services.h> | ||
16 | #include "btdeviceitem.h" | ||
17 | namespace OpieTooth { | ||
18 | |||
19 | class ObexFtpPopup : public QPopupMenu { | ||
20 | Q_OBJECT | ||
21 | |||
22 | public: | ||
23 | ObexFtpPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem*); | ||
24 | ~ObexFtpPopup(); | ||
25 | private: | ||
26 | QAction* m_push; | ||
27 | QAction* m_browse; | ||
28 | OpieTooth::BTDeviceItem *m_item; | ||
29 | Services m_service; | ||
30 | protected slots: | ||
31 | void slotBrowse(); | ||
32 | void slotPush(); | ||
33 | }; | ||
34 | }; | ||
35 | #endif | ||