summaryrefslogtreecommitdiff
path: root/noncore/games/fifteen/main.cpp
authorzecke <zecke>2004-02-06 10:33:09 (UTC)
committer zecke <zecke>2004-02-06 10:33:09 (UTC)
commit46ce5afcfbe7be19f4d5ac0fed6886a0759f1a25 (patch) (side-by-side diff)
treeab868f654bd296d693b74c43e166a8403aa9ede4 /noncore/games/fifteen/main.cpp
parent5b2b3a4147742e7053539d3c58a2a552eb830815 (diff)
downloadopie-46ce5afcfbe7be19f4d5ac0fed6886a0759f1a25.zip
opie-46ce5afcfbe7be19f4d5ac0fed6886a0759f1a25.tar.gz
opie-46ce5afcfbe7be19f4d5ac0fed6886a0759f1a25.tar.bz2
Update from Qtopia1.7 (borders on the items)
make it quicklaunchable
Diffstat (limited to 'noncore/games/fifteen/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/fifteen/main.cpp20
1 files changed, 5 insertions, 15 deletions
diff --git a/noncore/games/fifteen/main.cpp b/noncore/games/fifteen/main.cpp
index 4838a36..74a7368 100644
--- a/noncore/games/fifteen/main.cpp
+++ b/noncore/games/fifteen/main.cpp
@@ -1,7 +1,7 @@
/**********************************************************************
-** Copyright (C) 2000 Trolltech AS. All rights reserved.
+** Copyright (C) 2004 Holger Freyther. All rights reserved.
**
-** This file is part of Qtopia Environment.
+** This file is part of Opie Environment.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
@@ -13,21 +13,11 @@
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
-** Contact info@trolltech.com if any conditions of this licensing are
-** not clear to you.
-**
**********************************************************************/
#include "fifteen.h"
-#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
+
+OPIE_EXPORT_APP( OApplicationFactory<FifteenMainWindow> )
-int main( int argc, char ** argv)
-{
- QPEApplication app( argc, argv );
-
- FifteenMainWindow mw;
- mw.setCaption( FifteenMainWindow::tr("Fifteen Pieces") );
- app.showMainWidget( &mw );
- return app.exec();
-}