author | zecke <zecke> | 2004-11-15 15:49:06 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-15 15:49:06 (UTC) |
commit | 97fb9b69240d0daa5222fa9264587cde8b25c117 (patch) (side-by-side diff) | |
tree | 87580f4ab843d8d80fa822fcfeecca37c1b9021f /noncore/multimedia/tonleiter | |
parent | 4c2680a5cdfaa4ea2bd8881ffeee0f681ba34ead (diff) | |
download | opie-97fb9b69240d0daa5222fa9264587cde8b25c117.zip opie-97fb9b69240d0daa5222fa9264587cde8b25c117.tar.gz opie-97fb9b69240d0daa5222fa9264587cde8b25c117.tar.bz2 |
Make Tonleiter QuickLaunchAble
Diffstat (limited to 'noncore/multimedia/tonleiter') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/main.cpp | 11 | ||||
-rw-r--r-- | noncore/multimedia/tonleiter/mainwidget.h | 2 | ||||
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiter.control | 2 | ||||
-rw-r--r-- | noncore/multimedia/tonleiter/tonleiter.pro | 4 |
4 files changed, 6 insertions, 13 deletions
diff --git a/noncore/multimedia/tonleiter/main.cpp b/noncore/multimedia/tonleiter/main.cpp index 0eaa162..4b6a858 100644 --- a/noncore/multimedia/tonleiter/main.cpp +++ b/noncore/multimedia/tonleiter/main.cpp @@ -8,12 +8,5 @@ #include "mainwidget.h" -#include <qpe/qpeapplication.h> - -int main(int argc, char* argv[]) -{ - QPEApplication a(argc, argv); - MainWidget mw; - a.showMainWidget( &mw); - return a.exec(); -} +#include <opie2/oapplicationfactory.h> +OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<MainWidget> ) diff --git a/noncore/multimedia/tonleiter/mainwidget.h b/noncore/multimedia/tonleiter/mainwidget.h index 5c0a1f8..684b095 100644 --- a/noncore/multimedia/tonleiter/mainwidget.h +++ b/noncore/multimedia/tonleiter/mainwidget.h @@ -20,2 +20,4 @@ public: virtual ~MainWidget(); + static QString appName() { return QString::fromLatin1( QUICKAPP_NAME ); } + private slots: diff --git a/noncore/multimedia/tonleiter/tonleiter.control b/noncore/multimedia/tonleiter/tonleiter.control index de0eee6..6adc1bc 100644 --- a/noncore/multimedia/tonleiter/tonleiter.control +++ b/noncore/multimedia/tonleiter/tonleiter.control @@ -1,3 +1,3 @@ Package: tonleiter -Files: bin/tonleiter pics/tonleiter apps/Applications/tonleiter.desktop +Files: plugins/applications/libtonleiter.so* bin/tonleiter pics/tonleiter apps/Applications/tonleiter.desktop Priority: optional diff --git a/noncore/multimedia/tonleiter/tonleiter.pro b/noncore/multimedia/tonleiter/tonleiter.pro index 4be3bef..f7dfbef 100644 --- a/noncore/multimedia/tonleiter/tonleiter.pro +++ b/noncore/multimedia/tonleiter/tonleiter.pro @@ -1,3 +1,2 @@ -TEMPLATE = app -CONFIG = qt warn_on +CONFIG = qt quick-app HEADERS = mainwidget.h tonleiterdata.h tonleiterdatahelper.h fretboard.h menuwidget.h editinst.h editstringwidget.h editscale.h pianoscale.h @@ -8,3 +7,2 @@ LIBS += -lqpe -lopiecore2 TARGET = tonleiter -DESTDIR = $(OPIEDIR)/bin |