~ubuntu-branches/ubuntu/quantal/qtmobility/quantal

« back to all changes in this revision

Viewing changes to examples/qmlorganizer/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-16 16:18:07 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101116161807-k2dzt2nyse975r3l
Tags: 1.1.0-0ubuntu1
* New upstream release
* Syncronise with Debian, no remaining changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <QtGui/QApplication>
 
2
#include "qmlapplicationviewer.h"
 
3
 
 
4
int main(int argc, char *argv[])
 
5
{
 
6
    QApplication app(argc, argv);
 
7
 
 
8
    QmlApplicationViewer viewer;
 
9
    viewer.setOrientation(QmlApplicationViewer::Auto);
 
10
    viewer.setMainQmlFile(QLatin1String("qrc:/organizer.qml"));
 
11
    viewer.show();
 
12
 
 
13
    return app.exec();
 
14
}