main.cpp

Sat, 09 Jul 2011 19:14:03 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 09 Jul 2011 19:14:03 +0200
changeset 8
6fe6d3548766
permissions
-rw-r--r--

Remember changed logic in release and refine requirements and design.

michael@0 1 //
michael@0 2 // Schachuhr - Chess clock graphical user interface client
michael@0 3 // Copyright © 2011 Michael Schloh von Bennewitz <michael@schloh.com>
michael@0 4 //
michael@0 5 // Schachuhr is free software: you can redistribute it and/or modify
michael@0 6 // it under the terms of the GNU General Public License as published
michael@0 7 // by the Free Software Foundation, either version 3 of the License,
michael@0 8 // or (at your option) any later version.
michael@0 9 //
michael@0 10 // Schachuhr is distributed in the hope that it will be useful,
michael@0 11 // but WITHOUT ANY WARRANTY; without even the implied warranty
michael@0 12 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
michael@0 13 // the GNU General Public License for more details.
michael@0 14 //
michael@0 15 // You should have received a copy of the GNU General Public License
michael@0 16 // along with Schachuhr. If not, see <http://www.gnu.org/licenses/>.
michael@0 17 //
michael@0 18 // This file is part of project Schachuhr, a chess clock graphical
michael@0 19 // user interface client and is found at http://schachuhr.europalab.com/
michael@0 20 //
michael@0 21 // main.cpp: ISO C++ implementation
michael@0 22 //
michael@0 23
michael@0 24 #include <QtGui/QApplication>
michael@0 25 #include "qmlapplicationviewer.h"
michael@0 26
michael@0 27 int main(int argc, char *argv[])
michael@0 28 {
michael@0 29 QApplication app(argc, argv);
michael@0 30
michael@0 31 QmlApplicationViewer viewer;
michael@0 32 viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
michael@0 33 viewer.setMainQmlFile(QLatin1String("/usr/share/schachuhr/qml/main.qml"));
michael@0 34 viewer.showExpanded();
michael@0 35
michael@0 36 return app.exec();
michael@0 37 }

mercurial