[Kde-bindings] KDE/kdelibs/kdeui
Stephen Kelly
steveire at gmail.com
Mon May 17 12:51:00 UTC 2010
SVN commit 1127723 by skelly:
mv KProxyItemSelectionModel KLinkItemSelectionModel.
CCMAIL: kde-bindings at kde.org
M +2 -2 CMakeLists.txt
A itemviews/klinkitemselectionmodel.cpp itemviews/kproxyitemselectionmodel.cpp#1127722 [License: LGPL (v2+)]
A itemviews/klinkitemselectionmodel.h itemviews/kproxyitemselectionmodel.h#1127722 [License: LGPL (v2+)]
D itemviews/kproxyitemselectionmodel.cpp
D itemviews/kproxyitemselectionmodel.h
M +2 -2 tests/proxymodeltestapp/breadcrumbnavigationwidget.cpp
M +2 -2 tests/proxymodeltestapp/proxyitemselectionwidget.cpp
--- trunk/KDE/kdelibs/kdeui/CMakeLists.txt #1127722:1127723
@@ -108,7 +108,7 @@
icons/kicontheme.cpp
icons/kiconcache.cpp
itemviews/kbreadcrumbselectionmodel.cpp
- itemviews/kproxyitemselectionmodel.cpp
+ itemviews/klinkitemselectionmodel.cpp
itemviews/krecursivefilterproxymodel.cpp
# itemviews/kdescendantsproxymodel.cpp
itemviews/klistwidget.cpp
@@ -477,7 +477,7 @@
icons/kicontheme.h
icons/kiconcache.h
itemviews/kbreadcrumbselectionmodel.h
- itemviews/kproxyitemselectionmodel.h
+ itemviews/klinkitemselectionmodel.h
itemviews/krecursivefilterproxymodel.h
# itemviews/kdescendantsproxymodel.h
itemviews/klistwidget.h
--- trunk/KDE/kdelibs/kdeui/tests/proxymodeltestapp/breadcrumbnavigationwidget.cpp #1127722:1127723
@@ -262,7 +262,7 @@
breadcrumbView->setModel(breadcrumbNavigationModel);
// This shouldn't operate on rootSelectionModel. It should operate on oneway instead?
- KProxyItemSelectionModel *breadcrumbViewSelectionModel = new KProxyItemSelectionModel(breadcrumbNavigationModel, rootSelectionModel, this);
+ KLinkItemSelectionModel *breadcrumbViewSelectionModel = new KLinkItemSelectionModel(breadcrumbNavigationModel, rootSelectionModel, this);
SON(breadcrumbViewSelectionModel);
KForwardingItemSelectionModel *oneway2 = new KForwardingItemSelectionModel(breadcrumbNavigationModel, breadcrumbViewSelectionModel, KForwardingItemSelectionModel::Reverse);
@@ -288,7 +288,7 @@
navigatingProxyModel->setSourceModel( rootModel );
selectionView->setModel(navigatingProxyModel);
- KProxyItemSelectionModel *selectedChildrenSelectionModel = new KProxyItemSelectionModel(navigatingProxyModel, rootSelectionModel, this);
+ KLinkItemSelectionModel *selectedChildrenSelectionModel = new KLinkItemSelectionModel(navigatingProxyModel, rootSelectionModel, this);
selectionView->setSelectionModel(selectedChildrenSelectionModel);
}
--- trunk/KDE/kdelibs/kdeui/tests/proxymodeltestapp/proxyitemselectionwidget.cpp #1127722:1127723
@@ -69,10 +69,10 @@
QItemSelectionModel *rootSelectionModel = dynamicTreeWidget->treeView()->selectionModel();
- KProxyItemSelectionModel *view1SelectionModel = new KProxyItemSelectionModel(view1->model(), rootSelectionModel, this );
+ KLinkItemSelectionModel *view1SelectionModel = new KLinkItemSelectionModel(view1->model(), rootSelectionModel, this );
view1->setSelectionModel( view1SelectionModel );
- KProxyItemSelectionModel *view2SelectionModel = new KProxyItemSelectionModel(view2->model(), view1->selectionModel(), this );
+ KLinkItemSelectionModel *view2SelectionModel = new KLinkItemSelectionModel(view2->model(), view1->selectionModel(), this );
view2->setSelectionModel( view2SelectionModel );
view1->expandAll();
More information about the Kde-bindings
mailing list