kmail

KMEdit Class Reference

#include <kmedit.h>

Inheritance diagram for KMEdit:

List of all members.


Public Slots

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

Signals

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

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Definition at line 25 of file kmedit.h.


Constructor & Destructor Documentation

KMEdit::KMEdit ( QWidget parent = 0,
KMComposeWin composer = 0,
KSpellConfig *  spellConfig = 0,
const char *  name = 0 
)

Definition at line 212 of file kmedit.cpp.

KMEdit::~KMEdit (  ) 

Definition at line 299 of file kmedit.cpp.


Member Function Documentation

void KMEdit::addSuggestion ( const QString text,
const QStringList lst,
unsigned  int 
) [slot]

Definition at line 286 of file kmedit.cpp.

void KMEdit::attachPNGImageData ( const QByteArray image  )  [signal]

int KMEdit::autoSpellChecking ( bool  on  ) 

Toggle automatic spellchecking.

Definition at line 489 of file kmedit.cpp.

QString KMEdit::brokenText (  ) 

Text with lines breaks inserted after every row.

Definition at line 311 of file kmedit.cpp.

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 534 of file kmedit.cpp.

void KMEdit::clear (  )  [slot]

Definition at line 590 of file kmedit.cpp.

void KMEdit::contentsDragEnterEvent ( QDragEnterEvent e  ) 

Drag and drop methods.

Definition at line 59 of file kmedit.cpp.

void KMEdit::contentsDragMoveEvent ( QDragMoveEvent e  ) 

Definition at line 69 of file kmedit.cpp.

void KMEdit::contentsDropEvent ( QDropEvent e  ) 

Definition at line 142 of file kmedit.cpp.

void KMEdit::contentsMouseReleaseEvent ( QMouseEvent e  )  [protected]

Definition at line 614 of file kmedit.cpp.

QPopupMenu * KMEdit::createPopupMenu ( const QPoint pos  ) 

Definition at line 267 of file kmedit.cpp.

void KMEdit::cut (  )  [slot]

Definition at line 583 of file kmedit.cpp.

void KMEdit::del (  )  [slot]

Definition at line 597 of file kmedit.cpp.

void KMEdit::deleteAutoSpellChecking (  ) 

Definition at line 280 of file kmedit.cpp.

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

Event filter that does Tab-key handling.

Definition at line 347 of file kmedit.cpp.

void KMEdit::focusChanged ( bool   )  [signal]

void KMEdit::focusUp (  )  [signal]

void KMEdit::initializeAutoSpellChecking (  )  [slot]

Definition at line 235 of file kmedit.cpp.

void KMEdit::insertSnippet (  )  [signal]

void KMEdit::keyPressEvent ( QKeyEvent e  )  [protected]

Definition at line 79 of file kmedit.cpp.

unsigned int KMEdit::lineBreakColumn (  )  const

Definition at line 336 of file kmedit.cpp.

void KMEdit::paste (  )  [slot]

Definition at line 604 of file kmedit.cpp.

void KMEdit::pasteImage (  )  [signal]

void KMEdit::setCursorPositionFromStart ( unsigned int  pos  ) 

set cursor to absolute position pos

Definition at line 756 of file kmedit.cpp.

void KMEdit::setExternalEditorPath ( const QString path  )  [inline]

Definition at line 52 of file kmedit.h.

void KMEdit::setSpellCheckingActive ( bool  spellCheckingActive  ) 

Definition at line 291 of file kmedit.cpp.

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

For the external editor.

Definition at line 51 of file kmedit.h.

void KMEdit::slotCorrected ( const QString oldWord,
const QString newWord,
unsigned int  pos 
) [slot]

Definition at line 632 of file kmedit.cpp.

void KMEdit::slotExternalEditorDone ( KProcess *  proc  )  [slot]

Definition at line 520 of file kmedit.cpp.

void KMEdit::slotMisspelling ( const QString text,
const QStringList lst,
unsigned int  pos 
) [slot]

Definition at line 623 of file kmedit.cpp.

void KMEdit::slotSpellcheck2 ( KSpell *   )  [slot]

Definition at line 661 of file kmedit.cpp.

void KMEdit::slotSpellDone (  )  [slot]

Definition at line 720 of file kmedit.cpp.

void KMEdit::slotSpellResult ( const QString s  )  [slot]

Definition at line 691 of file kmedit.cpp.

void KMEdit::spellcheck (  ) 

Start the spell checker.

Definition at line 552 of file kmedit.cpp.

void KMEdit::spellcheck_done ( int  result  )  [signal]


The documentation for this class was generated from the following files: