• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KSpellDlg Class Reference

#include <kspelldlg.h>

Inheritance diagram for KSpellDlg:

Inheritance graph
[legend]

List of all members.


Public Slots

void slotProgress (unsigned int p)

Signals

void command (int)
void ready (bool)

Public Member Functions

void init (const QString &_word, QStringList *_sugg, const QString &context)
void init (const QString &_word, QStringList *_sugg)
 KSpellDlg (QWidget *parent, const char *name, bool _progressbar=false, bool _modal=false)
QString replacement () const
void standby ()
 ~KSpellDlg ()

Protected Slots

void add ()
void cancel ()
void ignore ()
void ignoreAll ()
void replace ()
void replaceAll ()
void slotConfigChanged ()
void slotSelectionChanged (QListViewItem *item)
void stop ()
void suggest ()
void textChanged (const QString &)

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
void done (int i)

Detailed Description

Definition at line 46 of file kspelldlg.h.


Constructor & Destructor Documentation

KSpellDlg::KSpellDlg ( QWidget *  parent,
const char *  name,
bool  _progressbar = false,
bool  _modal = false 
)

Definition at line 51 of file kspelldlg.cpp.

KSpellDlg::~KSpellDlg (  ) 

Definition at line 107 of file kspelldlg.cpp.


Member Function Documentation

void KSpellDlg::add (  )  [protected, slot]

Definition at line 236 of file kspelldlg.cpp.

void KSpellDlg::cancel (  )  [protected, slot]

Force closing the dialog, setting its result code to the one Esc would set.

You shouldn't use this, generally (let the user make his choice!) but it can be useful when you need to make a choice after a timeout has happened, or when the parent widget has to go somewhere else (e.g. html redirections).

Since:
3.1

Reimplemented from KDialogBase.

Definition at line 244 of file kspelldlg.cpp.

void KSpellDlg::closeEvent ( QCloseEvent *  e  )  [protected, virtual]

Detects when a dialog is being closed from the window manager controls.

If the Cancel or Close button is present then the button is activated. Otherwise standard QDialog behavior will take place.

Reimplemented from KDialogBase.

Definition at line 211 of file kspelldlg.cpp.

void KSpellDlg::command ( int   )  [signal]

This signal is emitted when a button is pressed.

void KSpellDlg::done ( int  i  )  [protected]

Reimplemented from QDialog.

Definition at line 217 of file kspelldlg.cpp.

void KSpellDlg::ignore (  )  [protected, slot]

Definition at line 222 of file kspelldlg.cpp.

void KSpellDlg::ignoreAll (  )  [protected, slot]

Definition at line 229 of file kspelldlg.cpp.

void KSpellDlg::init ( const QString &  _word,
QStringList *  _sugg,
const QString &  context 
)

Definition at line 147 of file kspelldlg.cpp.

void KSpellDlg::init ( const QString &  _word,
QStringList *  _sugg 
)

Change the misspelled word and suggested replacements and enable the disabled buttons on the dialog box.

(Buttons are disabled by standby().)

Definition at line 114 of file kspelldlg.cpp.

void KSpellDlg::ready ( bool   )  [signal]

void KSpellDlg::replace (  )  [protected, slot]

Definition at line 251 of file kspelldlg.cpp.

void KSpellDlg::replaceAll (  )  [protected, slot]

Definition at line 265 of file kspelldlg.cpp.

QString KSpellDlg::replacement (  )  const [inline]

Definition at line 66 of file kspelldlg.h.

void KSpellDlg::slotConfigChanged (  )  [protected, slot]

Definition at line 279 of file kspelldlg.cpp.

void KSpellDlg::slotProgress ( unsigned int  p  )  [slot]

Adjust the progress bar to p percent.

Definition at line 183 of file kspelldlg.cpp.

void KSpellDlg::slotSelectionChanged ( QListViewItem *  item  )  [protected, slot]

Definition at line 200 of file kspelldlg.cpp.

void KSpellDlg::standby (  )  [inline]

Definition at line 78 of file kspelldlg.h.

void KSpellDlg::stop (  )  [protected, slot]

Definition at line 258 of file kspelldlg.cpp.

void KSpellDlg::suggest (  )  [protected, slot]

Definition at line 272 of file kspelldlg.cpp.

void KSpellDlg::textChanged ( const QString &   )  [protected, slot]

Definition at line 192 of file kspelldlg.cpp.


The documentation for this class was generated from the following files:
  • kspelldlg.h
  • kspelldlg.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal