KDEUI
dialog.cpp
Go to the documentation of this file.
55 Qt::ItemFlags flags(const QModelIndex& index) const {Q_UNUSED(index); return Qt::ItemIsEnabled | Qt::ItemIsSelectable;}
410 //NOTE this is HACK I had to introduce because BackgroundChecker lacks 'virtual' marks on methods
445 KMessageBox::information(this, i18n("Spell check complete."), i18nc("@title:window", "Check Spelling"));
void setButtonGuiItem(ButtonCode id, const KGuiItem &item)
Sets the KGuiItem directly for the button instead of using 3 methods to set the text,...
Definition kdialog.cpp:699
void setHelp(const QString &anchor, const QString &appname=QString())
Sets the help path and topic.
Definition kdialog.cpp:967
void setButtons(ButtonCodes buttonMask)
Creates (or recreates) the button box and all the buttons in it.
Definition kdialog.cpp:206
@ Cancel
Show Cancel-button. (this button reject()s the dialog; result set to QDialog::Rejected)
Definition kdialog.h:144
void setDefaultButton(ButtonCode id)
Sets the button that will be activated when the Enter key is pressed.
Definition kdialog.cpp:287
virtual void setCaption(const QString &caption)
Make a KDE compliant caption.
Definition kdialog.cpp:469
static void information(QWidget *parent, const QString &text, const QString &caption=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
Display an "Information" dialog.
Definition kmessagebox.cpp:960
void setAutoReset(bool autoReset)
Sets whether the dialog should reset the QProgressBar dialog back to 0 steps compelete when all steps...
Definition kprogressdialog.cpp:201
QProgressBar * progressBar()
Returns the QProgressBar used in this dialog.
Definition kprogressdialog.cpp:161
void setMinimumDuration(int ms)
Set the minimum number of milliseconds to wait before actually showing the dialog.
Definition kprogressdialog.cpp:134
void setAutoClose(bool close)
Sets whether the dialog should close automagically when all the steps in the QProgressBar have been c...
Definition kprogressdialog.cpp:191
virtual void stop()
QString text() const
Speller speller() const
bool addWordToPersonal(const QString &word)
QString currentContext() const
virtual void start()
void setText(const QString &text)
void setSpeller(const Speller &speller)
void changeLanguage(const QString &lang)
void replace(int start, const QString &oldText, const QString &newText)
QStringList suggest(const QString &word) const
virtual void continueChecking()
void autoCorrect(const QString ¤tWord, const QString &replaceWord)
void setSpellCheckContinuedAfterReplacement(bool b)
Controls whether the spell checking is continued after the replacement of a misspelled word has been ...
Definition dialog.cpp:193
void misspelling(const QString &word, int start)
void spellCheckStatus(const QString &)
Signal sends when spell checking is finished/stopped/completed.
void cancel()
void stop()
void showProgressDialog(int timeout=500)
Controls whether an (indefinite) progress dialog is shown when the spell checking takes longer than t...
Definition dialog.cpp:183
void done(const QString &newBuffer)
The dialog won't be closed if you setBuffer() in slot connected to this signal.
void languageChanged(const QString &language)
Emitted when the user changes the language used for spellchecking, which is shown in a combobox of th...
void showSpellCheckCompletionMessage(bool b=true)
Controls whether a message box indicating the completion of the spell checking is shown or not.
Definition dialog.cpp:188
void replace(const QString &oldWord, int start, const QString &newWord)
QMap< QString, QString > availableDictionaries() const
bool addToPersonal(const QString &word)
#define kDebug
int timeout
QString i18n(const char *text)
QString i18nc(const char *ctxt, const char *text)
dialog.cpp
QString word
int start
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.