l10n daemon script
a1904a6005
Upgrade KF5 version to 5.16.0.
11 years ago
l10n daemon script
2ff28c9e65
Upgrade ECM and KF5 version requirements for 5.15.0 release.
11 years ago
l10n daemon script
5e84afc230
Upgrade KF5 version to 5.15.0.
11 years ago
l10n daemon script
454f6df507
Upgrade ECM and KF5 version requirements for 5.14.0 release.
11 years ago
l10n daemon script
e04e460f33
Upgrade KF5 version to 5.14.0.
11 years ago
David Faure
fad0c43813
KConcatenateRowsProxyModelPrivate: fix handling of layoutChanged.
11 years ago
David Faure
fca1c65bd1
More checking on the selection after sorting.
11 years ago
David Faure
fe0b5826b1
New proxymodel: KConcatenateRowsProxyModel
...
This proxy takes multiple source models and concatenates their rows.
REVIEW: 124644
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
David Faure
cb5f55544a
Upgrade Qt version requirement to 5.3
11 years ago
l10n daemon script
8ce7f030ae
Upgrade ECM and KF5 version requirements for 5.13.0 release.
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
l10n daemon script
73ceae4fdc
Upgrade KF5 version to 5.13.0.
11 years ago
l10n daemon script
11f2dabe92
Upgrade ECM and KF5 version requirements for 5.12.0 release.
11 years ago
David Faure
604d06a031
Mention KRearrangeColumnsProxyModel on the apidox main page.
11 years ago
David Faure
71d2e8c665
New proxy model: KRearrangeColumnsProxyModel.
...
It supports reordering and hiding columns from the source model.
REVIEW: 124156
11 years ago
l10n daemon script
7a94f65e16
Upgrade KF5 version to 5.12.0.
11 years ago
l10n daemon script
7b5d65be74
Upgrade ECM and KF5 version requirements for 5.11.0 release.
11 years ago
Jeremy Whiting
990ca6855d
Add verbose message for when ECM is not found.
11 years ago
l10n daemon script
c8dce20493
Upgrade KF5 version to 5.11.0.
11 years ago
Jan Kundrát
d598382536
Fix build with Qt 5.5
...
Turns out that there's apparently no overload accepting a QPointer as
the first argument.
This is on Gentoo with qtbase e374ffc29c67493a51527117b55a53dfa5dd4267
and GCC 4.8.3.
Also make sure to tie the lifetime of the connection with `this` because
the lambda accesses our D-pointer, which means that it has to be
disconnected on destruction of `this`. Thanks to Milian Wolff for
catching this.
REVIEW: 123679
11 years ago
l10n daemon script
b0c51fff95
Upgrade ECM and KF5 version requirements for 5.10.0 release.
11 years ago
Milian Wolff
704fdba37b
Do not query the row count repeatedly.
...
The compiler is not smart enough to hoist this call out
of the loop. But we can expect that the row count will not
change during a call to filterAcceptsRow.
11 years ago
l10n daemon script
7eeac78170
Upgrade KF5 version to 5.10.0.
11 years ago
l10n daemon script
32a447428c
Upgrade ECM and KF5 version requirements for 5.9.0 release.
11 years ago
l10n daemon script
cc150b8b02
Upgrade KF5 version to 5.9.0.
11 years ago
David Faure
5dda278d69
Forwardport of KRecursiveFilterProxyModel fixes from KDE/4.14
...
0df92439241a76c6a67efa9485bd95c3c25d63a0 by Christian Mollekopf
445453a6ab79a57f5ed2a94ba35afa36fbb8e325 by myself
+ a fix for the runtime warnings with Qt < 5.5, grabbed from Gammaray's copy.
11 years ago
David Faure
2faaca55a1
apply astyle-kdelibs
11 years ago
Stephen Kelly
54c8e24172
Fix Qt version check.
11 years ago
Stephen Kelly
d65b14a091
KSPM: Connect properly to the source model if it is changed.
11 years ago
Stephen Kelly
0effb367ed
Fix disconnection from 'previous' source models.
11 years ago
Stephen Kelly
d24d1b434d
Make the disconnections and connections to the source more typo-safe.
11 years ago
Stephen Kelly
c6eecd2474
KDPM: Handle moves reported by the source model.
...
Qt4 emitted layout*Change signals for compatibility, but Qt 5 does not,
so handle the signal explicitly.
11 years ago
Stephen Kelly
ba086fbbd5
Remove .data() accessor from QPointer use.
...
This used to be needed for Qt4 compatibility where QWeakPointer
was used.
11 years ago
Stephen Kelly
7ca4ee3b57
Remove needless metatype registration.
...
QModelIndex is a built-in metatype in Qt 5.
11 years ago
Stephen Kelly
7298c92200
KSPM: Fix setting selection state after source reset.
...
This ammends the parent commit.
11 years ago
Stephen Kelly
41b8a5fc84
KSPM: Fix behavior when a selection is made while resetting.
...
The KSPM should never clear or reset the selection of the
QItemSelectionModel it refers to. It should be a read-only view on
that selection. If the selection changes while the source is being
reset, ignore that selection change. The proxy will clear its own
cached data when it processes the modelReset signal from the model,
and will populate itself with the selection as it is at that point.
11 years ago
Stephen Kelly
9ba41df61b
Rename unit tests which use the ProxyModelTestSuite.
...
Clear the namespace for unit tests which look like normal Qt unit tests.
11 years ago
Stephen Kelly
a2da794f34
Remove obsolete file.
...
It was removed from the CMakeLists.txt in SVN revision 1144232, but
not deleted. It was replaced by kdescendantsproxymodeltest.
11 years ago
Stephen Kelly
f2b3de900c
Include Qt headers with a module prefix.
...
Do as the Qt headers do.
11 years ago
Stephen Kelly
0bab0a1b58
Add missing licence header.
11 years ago
Stephen Kelly
dfaaf8b49e
Add missing version check.
11 years ago
Stephen Kelly
dd4fe5eef6
Fix define-check for QtQuickWidgets.
11 years ago
Stephen Kelly
db3d255922
KSPM: Allow constructing KSelectionProxyModel from QML.
...
Follow qtbase commit 7ab29c4e (Allow exposing QItemSelectionModel
to QML, 2015-01-15) by adding a way to default construct it.
11 years ago
Stephen Kelly
49071472ad
KSPM: Make selectionModel a Q_PROPERTY.
11 years ago
Stephen Kelly
22f3b70f39
KSPM: Make the setSelectionModel method public.
...
Handle the possibility that there may be no selectionModel in the
implementation.
11 years ago
Stephen Kelly
f253ab53c0
KSPM: Use hasSelection instead of checking for empty.
...
For correctness and consistency with the rest of the file.
11 years ago
Stephen Kelly
41078df867
KSPM: Add explicit selectionModel setter.
...
Make it private in this commit to allow for follow-up refactoring.
11 years ago