[Kicker] Port from KConcatenateRowsProxyModel

It is deprecated and to be replaced by QConcatenateTablesProxyModel
wilder-5.25
Kai Uwe Broulik 4 years ago
parent 703e129f71
commit 0afcc120eb
  1. 4
      applets/kicker/plugin/computermodel.cpp
  2. 4
      applets/kicker/plugin/computermodel.h

@ -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;

Loading…
Cancel
Save