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

kapptemplate

  • sources
  • kde-4.12
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • runner
runner/%{APPNAMELC}.h
Go to the documentation of this file.
1 
2 #ifndef %{APPNAMEUC}_H
3 #define %{APPNAMEUC}_H
4 
5 #include <plasma/abstractrunner.h>
6 #include <KIcon>
7 
8 // Define our plasma Runner
9 class %{APPNAME} : public Plasma::AbstractRunner {
10  Q_OBJECT
11 
12 public:
13  // Basic Create/Destroy
14  %{APPNAME}( QObject *parent, const QVariantList& args );
15  ~%{APPNAME}();
16 
17  void match(Plasma::RunnerContext &context);
18  void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match);
19 };
20 // This is the command that links your applet to the .desktop file
21 K_EXPORT_PLASMA_RUNNER(%{APPNAMELC}, %{APPNAME})
22 
23 #endif
APPNAME
main APPNAME
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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