Verified Commit c4cbd336 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Deprecate CollectionView and ItemView

Those were designed for CollectionModel and ItemModel,
now that both are gone, everyone should use ETM instead
for which we have EntityListView and EntityTreeView.
parent bf118e29
......@@ -60,9 +60,11 @@ class Collection;
*
* @endcode
*
* @deprecated Use EntityTreeView or EntityListView on top of EntityTreeModel instead.
*
* @author Volker Krause <vkrause@kde.org>
*/
class AKONADIWIDGETS_EXPORT CollectionView : public QTreeView
class AKONADIWIDGETS_DEPRECATED_EXPORT CollectionView : public QTreeView
{
Q_OBJECT
......
......@@ -56,9 +56,11 @@ class Item;
*
* @endcode
*
* @deprecated Use EntityTreeView or EntityListView on top of EntityTreeModel instead.
*
* @author Tobias Koenig <tokoe@kde.org>
*/
class AKONADIWIDGETS_EXPORT ItemView : public QTreeView
class AKONADIWIDGETS_DEPRECATED_EXPORT ItemView : public QTreeView
{
Q_OBJECT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment