KTextEditor
editorchooser.cpp
Go to the documentation of this file.
113 cg.writeEntry("DEVELOPER_INFO","NEVER TRY TO USE VALUES FROM THAT GROUP, THEY ARE SUBJECT TO CHANGES");
114 cg.writePathEntry("editor", (d->chooser->editorCombo->currentIndex()<=0) ? //< for broken installations, where editor list is empty
QString i18n(const char *text)
QString readPathEntry(const QString &pKey, const QString &aDefault) const
void changed()
This signal is emitted whenever the selected item in the combo box changed.
void writePathEntry(const QString &pKey, const QString &path, WriteConfigFlags pFlags=Normal)
static KTextEditor::Editor * editor(const QString &postfix=QString(), bool fallBackToKatePart=true)
Static accessor to get the Editor instance of the currently used KTextEditor component.
Definition: editorchooser.cpp:118
static Ptr serviceByDesktopName(const QString &_name)
KConfigGroup group(const QByteArray &group)
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
KTEXTEDITOR_EXPORT Editor * editor(const char *libname)
Helper function for the EditorChooser.
Definition: ktexteditor.cpp:174
KSharedConfigPtr config()
KService::List query(const QString &mimeType, const QString &genericServiceType=QString::fromLatin1("Application"), const QString &constraint=QString()) const
static KMimeTypeTrader * self()
QString library() const
void readAppSetting(const QString &postfix=QString())
Read the configuration from the application's config file.
Definition: editorchooser.cpp:96
friend class PrivateEditorChooser
Definition: editorchooser.h:90
void writeAppSetting(const QString &postfix=QString())
Write the configuration to the application's config file.
Definition: editorchooser.cpp:110
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.