From 37f727ac0746fd85504aa46c1f023c09b3eff33a Mon Sep 17 00:00:00 2001 From: hibby Date: Fri, 16 Feb 2018 15:17:14 +0000 Subject: New upstream version 1.8.0+repack --- CandidateKeyFilter.hpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'CandidateKeyFilter.hpp') diff --git a/CandidateKeyFilter.hpp b/CandidateKeyFilter.hpp index 1a5304b2..3fdd8524 100644 --- a/CandidateKeyFilter.hpp +++ b/CandidateKeyFilter.hpp @@ -12,12 +12,17 @@ class CandidateKeyFilter final : public QSortFilterProxyModel { public: - explicit CandidateKeyFilter (QAbstractItemModel const * referencing_model - , QAbstractItemModel * referenced_model - , int referencing_key_column = 0 - , int referenced_key_column = 0 - , int referencing_key_role = Qt::EditRole + explicit CandidateKeyFilter (QAbstractItemModel * referenced_model + , int referenced_key_column + , QObject * parent = nullptr , int referenced_key_role = Qt::EditRole); + explicit CandidateKeyFilter (QAbstractItemModel * referenced_model + , QAbstractItemModel const * referencing_model + , int referenced_key_column + , int referencing_key_column + , QObject * parent = nullptr + , int referenced_key_role = Qt::EditRole + , int referencing_key_role = Qt::EditRole); ~CandidateKeyFilter (); // this key is not to be filtered, usually because we want to allow -- cgit v1.2.3