You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
615 B
27 lines
615 B
/* |
|
SPDX-FileCopyrightText: 2008 Sebastian Kügler <sebas@kde.org> |
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <krunner/abstractrunner.h> |
|
|
|
#include <QAction> |
|
#include <QIcon> |
|
|
|
class RecentDocuments : public Plasma::AbstractRunner |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
RecentDocuments(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args); |
|
~RecentDocuments() override; |
|
|
|
void match(Plasma::RunnerContext &context) override; |
|
void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match) override; |
|
|
|
private: |
|
QList<QAction *> m_actions; |
|
};
|
|
|