• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • plasmarunner
plasmarunner.h
Go to the documentation of this file.
1 // Copyright 2011 Friedrich W. H. Kossebau <kossebau@kde.org>
2 //
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this program. If not, see <http://www.gnu.org/licenses/>.
15 
16 
17 #ifndef PLASMARUNNER_H
18 #define PLASMARUNNER_H
19 
20 // Plasma
21 #include <Plasma/AbstractRunner>
22 
23 
24 namespace Marble
25 {
26 class GeoDataFolder;
27 
28 
29 class PlasmaRunner : public Plasma::AbstractRunner
30 {
31  Q_OBJECT
32 
33 public:
34  PlasmaRunner(QObject *parent, const QVariantList &args);
35 
36 public: // Plasma::AbstractRunner API
37  void match(Plasma::RunnerContext &context);
38  void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match);
39 
40 private:
41  void collectMatches(QList<Plasma::QueryMatch> &matches,
42  const QString &query, const GeoDataFolder *folder);
43 };
44 
45 }
46 
47 #endif
48 
Marble::PlasmaRunner::PlasmaRunner
PlasmaRunner(QObject *parent, const QVariantList &args)
Definition: plasmarunner.cpp:38
Marble::PlasmaRunner::match
void match(Plasma::RunnerContext &context)
Definition: plasmarunner.cpp:60
QObject
Marble::GeoDataFolder
Definition: GeoDataFolder.h:50
Marble::PlasmaRunner
Definition: plasmarunner.h:29
Marble::PlasmaRunner::run
void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match)
Definition: plasmarunner.cpp:155
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal