~codealot/ubuntu-terminal-app/ubuntu-terminal-app

« back to all changes in this revision

Viewing changes to main.cpp

  • Committer: Michael Hall
  • Date: 2013-01-28 20:48:10 UTC
  • Revision ID: mhall119@ubuntu.com-20130128204810-ufch4g4o3tpjlm8b
Modifications for Terminal app

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#include <QDebug>
4
4
#include "qtquick2applicationviewer.h"
5
5
 
6
 
#define APPLICATION_NAME "Application" // Change this to the name of the application
 
6
#define APPLICATION_NAME "Terminal" // Change this to the name of the application
7
7
 
8
8
int main(int argc, char *argv[])
9
9
{
10
10
    QGuiApplication app(argc, argv);
11
11
 
12
12
    QtQuick2ApplicationViewer viewer;
13
 
     viewer.setMainQmlFile(QStringLiteral("qml/appTemplate/main.qml"));
 
13
     viewer.setMainQmlFile(QStringLiteral("qml/terminal/main.qml"));
14
14
 
15
15
    QQuickItem *rootItem = new QQuickItem();
16
16
    rootItem = viewer.rootItem();