-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,9 +1,9 @@ | |||
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> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: 0.0.8 | 6 | Version: 0.0.8 |
7 | Depends: task-opie-minimal | 7 | Depends: task-opie-minimal |
8 | Description: Guitar Chord generator application | 8 | Description: Guitar Chord generator application |
9 | Allows naming of chords using base note and key. Fretboard diagrams are | 9 | Allows naming of chords using base note and key. Fretboard diagrams are |
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 | |||
@@ -4,14 +4,16 @@ | |||
4 | 4 | ||
5 | class Powerchord : public PowerchordBase | 5 | class Powerchord : public PowerchordBase |
6 | { | 6 | { |
7 | Q_OBJECT | 7 | Q_OBJECT |
8 | 8 | ||
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(); |
15 | }; | 17 | }; |
16 | 18 | ||
17 | #endif // POWERCHORD_H | 19 | #endif // POWERCHORD_H |
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,10 +1,9 @@ | |||
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 \ |
6 | chordengine.h \ | 5 | chordengine.h \ |
7 | vumeter.h \ | 6 | vumeter.h \ |
8 | gs.h gt.h \ | 7 | gs.h gt.h \ |
9 | powerchordbase.h | 8 | powerchordbase.h |
10 | 9 | ||
@@ -14,13 +13,12 @@ SOURCES = main.cpp \ | |||
14 | chordengine.cpp \ | 13 | chordengine.cpp \ |
15 | vumeter.cpp \ | 14 | vumeter.cpp \ |
16 | gs.cpp gt.cpp \ | 15 | gs.cpp gt.cpp \ |
17 | powerchordbase.cpp | 16 | powerchordbase.cpp |
18 | 17 | ||
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 ) |
26 | 24 | ||