Diffstat (limited to 'noncore/net/opietooth/manager/obexpopup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexpopup.cpp | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/noncore/net/opietooth/manager/obexpopup.cpp b/noncore/net/opietooth/manager/obexpopup.cpp index a550648..d147d52 100644 --- a/noncore/net/opietooth/manager/obexpopup.cpp +++ b/noncore/net/opietooth/manager/obexpopup.cpp @@ -1,4 +1,2 @@ -#include <qtimer.h> - #include "obexdialog.h" @@ -6,2 +4,8 @@ +/* OPIE */ +#include <qpe/qpeapplication.h> + +/* QT */ +#include <qtimer.h> + using namespace OpieTooth; @@ -12,3 +16,4 @@ using namespace OpieTooth; ObexPopup::ObexPopup() - : QPopupMenu() { + : QPopupMenu() +{ qWarning("RfcCommPopup c'tor"); @@ -26,7 +31,8 @@ ObexPopup::ObexPopup() -ObexPopup::~ObexPopup() { -} +ObexPopup::~ObexPopup() +{} -void ObexPopup::slotPush() { +void ObexPopup::slotPush() +{ @@ -34,6 +40,4 @@ void ObexPopup::slotPush() { - ObexDialog obexDialog; - obexDialog.showMaximized(); - obexDialog.exec(); + QPEApplication::execDialog( &obexDialog ); } |