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 connect(d->ui.cmbReplacement, &KComboBox::returnPressed, this, &SpellCheckBar::slotReplaceWord);
354 d->replaceAllMap.insert_or_assign(d->currentWord.word, d->ui.cmbReplacement->lineEdit()->text());
406 // NOTE this is HACK I had to introduce because BackgroundChecker lacks 'virtual' marks on methods
435 QMessageBox::information(this, i18n("Spell check complete."), i18nc("@title:window", "Check Spelling"));
void returnPressed(const QString &text)
void setText(const QString &text)
void misspelling(const QString &word, int start)
void done()
virtual void continueChecking()
QString language() const
QMap< QString, QString > availableDictionaries() const
bool addToPersonal(const QString &word)
void setSpellCheckContinuedAfterReplacement(bool b)
Controls whether the spell checking is continued after the replacement of a misspelled word has been ...
Definition spellcheckbar.cpp:218
void showSpellCheckCompletionMessage(bool b=true)
Controls whether a message box indicating the completion of the spell checking is shown or not.
Definition spellcheckbar.cpp:213
void languageChanged(const QString &language)
Emitted when the user changes the language used for spellchecking, which is shown in a combobox of th...
void spellCheckStatus(const QString &)
Signal sends when spell checking is finished/stopped/completed.
void done(const QString &newBuffer)
The dialog won't be closed if you setBuffer() in slot connected to this signal.
void showProgressDialog(int timeout=500)
Controls whether an (indefinite) progress dialog is shown when the spell checking takes longer than t...
Definition spellcheckbar.cpp:208
Q_SCRIPTABLE Q_NOREPLY void start()
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
void clicked(bool checked)
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
void textActivated(const QString &text)
void setModal(bool modal)
void addWidget(QWidget *w)
void setContentsMargins(const QMargins &margins)
T & first()
bool isEmpty() const const
StandardButton information(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
QObject * parent() const const
void setAutoClose(bool close)
void setAutoReset(bool reset)
void canceled()
void setLabelText(const QString &text)
void setMinimumDuration(int ms)
void reset()
void setRange(int minimum, int maximum)
void setValue(int progress)
bool isEmpty() const const
void setStringList(const QStringList &strings)
typedef ItemFlags
QWidget(QWidget *parent, Qt::WindowFlags f)
void setEnabled(bool)
void hide()
QLayout * layout() const const
updatesEnabled
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.