summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlpalette.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/util/qmlpalette.h')
-rw-r--r--src/declarative/util/qmlpalette.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/util/qmlpalette.h b/src/declarative/util/qmlpalette.h
index 1401ad1..7f26f9a 100644
--- a/src/declarative/util/qmlpalette.h
+++ b/src/declarative/util/qmlpalette.h
@@ -101,6 +101,9 @@ public:
bool virtual eventFilter(QObject *watched, QEvent *event);
bool virtual event(QEvent *event);
+ Q_INVOKABLE QColor lighter(const QColor&) const;
+ Q_INVOKABLE QColor darker(const QColor&) const;
+
Q_SIGNALS:
void paletteChanged();
};