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)
Editor * editor(const char *libname)
Helper function for the EditorChooser.
Definition: ktexteditor.cpp:173
KSharedConfigPtr config()
void setMinimumSize(const QSize &)
KService::List query(const QString &mimeType, const QString &genericServiceType=QString::fromLatin1("Application"), const QString &constraint=QString()) const
bool isEmpty() const
static KMimeTypeTrader * self()
typedef Iterator
iterator end()
QString library() const
virtual QSize sizeHint() const
void readAppSetting(const QString &postfix=QString())
Read the configuration from the application's config file.
Definition: editorchooser.cpp:96
QByteArray toLatin1() const
friend class PrivateEditorChooser
Definition: editorchooser.h:90
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
iterator begin()
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.