author | zecke <zecke> | 2004-11-14 21:58:26 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-14 21:58:26 (UTC) |
commit | 3e23af22643ac0ff3740f37803a94f81d6b15fe1 (patch) (side-by-side diff) | |
tree | 1f08bde3533ac0ea7fc6f5bc470bc910fe6cc172 | |
parent | 7a8f86ed0f1d160e9c2a4794e297ba49fd9ac712 (diff) | |
download | opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.zip opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.gz opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.bz2 |
Make Bartender Quick Launchable
-rw-r--r-- | noncore/apps/opie-bartender/bartender.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/bartender.pro | 4 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/main.cpp | 12 | ||||
-rw-r--r-- | noncore/apps/opie-bartender/opie-bartender.control | 2 |
4 files changed, 6 insertions, 14 deletions
diff --git a/noncore/apps/opie-bartender/bartender.h b/noncore/apps/opie-bartender/bartender.h index df1af76..27362df 100644 --- a/noncore/apps/opie-bartender/bartender.h +++ b/noncore/apps/opie-bartender/bartender.h @@ -34,2 +34,4 @@ public: + static QString appName() { return QString::fromLatin1("bartender"); } + QToolBar* ToolBar1; diff --git a/noncore/apps/opie-bartender/bartender.pro b/noncore/apps/opie-bartender/bartender.pro index 41fc0e5..79a39aa 100644 --- a/noncore/apps/opie-bartender/bartender.pro +++ b/noncore/apps/opie-bartender/bartender.pro @@ -1,3 +1,2 @@ -TEMPLATE = app -CONFIG = qt warn_on +CONFIG = qt quick-app HEADERS = bartender.h newdrinks.h showdrinks.h inputDialog.h searchresults.h bac.h @@ -7,3 +6,2 @@ DEPENDPATH += $(OPIEDIR)/include LIBS += -lqpe -lopiecore2 -DESTDIR = $(OPIEDIR)/bin TARGET = bartender diff --git a/noncore/apps/opie-bartender/main.cpp b/noncore/apps/opie-bartender/main.cpp index eefda7f..593f693 100644 --- a/noncore/apps/opie-bartender/main.cpp +++ b/noncore/apps/opie-bartender/main.cpp @@ -11,13 +11,5 @@ #include <qpe/qpeapplication.h> +#include <opie2/oapplicationfactory.h> -//Bartender *bart; -int main( int argc, char ** argv ) -{ - QPEApplication a( argc, argv ); - - Bartender bart; - a.showMainWidget( &bart ); - - return a.exec(); -} +OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<Bartender> ) diff --git a/noncore/apps/opie-bartender/opie-bartender.control b/noncore/apps/opie-bartender/opie-bartender.control index db30b9c..045c68e 100644 --- a/noncore/apps/opie-bartender/opie-bartender.control +++ b/noncore/apps/opie-bartender/opie-bartender.control @@ -1,2 +1,2 @@ -Files: bin/bartender apps/Applications/bartender.desktop etc/bartender/drinkdb.txt +Files: plugins/applications/libbartender.so* bin/bartender apps/Applications/bartender.desktop etc/bartender/drinkdb.txt Priority: optional |