aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquickbutton_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-03 13:12:27 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-03 17:18:12 +0000
commit5801239f70614e94f4a977b4122079c4ce2c232c (patch)
tree9f4e2ee124e2a08c969b80cefb7ed224c063a723 /src/templates/qquickbutton_p.h
parent6f9c52781a6ae2c84cb8b6e849a18856aef60f80 (diff)
Promote Button::highlighted to AbstractButton
Change-Id: I0e17a6c25dfd89fdb547720e9a626c2ec9d7765a Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/templates/qquickbutton_p.h')
-rw-r--r--src/templates/qquickbutton_p.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/templates/qquickbutton_p.h b/src/templates/qquickbutton_p.h
index 5b9c7df5..3863566e 100644
--- a/src/templates/qquickbutton_p.h
+++ b/src/templates/qquickbutton_p.h
@@ -52,28 +52,15 @@
QT_BEGIN_NAMESPACE
-class QQuickButtonPrivate;
-
class Q_LABSTEMPLATES_EXPORT QQuickButton : public QQuickAbstractButton
{
Q_OBJECT
- Q_PROPERTY(bool highlighted READ isHighlighted WRITE setHighlighted NOTIFY highlightedChanged FINAL)
public:
explicit QQuickButton(QQuickItem *parent = Q_NULLPTR);
- bool isHighlighted() const;
- void setHighlighted(bool highlighted);
-
-Q_SIGNALS:
- void highlightedChanged();
-
protected:
QFont defaultFont() const Q_DECL_OVERRIDE;
-
-private:
- Q_DISABLE_COPY(QQuickButton)
- Q_DECLARE_PRIVATE(QQuickButton)
};
Q_DECLARE_TYPEINFO(QQuickButton, Q_COMPLEX_TYPE);