KDE3Support
k3textedit.cpp
Go to the documentation of this file.
361 void K3TextEdit::spellCheckerMisspelling( const QString &text, const QStringList &, unsigned int pos )
366 void K3TextEdit::spellCheckerCorrected( const QString &oldWord, const QString &newWord, unsigned int pos )
QString i18n(const char *text)
int paragraphLength(int para) const
virtual void undo()
const KShortcut & deleteWordForward()
void setPalette(const QPalette &)
bool checkSpellingEnabled() const
Returns true if spell checking is enabled for this text edit.
Definition: k3textedit.cpp:305
const KShortcut & next()
virtual void setReadOnly(bool readOnly)
Reimplemented to set a proper "deactivated" background color.
Definition: k3textedit.cpp:310
virtual void contentsWheelEvent(QWheelEvent *)
Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom.
Definition: k3textedit.cpp:254
virtual void keyPressEvent(QKeyEvent *)
Reimplemented to catch "delete word" key events.
Definition: k3textedit.cpp:75
void setColor(ColorGroup group, ColorRole role, const QColor &color)
virtual void redo()
const KShortcut & forwardWord()
QString text() const
const KShortcut & redo()
const KShortcut & undo()
void unsetPalette()
virtual void moveCursor(Q3TextEdit::CursorAction action, bool select)
virtual void contentsWheelEvent(QWheelEvent *e)
const QColor & color(ColorGroup group, ColorRole role) const
void setCheckSpellingEnabled(bool check)
Turns spell checking for this text edit on or off.
Definition: k3textedit.cpp:275
bool isReadOnly() const
bool hasFocus() const
Qt::ButtonState state() const
bool ownPalette() const
void ignore()
QWidget * topLevelWidget() const
virtual void setTabChangesFocus(bool b)
QClipboard * clipboard()
virtual void deleteWordForward()
Deletes a word forwards from the current cursor position, if available.
Definition: k3textedit.cpp:202
bool inherits(const char *className) const
virtual void copy()
const KShortcut & endOfLine()
virtual Q3PopupMenu * createPopupMenu()
This is just a reimplementation of a deprecated method from Q3TextEdit and is just here to keep sourc...
Definition: k3textedit.cpp:249
virtual void focusInEvent(QFocusEvent *event)
bool isEmpty() const
virtual void cut()
static bool wheelMouseZooms()
const KShortcut & backwardWord()
const KShortcut & beginningOfLine()
QPoint pos() const
virtual void keyPressEvent(QKeyEvent *e)
void highLightWord(unsigned int length, unsigned int pos)
Definition: k3textedit.cpp:406
QColor color() const
virtual void paste()
const KShortcut & copy()
static void setAutoHideCursor(QWidget *w, bool enable, bool customEventFilter=false)
int key() const
void accept()
K3TextEdit(const QString &text, const QString &context=QString(), QWidget *parent=0, const char *name=0)
Constructs a K3TextEdit object.
Definition: k3textedit.cpp:55
void getCursorPosition(int *para, int *index) const
const KShortcut & cut()
QString text(Mode mode) const
virtual Q3PopupMenu * createPopupMenu()
virtual void setPalette(const QPalette &palette)
Reimplemented for tracking custom palettes.
Definition: k3textedit.cpp:262
const KShortcut & deleteWordBack()
virtual void insert(const QString &text, uint insertionFlags)
const KShortcut & prior()
const KShortcut & pasteSelection()
virtual void setSelection(int paraFrom, int indexFrom, int paraTo, int indexTo, int selNum)
virtual void contentsWheelEvent(QWheelEvent *e)
Dictionary sensitive text highlighter.
Definition: k3syntaxhighlighter.h:92
int length() const
virtual void removeSelection(int selNum)
virtual void removeSelectedText(int selNum)
virtual bool check(const QString &_buffer, bool usedialog=true)
Spellchecks a buffer of many words in plain text format.
Definition: k3spell.cpp:1082
virtual void focusInEvent(QFocusEvent *)
Reimplemented to instantiate a KDictSpellingHighlighter, if spellchecking is enabled.
Definition: k3textedit.cpp:297
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int lines() const
const KShortcut & end()
const KShortcut & paste()
const KShortcut & begin()
virtual void deleteWordBack()
Deletes a word backwards from the current cursor position, if available.
Definition: k3textedit.cpp:195
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.