summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/main.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/noncore/net/opietooth/manager/main.cpp b/noncore/net/opietooth/manager/main.cpp
index a86e36d..82aeebd 100644
--- a/noncore/net/opietooth/manager/main.cpp
+++ b/noncore/net/opietooth/manager/main.cpp
@@ -19,20 +19,7 @@
#include "bluebase.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-
-QPEApplication *BluetoothApp;
-
-int main( int argc, char ** argv ) {
- QPEApplication a(argc, argv);
- BluetoothApp=&a;
-
- OpieTooth::BlueBase t;
-
- // t.setCaption( OpieTooth::BlueBase::tr("Bluetooth Manager") );
- a.showMainWidget(&t);
-
- return a.exec();
-}
-
+OPIE_EXPORT_APP( OApplicationFactory<OpieTooth::BlueBase> )