summaryrefslogtreecommitdiff
Unidiff
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 @@
1#include "powerchord.h" 1#include "powerchord.h"
2#include <qpe/qpeapplication.h> 2#include <opie2/oapplicationfactory.h>
3 3
4int main( int argc, char ** argv ) 4OPIE_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,10 +1,10 @@
1Files: bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord 1Files: plugins/applications/libpowerchord.so* bin/powerchord apps/Applications/powerchord.desktop pics/powerchord share/powerchord
2Priority: optional 2Priority: optional
3Section: opie/multimedia 3Section: opie/multimedia
4Maintainer: Camilo Mesias <camilo@mesias.co.uk>, ljp <lpotter@trolltech.com> 4Maintainer: Camilo Mesias <camilo@mesias.co.uk>, ljp <lpotter@trolltech.com>
5Architecture: arm 5Architecture: arm
6Version: 0.0.8 6Version: 0.0.8
7Depends: task-opie-minimal 7Depends: task-opie-minimal
8Description: Guitar Chord generator application 8Description: 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
10 produced illustrating ways to play the chord. 10 produced illustrating ways to play the chord.
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
@@ -1,17 +1,19 @@
1#ifndef POWERCHORD_H 1#ifndef POWERCHORD_H
2#define POWERCHORD_H 2#define POWERCHORD_H
3#include "powerchordbase.h" 3#include "powerchordbase.h"
4 4
5class Powerchord : public PowerchordBase 5class Powerchord : public PowerchordBase
6{ 6{
7 Q_OBJECT 7 Q_OBJECT
8 8
9public: 9public:
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
13private slots: 15private 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,26 +1,24 @@
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
11 SOURCES = main.cpp \ 10 SOURCES = main.cpp \
12 powerchord.cpp \ 11 powerchord.cpp \
13 fretboard.cpp \ 12 fretboard.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
21LIBS += -lqpe -lopiecore2 20LIBS += -lqpe -lopiecore2
22DESTDIR = $(OPIEDIR)/bin
23 TARGET = powerchord 21 TARGET = powerchord
24 22
25include ( $(OPIEDIR)/include.pro ) 23include ( $(OPIEDIR)/include.pro )
26 24