kmail

KMEdit Class Reference

Inheritance diagram for KMEdit:

KEdit List of all members.

Detailed Description

Definition at line 25 of file kmedit.h.


Public Slots

void initializeAutoSpellChecking ()
void slotSpellcheck2 (KSpell *)
void slotSpellResult (const QString &)
void slotSpellDone ()
void slotExternalEditorDone (KProcess *)
void slotMisspelling (const QString &, const QStringList &, unsigned int)
void slotCorrected (const QString &, const QString &, unsigned int)
void addSuggestion (const QString &text, const QStringList &lst, unsigned int)
void cut ()
void clear ()
void del ()
void paste ()

Signals

void spellcheck_done (int result)
void attachPNGImageData (const QByteArray &image)
void pasteImage ()
void focusUp ()
void focusChanged (bool)
void selectionAvailable (bool)
void insertSnippet ()

Public Member Functions

 KMEdit (QWidget *parent=0, KMComposeWin *composer=0, KSpellConfig *spellConfig=0, const char *name=0)
 ~KMEdit ()
void spellcheck ()
QString brokenText ()
int autoSpellChecking (bool)
void setUseExternalEditor (bool use)
void setExternalEditorPath (const QString &path)
bool checkExternalEditorFinished ()
QPopupMenu * createPopupMenu (const QPoint &)
void setSpellCheckingActive (bool spellCheckingActive)
void contentsDragEnterEvent (QDragEnterEvent *e)
void contentsDragMoveEvent (QDragMoveEvent *e)
void contentsDropEvent (QDropEvent *e)
void deleteAutoSpellChecking ()
unsigned int lineBreakColumn () const
void setCursorPositionFromStart (unsigned int pos)

Protected Member Functions

bool eventFilter (QObject *, QEvent *)
void keyPressEvent (QKeyEvent *)
void contentsMouseReleaseEvent (QMouseEvent *e)

Member Function Documentation

void KMEdit::spellcheck (  ) 

Start the spell checker.

Definition at line 553 of file kmedit.cpp.

QString KMEdit::brokenText (  ) 

Text with lines breaks inserted after every row.

Definition at line 312 of file kmedit.cpp.

int KMEdit::autoSpellChecking ( bool   ) 

Toggle automatic spellchecking.

Definition at line 490 of file kmedit.cpp.

void KMEdit::setUseExternalEditor ( bool  use  )  [inline]

For the external editor.

Definition at line 51 of file kmedit.h.

bool KMEdit::checkExternalEditorFinished (  ) 

Check that the external editor has finished and output a warning if it hasn't.

Returns:
false if the user chose to cancel whatever operation called this method.

Definition at line 535 of file kmedit.cpp.

void KMEdit::contentsDragEnterEvent ( QDragEnterEvent *  e  ) 

Drag and drop methods.

Reimplemented from KEdit.

Definition at line 59 of file kmedit.cpp.

void KMEdit::setCursorPositionFromStart ( unsigned int  pos  ) 

set cursor to absolute position pos

Definition at line 757 of file kmedit.cpp.

bool KMEdit::eventFilter ( QObject *  ,
QEvent *   
) [protected]

Event filter that does Tab-key handling.

Definition at line 348 of file kmedit.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys