-rw-r--r-- | noncore/multimedia/powerchord/main.cpp | 12 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/opie-powerchord.control | 2 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchord.h | 2 | ||||
-rw-r--r-- | noncore/multimedia/powerchord/powerchord.pro | 4 |
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 @@ | |||
1 | #include "powerchord.h" | 1 | #include "powerchord.h" |
2 | #include <qpe/qpeapplication.h> | 2 | #include <opie2/oapplicationfactory.h> |
3 | 3 | ||
4 | int main( int argc, char ** argv ) | 4 | OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<Powerchord> ) |
5 | { | ||
6 | QPEApplication a( argc, argv ); | ||
7 | |||
8 | PowerchordBase p; | ||
9 | a.showMainWidget( &p ); | ||
10 | |||
11 | return a.exec(); | ||
12 | } | ||
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,4 +1,4 @@ | |||
1 | Files: bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord | 1 | Files: plugins/applications/libpowerchord.so* bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/multimedia | 3 | Section: opie/multimedia |
4 | Maintainer: Camilo Mesias <camilo@mesias.co.uk>, ljp <lpotter@trolltech.com> | 4 | Maintainer: Camilo Mesias <camilo@mesias.co.uk>, ljp <lpotter@trolltech.com> |
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 | |||
@@ -9,6 +9,8 @@ class Powerchord : public PowerchordBase | |||
9 | public: | 9 | public: |
10 | Powerchord( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 10 | Powerchord( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
11 | ~Powerchord(); | 11 | ~Powerchord(); |
12 | |||
13 | static QString appName() { return QString::fromLatin1("powerchord"); } | ||
12 | 14 | ||
13 | private slots: | 15 | private slots: |
14 | void goodBye(); | 16 | void goodBye(); |
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,5 +1,4 @@ | |||
1 | TEMPLATE= app | 1 | CONFIG = qt quick-app |
2 | CONFIG = qt warn_on | ||
3 | 2 | ||
4 | HEADERS = powerchord.h \ | 3 | HEADERS = powerchord.h \ |
5 | fretboard.h \ | 4 | fretboard.h \ |
@@ -19,7 +18,6 @@ SOURCES = main.cpp \ | |||
19 | INCLUDEPATH+= $(OPIEDIR)/include | 18 | INCLUDEPATH+= $(OPIEDIR)/include |
20 | DEPENDPATH+= $(OPIEDIR)/include | 19 | DEPENDPATH+= $(OPIEDIR)/include |
21 | LIBS += -lqpe -lopiecore2 | 20 | LIBS += -lqpe -lopiecore2 |
22 | DESTDIR = $(OPIEDIR)/bin | ||
23 | TARGET = powerchord | 21 | TARGET = powerchord |
24 | 22 | ||
25 | include ( $(OPIEDIR)/include.pro ) | 23 | include ( $(OPIEDIR)/include.pro ) |