aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktableview_p.h
diff options
context:
space:
mode:
authorYulong Bai <yulong.bai@qt.io>2020-01-17 14:58:11 +0100
committerYulong Bai <yulong.bai@qt.io>2020-01-20 14:34:35 +0100
commitcc9e1326792835c846cd129b683db5af6ac931bb (patch)
treee24d57675f700eed9fd28b816dc1d467f2824b44 /src/quick/items/qquicktableview_p.h
parent67ac9dead884c7558896bdd97e4d3152100dc7ec (diff)
QQuickTableView: make syncView/syncDirection/model private implementation virtual
For usage in HeaderView, moving getters/setters/sych-ers in private implementation virtual, keep public APIs clean and also make private implementations overridable. Change-Id: I4ad04665b7268354a49dc9711944ee0c6fd2738f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quick/items/qquicktableview_p.h')
-rw-r--r--src/quick/items/qquicktableview_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquicktableview_p.h b/src/quick/items/qquicktableview_p.h
index 5ef73a816f..d549aaddf7 100644
--- a/src/quick/items/qquicktableview_p.h
+++ b/src/quick/items/qquicktableview_p.h
@@ -104,8 +104,8 @@ public:
QJSValue columnWidthProvider() const;
void setColumnWidthProvider(const QJSValue &provider);
- virtual QVariant model() const;
- virtual void setModel(const QVariant &newModel);
+ QVariant model() const;
+ void setModel(const QVariant &newModel);
QQmlComponent *delegate() const;
void setDelegate(QQmlComponent *);