KateAttribute Class Reference
#include <kateattribute.h>
Inherited by KateArbitraryHighlightRange, and KateHlItemData.
Public Member Functions | |
TQFont | font (const TQFont &ref) |
int | width (KateFontStruct &fs, const TQString &text, int col, int tabWidth) const |
int | width (KateFontStruct &fs, const TQChar &c, int tabWidth) const |
bool | itemSet (int item) const |
bool | isSomethingSet () const |
int | itemsSet () const |
void | clearAttribute (int item) |
int | weight () const |
void | setWeight (int weight) |
bool | bold () const |
void | setBold (bool enable=true) |
bool | italic () const |
void | setItalic (bool enable=true) |
bool | overline () const |
void | setOverline (bool enable=true) |
bool | underline () const |
void | setUnderline (bool enable=true) |
bool | strikeOut () const |
void | setStrikeOut (bool enable=true) |
const TQColor & | outline () const |
void | setOutline (const TQColor &color) |
const TQColor & | textColor () const |
void | setTextColor (const TQColor &color) |
const TQColor & | selectedTextColor () const |
void | setSelectedTextColor (const TQColor &color) |
const TQColor & | bgColor () const |
void | setBGColor (const TQColor &color) |
const TQColor & | selectedBGColor () const |
void | setSelectedBGColor (const TQColor &color) |
KateAttribute & | operator+= (const KateAttribute &a) |
virtual void | changed () |
bool | isChanged () |
void | clear () |
Friends | |
bool | operator== (const KateAttribute &h1, const KateAttribute &h2) |
bool | operator!= (const KateAttribute &h1, const KateAttribute &h2) |
Detailed Description
The Attribute class incorporates all text decorations supported by Kate.
TODO: store the actual font as well. TODO: update changed mechanism - use separate bitfield
Definition at line 32 of file kateattribute.h.
The documentation for this class was generated from the following files: