• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

Public Member Functions | Static Public Member Functions | List of all members
K3SpellingHighlighter Class Referenceabstract

#include <k3syntaxhighlighter.h>

Inheritance diagram for K3SpellingHighlighter:
Inheritance graph
[legend]

Public Member Functions

 K3SpellingHighlighter (Q3TextEdit *textEdit, const QColor &spellColor=Qt::red, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00))
 
 ~K3SpellingHighlighter ()
 
virtual int highlightParagraph (const QString &text, int endStateOfLastPara)
 
bool intraWordEditing () const
 
virtual bool isMisspelled (const QString &word)=0
 
void setIntraWordEditing (bool editing)
 
- Public Member Functions inherited from K3SyntaxHighlighter
 K3SyntaxHighlighter (Q3TextEdit *textEdit, bool colorQuoting=false, const QColor &QuoteColor0=Qt::black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00), SyntaxMode mode=PlainTextMode)
 
 ~K3SyntaxHighlighter ()
 
int highlightParagraph (const QString &text, int endStateOfLastPara)
 
- Public Member Functions inherited from Q3SyntaxHighlighter
 Q3SyntaxHighlighter (Q3TextEdit *textEdit)
 
virtual  ~Q3SyntaxHighlighter ()
 
int currentParagraph () const
 
virtual int highlightParagraph (const QString &text, int endStateOfLastPara)=0
 
void rehighlight ()
 
void setFormat (int start, int count, const QColor &color)
 
void setFormat (int start, int count, const QFont &font, const QColor &color)
 
void setFormat (int start, int count, const QFont &font)
 
Q3TextEdit * textEdit () const
 

Static Public Member Functions

static QStringList personalWords ()
 

Additional Inherited Members

- Public Types inherited from K3SyntaxHighlighter
enum  SyntaxMode { PlainTextMode, RichTextMode }
 

Detailed Description

Definition at line 63 of file k3syntaxhighlighter.h.

Constructor & Destructor Documentation

K3SpellingHighlighter::K3SpellingHighlighter ( Q3TextEdit *  textEdit,
const QColor &  spellColor = Qt::red,
bool  colorQuoting = false,
const QColor &  QuoteColor0 = Qt::black,
const QColor &  QuoteColor1 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  QuoteColor2 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  QuoteColor3 = QColor( 0x00, 0x80, 0x00 ) 
)

Definition at line 167 of file k3syntaxhighlighter.cpp.

K3SpellingHighlighter::~K3SpellingHighlighter ( )

Definition at line 180 of file k3syntaxhighlighter.cpp.

Member Function Documentation

int K3SpellingHighlighter::highlightParagraph ( const QString &  text,
int  endStateOfLastPara 
)
virtual

Definition at line 185 of file k3syntaxhighlighter.cpp.

bool K3SpellingHighlighter::intraWordEditing ( ) const

Definition at line 405 of file k3syntaxhighlighter.cpp.

virtual bool K3SpellingHighlighter::isMisspelled ( const QString &  word)
pure virtual

Implemented in K3DictSpellingHighlighter.

QStringList K3SpellingHighlighter::personalWords ( )
static

Definition at line 232 of file k3syntaxhighlighter.cpp.

void K3SpellingHighlighter::setIntraWordEditing ( bool  editing)

Definition at line 410 of file k3syntaxhighlighter.cpp.


The documentation for this class was generated from the following files:
  • k3syntaxhighlighter.h
  • k3syntaxhighlighter.cpp
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

KDE's Doxygen guidelines are available online.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal