~bzoltan/kubuntu-packaging/decouple_cmake_plugin

« back to all changes in this revision

Viewing changes to share/qtcreator/templates/qtquick2controls/qtquick2controlsapplicationviewer/qtquick2controlsapplicationviewer.h

  • Committer: Timo Jyrinki
  • Date: 2013-11-15 12:25:23 UTC
  • mfrom: (1.1.28)
  • Revision ID: timo.jyrinki@canonical.com-20131115122523-i2kyamsu4gs2mu1m
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  This file was generated by the Qt Quick 2 Application wizard of Qt Creator.
 
3
  QtQuick2ControlsApplicationViewer is a convenience class.
 
4
  QML paths are handled here.
 
5
  It is recommended not to modify this file, since newer versions of Qt Creator
 
6
  may offer an updated version of it.
 
7
*/
 
8
#ifndef QTQUICK2APPLICATIONVIEWER_H
 
9
#define QTQUICK2APPLICATIONVIEWER_H
 
10
 
 
11
#ifndef QT_NO_WIDGETS
 
12
#include <QApplication>
 
13
#else
 
14
#include <QGuiApplication>
 
15
#endif
 
16
 
 
17
QT_BEGIN_NAMESPACE
 
18
 
 
19
#ifndef QT_NO_WIDGETS
 
20
#define Application QApplication
 
21
#else
 
22
#define Application QGuiApplication
 
23
#endif
 
24
 
 
25
QT_END_NAMESPACE
 
26
 
 
27
class QtQuick2ControlsApplicationViewer
 
28
{
 
29
public:
 
30
    explicit QtQuick2ControlsApplicationViewer();
 
31
    virtual ~QtQuick2ControlsApplicationViewer();
 
32
 
 
33
    void setMainQmlFile(const QString &file);
 
34
    void addImportPath(const QString &path);
 
35
    void show();
 
36
 
 
37
private:
 
38
    class QtQuick2ApplicationViewerPrivate *d;
 
39
};
 
40
 
 
41
#endif // QTQUICK2APPLICATIONVIEWER_H