\section{Kate\-Attribute Class Reference}
\label{classKateAttribute}\index{KateAttribute@{KateAttribute}}
The Attribute class incorporates all text decorations supported by {\bf Kate}{\rm (p.\,\pageref{namespaceKate})}.  


{\tt \#include $<$kateattribute.h$>$}

Collaboration diagram for Kate\-Attribute:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=84pt]{classKateAttribute__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf items} \{ \par
{\bf Weight} =  0x1, 
{\bf Bold} =  0x2, 
{\bf Italic} =  0x4, 
{\bf Underline} =  0x8, 
\par
{\bf Strike\-Out} =  0x10, 
{\bf Outline} =  0x20, 
{\bf Text\-Color} =  0x40, 
{\bf Selected\-Text\-Color} =  0x80, 
\par
{\bf BGColor} =  0x100, 
{\bf Selected\-BGColor} =  0x200, 
{\bf Overline} =  0x400
 \}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf QFont} {\bf font} (const {\bf QFont} \&ref)\label{classKateAttribute_a2}

\item 
int {\bf width} (Kate\-Font\-Struct \&fs, const {\bf QString} \&text, int col, int tab\-Width) const \label{classKateAttribute_a3}

\item 
int {\bf width} (Kate\-Font\-Struct \&fs, const {\bf QChar} \&c, int tab\-Width) const \label{classKateAttribute_a4}

\item 
bool {\bf item\-Set} (int item) const \label{classKateAttribute_a5}

\item 
bool {\bf is\-Something\-Set} () const \label{classKateAttribute_a6}

\item 
int {\bf items\-Set} () const \label{classKateAttribute_a7}

\item 
void {\bf clear\-Attribute} (int item)\label{classKateAttribute_a8}

\item 
int {\bf weight} () const \label{classKateAttribute_a9}

\item 
void {\bf set\-Weight} (int weight)\label{classKateAttribute_a10}

\item 
bool {\bf bold} () const \label{classKateAttribute_a11}

\item 
void {\bf set\-Bold} (bool enable=true)\label{classKateAttribute_a12}

\item 
bool {\bf italic} () const \label{classKateAttribute_a13}

\item 
void {\bf set\-Italic} (bool enable=true)\label{classKateAttribute_a14}

\item 
bool {\bf overline} () const \label{classKateAttribute_a15}

\item 
void {\bf set\-Overline} (bool enable=true)\label{classKateAttribute_a16}

\item 
bool {\bf underline} () const \label{classKateAttribute_a17}

\item 
void {\bf set\-Underline} (bool enable=true)\label{classKateAttribute_a18}

\item 
bool {\bf strike\-Out} () const \label{classKateAttribute_a19}

\item 
void {\bf set\-Strike\-Out} (bool enable=true)\label{classKateAttribute_a20}

\item 
const {\bf QColor} \& {\bf outline} () const \label{classKateAttribute_a21}

\item 
void {\bf set\-Outline} (const {\bf QColor} \&color)\label{classKateAttribute_a22}

\item 
const {\bf QColor} \& {\bf text\-Color} () const \label{classKateAttribute_a23}

\item 
void {\bf set\-Text\-Color} (const {\bf QColor} \&color)\label{classKateAttribute_a24}

\item 
const {\bf QColor} \& {\bf selected\-Text\-Color} () const \label{classKateAttribute_a25}

\item 
void {\bf set\-Selected\-Text\-Color} (const {\bf QColor} \&color)\label{classKateAttribute_a26}

\item 
const {\bf QColor} \& {\bf bg\-Color} () const \label{classKateAttribute_a27}

\item 
void {\bf set\-BGColor} (const {\bf QColor} \&color)\label{classKateAttribute_a28}

\item 
const {\bf QColor} \& {\bf selected\-BGColor} () const \label{classKateAttribute_a29}

\item 
void {\bf set\-Selected\-BGColor} (const {\bf QColor} \&color)\label{classKateAttribute_a30}

\item 
{\bf Kate\-Attribute} \& {\bf operator+=} (const {\bf Kate\-Attribute} \&a)\label{classKateAttribute_a31}

\item 
virtual void {\bf changed} ()\label{classKateAttribute_a32}

\item 
bool {\bf is\-Changed} ()\label{classKateAttribute_a33}

\item 
void {\bf clear} ()\label{classKateAttribute_a34}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
bool {\bf operator==} (const {\bf Kate\-Attribute} \&h1, const {\bf Kate\-Attribute} \&h2)\label{classKateAttribute_n0}

\item 
bool {\bf operator!=} (const {\bf Kate\-Attribute} \&h1, const {\bf Kate\-Attribute} \&h2)\label{classKateAttribute_n1}

\end{CompactItemize}


\subsection{Detailed Description}
The Attribute class incorporates all text decorations supported by {\bf Kate}{\rm (p.\,\pageref{namespaceKate})}. 

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:\begin{CompactItemize}
\item 
kateattribute.h\item 
kateattribute.cpp\end{CompactItemize}
