Diffstat (limited to 'noncore/multimedia/tonleiter/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/tonleiter/main.cpp | 11 |
1 files changed, 2 insertions, 9 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 @@ -1,19 +1,12 @@ /*************************************************************************** * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #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> ) |