• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Types | Public Member Functions | Friends | List of all members
KateAttribute Class Reference

#include <kateattribute.h>

Inherited by KateArbitraryHighlightRange, and KateHlItemData.

Public Types

enum  items {
  Weight = 0x1, Bold = 0x2, Italic = 0x4, Underline = 0x8,
  StrikeOut = 0x10, Outline = 0x20, TextColor = 0x40, SelectedTextColor = 0x80,
  BGColor = 0x100, SelectedBGColor = 0x200, Overline = 0x400
}
 

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:
  • kateattribute.h
  • kateattribute.cpp

kate

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

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kate by doxygen 1.8.8
This website is maintained by Timothy Pearson.