25 #include <QtGui/QTextEdit> 
   27 #define HAVE_SHOWTABACTION 1 
   28 #define HAVE_AUTOCORRECTFEATURE 1 
   29 #define HAVE_FORCESPELLCHECKING 1 
   30 #define HAVE_MOUSEPOPUPMENUIMPLEMENTATION 1 
   93     Q_PROPERTY( 
QString clickMessage READ clickMessage WRITE setClickMessage )
 
   94     Q_PROPERTY( 
bool checkSpellingEnabled READ checkSpellingEnabled WRITE setCheckSpellingEnabled )
 
   95     Q_PROPERTY( 
QString spellCheckingLanguage READ spellCheckingLanguage WRITE setSpellCheckingLanguage )
 
  118     virtual 
void setReadOnly( 
bool readOnly );
 
  134     void setCheckSpellingEnabled( 
bool check );
 
  147     bool checkSpellingEnabled() const;
 
  157     void highlightWord( 
int length, 
int pos );
 
  172     void setSpellCheckingConfigFileName(const 
QString &fileName);
 
  188     virtual 
void createHighlighter();
 
  198     Sonnet::Highlighter* highlighter() const;
 
  213     void setHighlighter(Sonnet::Highlighter *_highLighter);
 
  219     QMenu *mousePopupMenu();
 
  225     void enableFindReplace( 
bool enabled);
 
  243     const 
QString& spellCheckingLanguage() const;
 
  251     void setClickMessage(const 
QString &msg);
 
  263     void showTabAction(
bool show);
 
  268     void showAutoCorrectButton(
bool show);
 
  275     void forceSpellChecking();
 
  283      void checkSpellingChanged( 
bool );
 
  289      void spellCheckStatus(const 
QString &);
 
  298      void languageChanged(const QString &language);
 
  313     void aboutToShowContextMenu(
QMenu* menu);
 
  318     void spellCheckerAutoCorrect(const QString& currentWord, const QString& autoCorrectWord);
 
  324     void spellCheckingFinished();
 
  330     void spellCheckingCanceled();
 
  342     void setSpellCheckingLanguage(const QString &language);
 
  348     void checkSpelling();
 
  364     void showSpellConfigDialog(const QString &configFileName,
 
  365                                const QString &windowIcon = QString());
 
  379     void mousePopupMenuImplementation(const 
QPoint& pos);
 
  385     void slotDoReplace();
 
  386     void slotReplaceNext();
 
  394     void slotSpeakText();
 
  400     virtual 
bool event(QEvent*);
 
  405     virtual 
void paintEvent(QPaintEvent *);
 
  406     virtual 
void focusOutEvent(QFocusEvent *);
 
  411     virtual 
void keyPressEvent( QKeyEvent* );
 
  417     virtual 
void focusInEvent( QFocusEvent* );
 
  423     virtual 
void wheelEvent( QWheelEvent* );
 
  441     virtual 
void contextMenuEvent( QContextMenuEvent* );
 
  454     void setCheckSpellingEnabledInternal(
bool check);
 
  461     bool checkSpellingEnabledInternal() const;
 
  467     Q_PRIVATE_SLOT( d, 
void spellCheckerMisspelling( const QString&, 
int ) )
 
  468     Q_PRIVATE_SLOT( d, 
void spellCheckerCorrected(const QString&, 
int,const QString&) )
 
  469     Q_PRIVATE_SLOT( d, 
void spellCheckerCanceled())
 
  470     Q_PRIVATE_SLOT( d, 
void spellCheckerAutoCorrect(const QString&,const QString&) )
 
  471     Q_PRIVATE_SLOT( d, 
void spellCheckerFinished() )
 
  472     Q_PRIVATE_SLOT( d, 
void undoableClear() )
 
  473     Q_PRIVATE_SLOT( d, 
void toggleAutoSpellCheck() )
 
  474     Q_PRIVATE_SLOT( d, 
void slotAllowTab() )
 
  475     Q_PRIVATE_SLOT( d, 
void menuActivated( 
QAction* ) )
 
  476     Q_PRIVATE_SLOT( d, 
void slotFindHighlight(const QString&, 
int, 
int))
 
  477     Q_PRIVATE_SLOT( d, 
void slotReplaceText(const QString &, 
int, 
int, 
int))
 
  480 #endif // KTEXTEDIT_H 
const KShortcut & deleteWordForward()
Delete a word forward from mouse/cursor position. 
This interface is a workaround to keep binary compatibility in KDE4, because adding the virtual keywo...
virtual bool shouldBlockBeSpellChecked(const QString &block) const =0
Returns true if the given paragraph or block should be spellcheck. 
virtual void setSpellCheckingEnabled(bool enable)=0
Sets whether to enable spellchecking for the KTextEdit. 
virtual bool isSpellCheckingEnabled() const =0
virtual ~KTextEditSpellInterface()
KAction * replace(const QObject *recvr, const char *slot, QObject *parent)
Find and replace matches. 
const KShortcut & deleteWordBack()
Delete a word back from mouse/cursor position.