summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/powerchord/main.cpp12
-rw-r--r--noncore/multimedia/powerchord/opie-powerchord.control2
-rw-r--r--noncore/multimedia/powerchord/powerchord.h2
-rw-r--r--noncore/multimedia/powerchord/powerchord.pro4
4 files changed, 6 insertions, 14 deletions
diff --git a/noncore/multimedia/powerchord/main.cpp b/noncore/multimedia/powerchord/main.cpp
index 7fca87c..91afad7 100644
--- a/noncore/multimedia/powerchord/main.cpp
+++ b/noncore/multimedia/powerchord/main.cpp
@@ -1,12 +1,4 @@
#include "powerchord.h"
-#include <qpe/qpeapplication.h>
+#include <opie2/oapplicationfactory.h>
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
-
- PowerchordBase p;
- a.showMainWidget( &p );
-
- return a.exec();
-}
+OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<Powerchord> )
diff --git a/noncore/multimedia/powerchord/opie-powerchord.control b/noncore/multimedia/powerchord/opie-powerchord.control
index 13aff53..39d926b 100644
--- a/noncore/multimedia/powerchord/opie-powerchord.control
+++ b/noncore/multimedia/powerchord/opie-powerchord.control
@@ -1,2 +1,2 @@
-Files: bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord
+Files: plugins/applications/libpowerchord.so* bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord
Priority: optional
diff --git a/noncore/multimedia/powerchord/powerchord.h b/noncore/multimedia/powerchord/powerchord.h
index 0793fd2..b737834 100644
--- a/noncore/multimedia/powerchord/powerchord.h
+++ b/noncore/multimedia/powerchord/powerchord.h
@@ -11,2 +11,4 @@ public:
~Powerchord();
+
+ static QString appName() { return QString::fromLatin1("powerchord"); }
diff --git a/noncore/multimedia/powerchord/powerchord.pro b/noncore/multimedia/powerchord/powerchord.pro
index f7af6d6..aa80991 100644
--- a/noncore/multimedia/powerchord/powerchord.pro
+++ b/noncore/multimedia/powerchord/powerchord.pro
@@ -1,3 +1,2 @@
-TEMPLATE = app
-CONFIG = qt warn_on
+CONFIG = qt quick-app
@@ -21,3 +20,2 @@ DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopiecore2
-DESTDIR = $(OPIEDIR)/bin
TARGET = powerchord