summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/obexftpopup.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/obexftpopup.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/obexftpopup.h35
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 @@
+/* $Id$ */
+/* OBEX file browser popup */
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+#ifndef _OBEXFTPPOPUP_H_
+#define _OBEXFTPPOPUP_H_
+#include <qpopupmenu.h>
+#include <qaction.h>
+#include <services.h>
+#include "btdeviceitem.h"
+namespace OpieTooth {
+
+ class ObexFtpPopup : public QPopupMenu {
+ Q_OBJECT
+
+ public:
+ ObexFtpPopup(const OpieTooth::Services&, OpieTooth::BTDeviceItem*);
+ ~ObexFtpPopup();
+ private:
+ QAction* m_push;
+ QAction* m_browse;
+ OpieTooth::BTDeviceItem *m_item;
+ Services m_service;
+ protected slots:
+ void slotBrowse();
+ void slotPush();
+ };
+};
+#endif