[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kitemmodels] src: filterAcceptsRow() should be protected instead of private since it overrides a me
From: Simon Edwards <simon () simonzone ! com>
Date: 2014-01-17 19:12:39
Message-ID: E1W4EqN-0007ro-SL () scm ! kde ! org
[Download RAW message or body]
Git commit 330a8ab0d84ef2f308d4455f4abce4023feea07c by Simon Edwards.
Committed on 17/01/2014 at 19:11.
Pushed by sedwards into branch 'master'.
filterAcceptsRow() should be protected instead of private since it override=
s a method in its superclass.
M +1 -3 src/krecursivefilterproxymodel.h
http://commits.kde.org/kitemmodels/330a8ab0d84ef2f308d4455f4abce4023feea07c
diff --git a/src/krecursivefilterproxymodel.h b/src/krecursivefilterproxymo=
del.h
index 5cf843b..cf14c12 100644
--- a/src/krecursivefilterproxymodel.h
+++ b/src/krecursivefilterproxymodel.h
@@ -112,11 +112,9 @@ protected:
*/
virtual bool acceptRow(int sourceRow, const QModelIndex &sourceParent)=
const;
=
-private:
/** @reimp */
- bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) =
const;
+ virtual bool filterAcceptsRow(int sourceRow, const QModelIndex &source=
Parent) const;
=
-protected:
KRecursiveFilterProxyModelPrivate *const d_ptr;
=
private:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic