michael@0: // michael@0: // Schachuhr - Chess clock graphical user interface client michael@0: // Copyright © 2011 Michael Schloh von Bennewitz michael@0: // michael@0: // Schachuhr is free software: you can redistribute it and/or modify michael@0: // it under the terms of the GNU General Public License as published michael@0: // by the Free Software Foundation, either version 3 of the License, michael@0: // or (at your option) any later version. michael@0: // michael@0: // Schachuhr is distributed in the hope that it will be useful, michael@0: // but WITHOUT ANY WARRANTY; without even the implied warranty michael@0: // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See michael@0: // the GNU General Public License for more details. michael@0: // michael@0: // You should have received a copy of the GNU General Public License michael@0: // along with Schachuhr. If not, see . michael@0: // michael@0: // This file is part of project Schachuhr, a chess clock graphical michael@0: // user interface client and is found at http://schachuhr.europalab.com/ michael@0: // michael@0: // main.cpp: ISO C++ implementation michael@0: // michael@0: michael@0: #include michael@0: #include "qmlapplicationviewer.h" michael@0: michael@0: int main(int argc, char *argv[]) michael@0: { michael@0: QApplication app(argc, argv); michael@0: michael@0: QmlApplicationViewer viewer; michael@0: viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto); michael@0: viewer.setMainQmlFile(QLatin1String("/usr/share/schachuhr/qml/main.qml")); michael@0: viewer.showExpanded(); michael@0: michael@0: return app.exec(); michael@0: }