Laurent Montel
8214cc5273
Use QLatin1String here
7 years ago
David Faure
072dc8f0f7
Port away from deprecated methods in Qt
7 years ago
Laurent Montel
eb24817495
Remove unused includes
7 years ago
Laurent Montel
a435b3b8c2
Use override
8 years ago
Kevin Funk
1c02848a4d
Use nullptr everywhere
...
Differential Revision: https://phabricator.kde.org/D3987
9 years ago
Stephen Kelly
7f4de58f75
KExtraColumnsProxyModel: Add unit test for layoutChange behavior
...
Commit f55b0559 (KExtraColumnsProxyModel: Persist model indexes after
emitting layoutChange, not before, 2016-12-20) missed a unit test, but
the DynamicTreeModel in the proxymodeltestsuite is older and more
advanced than the simplified version added to Qt at some point.
CCMAIL: faure@kde.org
9 years ago
David Faure
27d4bbc79e
autotest: add a grandchild and select it, still passes.
9 years ago
David Faure
57969ef54a
KExtraColumnsProxyModel: implement hasChildren()
...
The default implementation called mapToSource which returned an invalid
index (for extra columns), leading to a return value of true in all cases.
10 years ago
David Faure
22cb8c0d21
KExtraColumnsProxyModel: implement buddy() to fix runtime warning.
10 years ago
David Faure
800037a879
Actually, call it removeExtraColumn to avoid confusion with QAIM::removeColumn...
10 years ago
David Faure
8545381f0a
Add KExtraColumnsProxyModel::removeColumn, will be needed by StatisticsProxyModel
10 years ago
Andrey Cygankov
1e48795134
Fix most Clazy warnings in KItemModels.
...
Fixed most Clazy warnings in KItemModels.
REVIEW: 126735
10 years ago
Montel Laurent
73e876abe3
Use QStringLiteral
11 years ago
David Faure
fca1c65bd1
More checking on the selection after sorting.
11 years ago
David Faure
06a48c672a
KExtraColumnsProxyModel: fix bug in sibling() which broke e.g. selections
11 years ago
David Faure
b6ca1f1c84
GIT_SILENT astyle-kdelibs reformatting
11 years ago
Jan Kundrát
4316ecb1b9
Fix build failure with clang 3.4.2
...
autotests/kextracolumnsproxymodeltest.cpp:68:9: error: control may reach end of non-void function [-Werror,-Wreturn-type]
REVIEW: 124385
11 years ago
David Faure
8837e8d2d4
New proxy: KExtraColumnsProxyModel, allows to add columns to an existing model.
...
REVIEW: 124331
11 years ago