summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeapplication_p.h
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2011-01-04 07:25:48 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2011-01-07 05:06:47 (GMT)
commit0371e80ba76b7dcaf1809ba9345fd96610390222 (patch)
tree2d8d7c3132ee49d4eb4dd13585085681d48d36ce /src/declarative/util/qdeclarativeapplication_p.h
parentd3a6fcd9174b893aaac9db7d5e541ceb54b12402 (diff)
downloadQt-0371e80ba76b7dcaf1809ba9345fd96610390222.zip
Qt-0371e80ba76b7dcaf1809ba9345fd96610390222.tar.gz
Qt-0371e80ba76b7dcaf1809ba9345fd96610390222.tar.bz2
Add layoutDirection property to Qt.application element
Task-number: QTBUG-16424 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/util/qdeclarativeapplication_p.h')
-rw-r--r--src/declarative/util/qdeclarativeapplication_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeapplication_p.h b/src/declarative/util/qdeclarativeapplication_p.h
index 59ea7fe..c5cd227 100644
--- a/src/declarative/util/qdeclarativeapplication_p.h
+++ b/src/declarative/util/qdeclarativeapplication_p.h
@@ -57,17 +57,20 @@ class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeApplication : public QObject
{
Q_OBJECT
Q_PROPERTY(bool active READ active NOTIFY activeChanged)
+ Q_PROPERTY(bool layoutDirection READ layoutDirection NOTIFY layoutDirectionChanged)
public:
explicit QDeclarativeApplication(QObject *parent = 0);
virtual ~QDeclarativeApplication();
bool active() const;
+ bool layoutDirection() const;
protected:
bool eventFilter(QObject *obj, QEvent *event);
Q_SIGNALS:
void activeChanged();
+ void layoutDirectionChanged();
private:
Q_DISABLE_COPY(QDeclarativeApplication)