KTextEditor
spellcheckbar.cpp
159 connect(d->ui.m_language, &Sonnet::DictionaryComboBox::textActivated, this, &SpellCheckBar::slotChangeLanguage);
160 connect(d->checker, &Sonnet::BackgroundChecker::misspelling, this, &SpellCheckBar::slotMisspelling);
167 // TODO KF6 remove QOverload usage here, only KComboBox::returnPressed(const QString &) will remain
168 connect(d->ui.cmbReplacement, qOverload<const QString &>(&KComboBox::returnPressed), this, &SpellCheckBar::slotReplaceWord);
407 // NOTE this is HACK I had to introduce because BackgroundChecker lacks 'virtual' marks on methods
436 QMessageBox::information(this, i18n("Spell check complete."), i18nc("@title:window", "Check Spelling"));
T & first()
void misspelling(const QString &word, int start)
void canceled()
void clicked(bool checked)
Q_SCRIPTABLE Q_NOREPLY void start()
void done()
void textActivated(const QString &text)
void showProgressDialog(int timeout=500)
Controls whether an (indefinite) progress dialog is shown when the spell checking takes longer than t...
Definition: spellcheckbar.cpp:209
void showSpellCheckCompletionMessage(bool b=true)
Controls whether a message box indicating the completion of the spell checking is shown or not.
Definition: spellcheckbar.cpp:214
void hide()
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
KGuiItem cancel()
void deleteLater()
typedef ItemFlags
QString i18n(const char *text, const TYPE &arg...)
bool isEmpty() const const
QAction * replace(const QObject *recvr, const char *slot, QObject *parent)
bool isEmpty() const const
QAction * restart(const QObject *recvr, const char *slot, QObject *parent)
virtual Qt::ItemFlags flags(const QModelIndex &index) const const override
void returnPressed()
void setContentsMargins(int left, int top, int right, int bottom)
bool addToPersonal(const QString &word)
void clear()
QMap< QString, QString > availableDictionaries() const
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString language() const
QMessageBox::StandardButton information(QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton)
void setSpellCheckContinuedAfterReplacement(bool b)
Controls whether the spell checking is continued after the replacement of a misspelled word has been ...
Definition: spellcheckbar.cpp:219
const QList< QKeySequence > & end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 03:48:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 03:48:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.