Commit 0afcc120 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Kicker] Port from KConcatenateRowsProxyModel

It is deprecated and to be replaced by QConcatenateTablesProxyModel
parent 703e129f
Pipeline #145719 passed with stage
in 7 minutes and 1 second
......@@ -9,10 +9,10 @@
#include "actionlist.h"
#include "simplefavoritesmodel.h"
#include <QConcatenateTablesProxyModel>
#include <QIcon>
#include <KAuthorized>
#include <KConcatenateRowsProxyModel>
#include <KFilePlacesModel>
#include <KIO/OpenUrlJob>
#include <KLocalizedString>
......@@ -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))
......
......@@ -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;
......
Supports Markdown
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