KDE3Support
k3sconfig.cpp
Go to the documentation of this file.
167 clientcombo->addItem( i18nc("@item:inlistbox Spell checker", "International <application>Ispell</application>") );
168 clientcombo->addItem( i18nc("@item:inlistbox Spell checker", "<application>Aspell</application>") );
169 clientcombo->addItem( i18nc("@item:inlistbox Spell checker", "<application>Hspell</application>") );
170 clientcombo->addItem( i18nc("@item:inlistbox Spell checker", "<application>Zemberek</application>") );
171 clientcombo->addItem( i18nc("@item:inlistbox Spell checker", "<application>Hunspell</application>") );
351 lname="si"; hname=i18nc("@item Spelling dictionary", "Slovenian"); sChangeEncoding(KS_E_LATIN2);
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void sync()
K3SpellConfig(QWidget *parent=0, K3SpellConfig *spellConfig=0, bool addHelpButton=true)
Constructs a K3SpellConfig with default or custom settings.
Definition: k3sconfig.cpp:76
bool interpret(const QString &fname, QString &lname, QString &hname)
This takes a dictionary file name and provides both a language abbreviation appropriate for the $LANG...
Definition: k3sconfig.cpp:275
void truncate(int position)
QString path() const
int width() const
void configChanged()
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void setFile(const QString &file)
bool writeGlobalSettings()
Call this method before this class is deleted if you want the settings you have (or the user has) cho...
Definition: k3sconfig.cpp:220
void removeFirst()
void setMinimumWidth(int minw)
void clear()
void writeEntry(const QString &key, const QVariant &value, WriteConfigFlags pFlags=Normal)
iterator erase(iterator pos)
void fillDicts(QComboBox *box, QStringList *dictionaries=0)
Get the translated dictionary names and, optionally, the corresponding internal dictionary names...
Definition: k3sconfig.cpp:673
QString countryCodeToName(const QString &country) const
QString & remove(int position, int n)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString languageCodeToName(const QString &language) const
void setItemText(int index, const QString &text)
Definition: k3sconfig.h:62
static void invokeHelp(const QString &anchor=QString(), const QString &appname=QString(), const QByteArray &startup_id=QByteArray())
QString i18nc(const char *ctxt, const char *text)
KSharedConfigPtr config()
QString filePath() const
void addItem(const QString &text, const QVariant &userData)
void setBuddy(QWidget *buddy)
Definition: k3sconfig.h:44
void setEnabled(bool)
Definition: k3sconfig.h:61
void append(const T &value)
Definition: k3sconfig.h:63
Definition: k3sconfig.h:57
bool empty() const
bool isDir() const
void setObjectName(const QString &name)
bool isEmpty() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
T & first()
QString language() const
Definition: k3sconfig.h:53
void setMargin(int margin)
QString right(int n) const
bool exists() const
void setDictionary(const QString qs)
Set the name of the dictionary to use.
Definition: k3sconfig.cpp:935
KLocale * locale()
void setChecked(bool)
void setIgnoreList(const QStringList &_ignorelist)
Options setting routines.
Definition: k3sconfig.cpp:1163
KGuiItem help()
Definition: k3sconfig.h:42
QString mid(int position, int n) const
void setReplaceAllList(const QStringList &_replaceAllList)
The _replaceAllList contains word you like that replace word.
Definition: k3sconfig.cpp:1175
QString dir(const QString &fileClass)
void setInsertPolicy(InsertPolicy policy)
void setCurrentIndex(int index)
void activateHelp(void)
Use this function to activate the help information for this widget.
Definition: k3sconfig.cpp:1123
int length() const
QString left(int n) const
int indexOf(const QRegExp &rx, int from) const
void prepend(const T &value)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
T readEntry(const QString &key, const T &aDefault) const
iterator begin()
virtual QSize sizeHint() const
Definition: k3sconfig.h:64
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 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:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.