KTextEditor
editor.h
Go to the documentation of this file.
virtual void writeConfig(KConfig *config=0)=0
Write editor configuration to KConfig config.
virtual const QList< Document * > & documents()=0
Get a list of all documents of this editor.
virtual ConfigPage * configPage(int number, QWidget *parent)=0
Get the config page with the number, config pages from 0 to configPages()-1 are available if configPa...
void documentCreated(KTextEditor::Editor *editor, KTextEditor::Document *document)
The editor emits this signal whenever a document was successfully created.
virtual QString configPageFullName(int number) const =0
Get a readable full name for the config page number.
virtual void configDialog(QWidget *parent)=0
Show the editor's config dialog, changes will be applied to the editor, but not saved anywhere automa...
virtual int configPages() const =0
Get the number of available config pages.
virtual QString configPageName(int number) const =0
Get a readable name for the config page number.
virtual const KAboutData * aboutData() const =0
Get the about data of this Editor part.
virtual void readConfig(KConfig *config=0)=0
Read editor configuration from KConfig config.
virtual Document * createDocument(QObject *parent)=0
Create a new document object with parent.
virtual bool configDialogSupported() const =0
Check, whether this editor has a configuration dialog.
virtual KIcon configPageIcon(int number) const =0
Get a pixmap with size for the config page number.
Editor * editor(const char *libname)
Helper function for the EditorChooser.
Definition: ktexteditor.cpp:173
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.