summaryrefslogtreecommitdiff
authorzecke <zecke>2004-11-14 22:21:49 (UTC)
committer zecke <zecke>2004-11-14 22:21:49 (UTC)
commit394b5b2ef56342a905e8a022b3f8ef4085f569ef (patch) (unidiff)
treeda0cacb6e04e43bc3a324e702a67af6f8cd87370
parent1d709cf8ce04b49db03d0e0353f3b7a071dce619 (diff)
downloadopie-394b5b2ef56342a905e8a022b3f8ef4085f569ef.zip
opie-394b5b2ef56342a905e8a022b3f8ef4085f569ef.tar.gz
opie-394b5b2ef56342a905e8a022b3f8ef4085f569ef.tar.bz2
Make Powerchord quicklaunchable
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,4 +1,4 @@
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>
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
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();
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
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 )