From 0afcc120eba5bccb3b12746bfd77b61157bc01a1 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Sat, 5 Mar 2022 21:40:34 +0100 Subject: [PATCH] [Kicker] Port from KConcatenateRowsProxyModel It is deprecated and to be replaced by QConcatenateTablesProxyModel --- applets/kicker/plugin/computermodel.cpp | 4 ++-- applets/kicker/plugin/computermodel.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applets/kicker/plugin/computermodel.cpp b/applets/kicker/plugin/computermodel.cpp index 5daf938e0..437b4ca9d 100644 --- a/applets/kicker/plugin/computermodel.cpp +++ b/applets/kicker/plugin/computermodel.cpp @@ -9,10 +9,10 @@ #include "actionlist.h" #include "simplefavoritesmodel.h" +#include #include #include -#include #include #include #include @@ -123,7 +123,7 @@ Q_INVOKABLE bool RunCommandModel::trigger(int row, const QString &actionId, cons ComputerModel::ComputerModel(QObject *parent) : ForwardingModel(parent) - , m_concatProxy(new KConcatenateRowsProxyModel(this)) + , m_concatProxy(new QConcatenateTablesProxyModel(this)) , m_runCommandModel(new RunCommandModel(this)) , m_systemAppsModel(new SimpleFavoritesModel(this)) , m_filteredPlacesModel(new FilteredPlacesModel(this)) diff --git a/applets/kicker/plugin/computermodel.h b/applets/kicker/plugin/computermodel.h index c25297e14..0c52f0a94 100644 --- a/applets/kicker/plugin/computermodel.h +++ b/applets/kicker/plugin/computermodel.h @@ -14,7 +14,7 @@ class SimpleFavoritesModel; -class KConcatenateRowsProxyModel; +class QConcatenateTablesProxyModel; class KFilePlacesModel; namespace Solid @@ -95,7 +95,7 @@ private Q_SLOTS: void onSetupDone(Solid::ErrorType error, QVariant errorData, const QString &udi); private: - KConcatenateRowsProxyModel *m_concatProxy; + QConcatenateTablesProxyModel *m_concatProxy; RunCommandModel *m_runCommandModel; SimpleFavoritesModel *m_systemAppsModel; FilteredPlacesModel *m_filteredPlacesModel;