.TH "KateAttribute" kde3 "11 Jun 2005" "Version Version 3.4.1" "kate Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KateAttribute \- The Attribute class incorporates all text decorations supported by \fBKate\fP.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kateattribute.h>\fP
.PP
Inherited by KateArbitraryHighlightRange, and KateHlItemData.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBitems\fP { \fBWeight\fP =  0x1, \fBBold\fP =  0x2, \fBItalic\fP =  0x4, \fBUnderline\fP =  0x8, \fBStrikeOut\fP =  0x10, \fBOutline\fP =  0x20, \fBTextColor\fP =  0x40, \fBSelectedTextColor\fP =  0x80, \fBBGColor\fP =  0x100, \fBSelectedBGColor\fP =  0x200, \fBOverline\fP =  0x400 }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQFont\fP \fBfont\fP (const \fBQFont\fP &ref)"
.br
.ti -1c
.RI "int \fBwidth\fP (KateFontStruct &fs, const \fBQString\fP &text, int col, int tabWidth) const "
.br
.ti -1c
.RI "int \fBwidth\fP (KateFontStruct &fs, const \fBQChar\fP &c, int tabWidth) const "
.br
.ti -1c
.RI "bool \fBitemSet\fP (int item) const "
.br
.ti -1c
.RI "bool \fBisSomethingSet\fP () const "
.br
.ti -1c
.RI "int \fBitemsSet\fP () const "
.br
.ti -1c
.RI "void \fBclearAttribute\fP (int item)"
.br
.ti -1c
.RI "int \fBweight\fP () const "
.br
.ti -1c
.RI "void \fBsetWeight\fP (int weight)"
.br
.ti -1c
.RI "bool \fBbold\fP () const "
.br
.ti -1c
.RI "void \fBsetBold\fP (bool enable=true)"
.br
.ti -1c
.RI "bool \fBitalic\fP () const "
.br
.ti -1c
.RI "void \fBsetItalic\fP (bool enable=true)"
.br
.ti -1c
.RI "bool \fBoverline\fP () const "
.br
.ti -1c
.RI "void \fBsetOverline\fP (bool enable=true)"
.br
.ti -1c
.RI "bool \fBunderline\fP () const "
.br
.ti -1c
.RI "void \fBsetUnderline\fP (bool enable=true)"
.br
.ti -1c
.RI "bool \fBstrikeOut\fP () const "
.br
.ti -1c
.RI "void \fBsetStrikeOut\fP (bool enable=true)"
.br
.ti -1c
.RI "const \fBQColor\fP & \fBoutline\fP () const "
.br
.ti -1c
.RI "void \fBsetOutline\fP (const \fBQColor\fP &color)"
.br
.ti -1c
.RI "const \fBQColor\fP & \fBtextColor\fP () const "
.br
.ti -1c
.RI "void \fBsetTextColor\fP (const \fBQColor\fP &color)"
.br
.ti -1c
.RI "const \fBQColor\fP & \fBselectedTextColor\fP () const "
.br
.ti -1c
.RI "void \fBsetSelectedTextColor\fP (const \fBQColor\fP &color)"
.br
.ti -1c
.RI "const \fBQColor\fP & \fBbgColor\fP () const "
.br
.ti -1c
.RI "void \fBsetBGColor\fP (const \fBQColor\fP &color)"
.br
.ti -1c
.RI "const \fBQColor\fP & \fBselectedBGColor\fP () const "
.br
.ti -1c
.RI "void \fBsetSelectedBGColor\fP (const \fBQColor\fP &color)"
.br
.ti -1c
.RI "\fBKateAttribute\fP & \fBoperator+=\fP (const \fBKateAttribute\fP &a)"
.br
.ti -1c
.RI "virtual void \fBchanged\fP ()"
.br
.ti -1c
.RI "bool \fBisChanged\fP ()"
.br
.ti -1c
.RI "void \fBclear\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "bool \fBoperator==\fP (const \fBKateAttribute\fP &h1, const \fBKateAttribute\fP &h2)"
.br
.ti -1c
.RI "bool \fBoperator!=\fP (const \fBKateAttribute\fP &h1, const \fBKateAttribute\fP &h2)"
.br
.in -1c
.SH "Detailed Description"
.PP 
The Attribute class incorporates all text decorations supported by \fBKate\fP. 

TODO: store the actual font as well. TODO: update changed mechanism - use separate bitfield 
.PP
Definition at line 32 of file kateattribute.h.

.SH "Author"
.PP 
Generated automatically by Doxygen for kate Library from the source code.
