kapptemplate
#include <kparts/part.h>
Go to the source code of this file.
#define APPNAMEUC }PART_H |
static KAboutData* createAboutData |
( |
| ) |
|
|
static |
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
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.