5 #ifndef __KMAIL_KMLINEEDITSPELL_H__
6 #define __KMAIL_KMLINEEDITSPELL_H__
8 #include <libtdepim/addresseelineedit.h>
12 class KMLineEdit : public KPIM::AddresseeLineEdit
17 KMLineEdit( bool useCompletion, TQWidget *parent = 0,
18 const char *name = 0);
26 virtual void loadContacts();
28 virtual void keyPressEvent(TQKeyEvent*);
30 virtual TQPopupMenu *createPopupMenu();
33 void editRecentAddresses();
36 void dropEvent( TQDropEvent *event );
37 void insertEmails( const TQStringList & emails );
41 class KMLineEditSpell : public KMLineEdit
46 KMLineEditSpell( bool useCompletion, TQWidget *parent = 0,
47 const char *name = 0);
48 void highLightWord( unsigned int length, unsigned int pos );
49 void spellCheckDone( const TQString &s );
50 void spellCheckerMisspelling( const TQString &text, const TQStringList &, unsigned int pos);
51 void spellCheckerCorrected( const TQString &old, const TQString &corr, unsigned int pos);
54 void subjectTextSpellChecked();
|