Fix -no-feature-draganddrop builds
Amends 7d0017cda8fde28a1130feaeecf41010b40e3cb3 which added the APIs, and ef7e5ea616a3f04ff0ba5f6fe34487a332152b01 which only added the guard for QListWidget. Address header review comment. Pick-to: 6.10 Task-number: QTBUG-137478 Change-Id: I405190190f4d64dd810d7d35e9ef616ab0147b19 Reviewed-by: David Faure <david.faure@kdab.com>
This commit is contained in:
parent
668d81f73a
commit
45202b26ce
@ -265,8 +265,10 @@ public:
|
||||
const QTableWidgetItem *itemPrototype() const;
|
||||
void setItemPrototype(const QTableWidgetItem *item);
|
||||
|
||||
#if QT_CONFIG(draganddrop)
|
||||
Qt::DropActions supportedDragActions() const;
|
||||
void setSupportedDragActions(Qt::DropActions actions);
|
||||
#endif
|
||||
|
||||
public Q_SLOTS:
|
||||
void scrollToItem(const QTableWidgetItem *item, QAbstractItemView::ScrollHint hint = EnsureVisible);
|
||||
|
@ -288,8 +288,10 @@ public:
|
||||
|
||||
void setSelectionModel(QItemSelectionModel *selectionModel) override;
|
||||
|
||||
#if QT_CONFIG(draganddrop)
|
||||
Qt::DropActions supportedDragActions() const;
|
||||
void setSupportedDragActions(Qt::DropActions actions);
|
||||
#endif
|
||||
|
||||
public Q_SLOTS:
|
||||
void scrollToItem(const QTreeWidgetItem *item,
|
||||
|
Loading…
x
Reference in New Issue
Block a user