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

kapptemplate

  • sources
  • kde-4.14
  • kdesdk
  • kapptemplate
  • templates
  • C++
  • flake
%{APPNAME}ShapeFactory.cpp
Go to the documentation of this file.
1 #include "%{APPNAME}ShapeFactory.h"
2 #include "%{APPNAME}Shape.h"
3 
4 %{APPNAME}ShapeFactory::%{APPNAME}ShapeFactory (QObject* parent) : KoShapeFactory (parent, "%{APPNAME}Shape_ID", "%{APPNAME} - short description")
5 {
6 
7 }
8 
9 KoShape *%{APPNAME}ShapeFactory::createDefaultShape() const
10 {
11  return new %{APPNAME}Shape;
12 }
13 
14 KoShape *%{APPNAME}ShapeFactory::createShape (const KoProperties* params) const
15 {
16  Q_UNUSED(params);
17  return new %{APPNAME}Shape;
18 }
%{APPNAME}Shape.h
ShapeFactory
class @1 ShapeFactory(QObject *parent)
QObject
APPNAME
main APPNAME
createShape
KoShape * createShape(const KoProperties *params) const
%{APPNAME}ShapeFactory.h
createDefaultShape
KoShape * createDefaultShape() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:44 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
  • 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