main.cpp

Sun, 10 Jul 2011 10:49:24 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 10 Jul 2011 10:49:24 +0200
changeset 12
1d13b7bae644
permissions
-rw-r--r--

Note consideration of name change to neater and cooler 'Pendule' d'echecs.

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

mercurial