forked from qt-creator/qt-creator
CommandMappings: Do special filtering only for keyboard shortcuts
The view is also used for the regular expressions for FakeVim's ex command mapping, so we should not do special filtering for keyboard shortcuts on OS X Change-Id: I437b45a53beb93caeaec43af2f898c55b2a1601f Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -68,8 +68,9 @@ protected:
|
||||
virtual void exportAction() {}
|
||||
virtual void importAction() {}
|
||||
|
||||
virtual bool filterColumn(const QString &filterString, QTreeWidgetItem *item, int column) const;
|
||||
|
||||
void filterChanged(const QString &f);
|
||||
bool filter(const QString &filterString, QTreeWidgetItem *item);
|
||||
|
||||
virtual void commandChanged(QTreeWidgetItem *current);
|
||||
|
||||
@@ -85,6 +86,8 @@ protected:
|
||||
void setModified(QTreeWidgetItem *item, bool modified);
|
||||
|
||||
private:
|
||||
bool filter(const QString &filterString, QTreeWidgetItem *item);
|
||||
|
||||
friend class Internal::CommandMappingsPrivate;
|
||||
Internal::CommandMappingsPrivate *d;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user