aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/winextras/qquickwintaskbarbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/winextras/qquickwintaskbarbutton.h')
-rw-r--r--src/imports/winextras/qquickwintaskbarbutton.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/imports/winextras/qquickwintaskbarbutton.h b/src/imports/winextras/qquickwintaskbarbutton.h
index 65185c8..c575077 100644
--- a/src/imports/winextras/qquickwintaskbarbutton.h
+++ b/src/imports/winextras/qquickwintaskbarbutton.h
@@ -44,6 +44,7 @@
#include <QQuickItem>
#include <QWinTaskbarButton>
+#include <QWinTaskbarProgress>
QT_BEGIN_NAMESPACE
@@ -57,7 +58,7 @@ class QQuickWinTaskbarButton : public QQuickItem
Q_PROPERTY(int progressValue READ progressValue WRITE setProgressValue)
Q_PROPERTY(QString overlayIcon READ overlayIcon WRITE setOverlayIcon)
Q_PROPERTY(QString iconDescription READ iconDescription WRITE setIconDescription)
- Q_PROPERTY(QWinTaskbarButton::ProgressState progressState READ progressState WRITE setProgressState)
+ Q_PROPERTY(QWinTaskbarProgress::ProgressState progressState READ progressState WRITE setProgressState)
public:
Q_ENUMS(QWinTaskbarButton::ProgressState)
@@ -75,8 +76,8 @@ public:
QString iconDescription() const;
void setIconDescription(const QString &descr);
- QWinTaskbarButton::ProgressState progressState() const;
- void setProgressState(QWinTaskbarButton::ProgressState state);
+ QWinTaskbarProgress::ProgressState progressState() const;
+ void setProgressState(QWinTaskbarProgress::ProgressState state);
protected:
void itemChange(ItemChange, const ItemChangeData &) Q_DECL_OVERRIDE;