summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/obexpopup.cpp
authorharlekin <harlekin>2002-07-21 21:52:18 (UTC)
committer harlekin <harlekin>2002-07-21 21:52:18 (UTC)
commit536f6562d6f12210527814afbcd05a02d05afe83 (patch) (side-by-side diff)
tree369a7a22a8d6d30fb61d32d913b7b1a47e43d963 /noncore/net/opietooth/manager/obexpopup.cpp
parent14ebec617bad2eb46173c09566c335ec6548b334 (diff)
downloadopie-536f6562d6f12210527814afbcd05a02d05afe83.zip
opie-536f6562d6f12210527814afbcd05a02d05afe83.tar.gz
opie-536f6562d6f12210527814afbcd05a02d05afe83.tar.bz2
the obex service popup handler
Diffstat (limited to 'noncore/net/opietooth/manager/obexpopup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/obexpopup.cpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/obexpopup.cpp b/noncore/net/opietooth/manager/obexpopup.cpp
new file mode 100644
index 0000000..a550648
--- a/dev/null
+++ b/noncore/net/opietooth/manager/obexpopup.cpp
@@ -0,0 +1,41 @@
+
+#include <qtimer.h>
+
+#include "obexdialog.h"
+#include "obexpopup.h"
+
+using namespace OpieTooth;
+
+/*
+ * c'tor init the QAction
+ */
+ObexPopup::ObexPopup()
+ : QPopupMenu() {
+ qWarning("RfcCommPopup c'tor");
+
+ QAction* a;
+
+ /* connect action */
+ a = new QAction( ); // so it's get deleted
+ a->setText("Push file");
+ a->addTo( this );
+ connect( a, SIGNAL( activated() ),
+ this, SLOT( slotPush() ) );
+};
+
+
+ObexPopup::~ObexPopup() {
+}
+
+
+void ObexPopup::slotPush() {
+
+ qWarning("push something");
+
+
+ ObexDialog obexDialog;
+ obexDialog.showMaximized();
+ obexDialog.exec();
+}
+
+