• 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++
  • kpartapp
  • src
Macros | Functions | Variables
%{APPNAMELC}_part.h File Reference
#include <kparts/part.h>
Include dependency graph for %{APPNAMELC}_part.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define APPNAMEUC   }PART_H
 

Functions

static KAboutData * createAboutData ()
 
void fileSaveAs ()
 
virtual bool openFile ()
 
class {
} Part (QWidget *parentWidget, QObject *parent, const QVariantList &)
 
virtual bool saveFile ()
 
virtual void setModified (bool modified)
 
virtual virtual void setReadWrite (bool rw)
 

Variables

QTextEdit * m_widget
 
KAction * save
 

Macro Definition Documentation

#define APPNAMEUC   }PART_H

Function Documentation

static KAboutData* createAboutData ( )
static
void fileSaveAs ( )
protected
virtual bool openFile ( )
protectedvirtual

This must be implemented by each part.

class @11 Part ( QWidget *  parentWidget,
QObject *  parent,
const QVariantList &   
)

This is a "Part".

It does all the real work in a KPart application.

Main Part

Author
%{AUTHOR} <%{EMAIL}>
Version
${APP_VERSION} Default constructor
virtual bool saveFile ( )
protectedvirtual

This must be implemented by each read-write part.

virtual void setModified ( bool  modified)
virtual

Reimplemented to disable and enable Save action.

virtual virtual void setReadWrite ( bool  rw)
virtual

Destructor.

This is a virtual function inherited from KParts::ReadWritePart. A shell will use this to inform this Part if it should act read-only

Variable Documentation

QTextEdit* m_widget

Definition at line 84 of file %{APPNAMELC}_part.h.

KAction* save

Definition at line 78 of file %{APPNAMELC}_part.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:23 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