• 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++
  • ktexteditor
ktexteditor/%{APPNAMELC}plugin.h
Go to the documentation of this file.
1 #ifndef %{APPNAMEUC}PLUGIN_H
2 #define %{APPNAMEUC}PLUGIN_H
3 
4 #include <KTextEditor/Plugin>
5 
6 namespace KTextEditor
7 {
8  class View;
9 }
10 
11 class %{APPNAME}View;
12 
13 class %{APPNAME}Plugin
14  : public KTextEditor::Plugin
15 {
16  public:
17  // Constructor
18  explicit %{APPNAME}Plugin(QObject *parent = 0, const QVariantList &args = QVariantList());
19  // Destructor
20  virtual ~%{APPNAME}Plugin();
21 
22  void addView (KTextEditor::View *view);
23  void removeView (KTextEditor::View *view);
24 
25  void readConfig();
26  void writeConfig();
27 
28 // void readConfig (KConfig *);
29 // void writeConfig (KConfig *);
30 
31  private:
32  QList<class %{APPNAME}View*> m_views;
33 };
34 
35 #endif
removeView
void removeView(KTextEditor::View *view)
Plugin
class @12 Plugin(QObject *parent=0, const QVariantList &args=QVariantList())
addView
virtual void addView(KTextEditor::View *view)
writeConfig
void writeConfig()
View
class SettingsHelper View
m_views
QList< class%{APPNAME}View * > m_views
Definition: ktexteditor/%{APPNAMELC}plugin.h:32
view
virtual QDeclarativeView * view
Destructor.
Definition: kapp4-qml/src/%{APPNAMELC}view.h:51
APPNAME
main APPNAME
readConfig
void readConfig()
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