Plasma
recentdocuments.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef RECENTDOCUMENTS_H
00021 #define RECENTDOCUMENTS_H
00022
00023 #include <Plasma/AbstractRunner>
00024
00025 #include <KIcon>
00026
00027 class RecentDocuments : public Plasma::AbstractRunner {
00028 Q_OBJECT
00029
00030 public:
00031 RecentDocuments( QObject *parent, const QVariantList& args );
00032 ~RecentDocuments();
00033
00034 void match(Plasma::RunnerContext &context);
00035 void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match);
00036
00037 private Q_SLOTS:
00038 void loadRecentDocuments();
00039
00040 private:
00041 KIcon m_icon;
00042 QStringList m_recentdocuments;
00043 };
00044
00045 K_EXPORT_PLASMA_RUNNER(recentdocuments, RecentDocuments)
00046
00047 #endif