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

Kate

KateExtendedAttribute Class Reference

An extension of the KTextEditor::Attribute class, with convenience functions for access to extra kate-specific information, and a parent heirachy system for display in the config. More...

#include <kateextendedattribute.h>

Inheritance diagram for KateExtendedAttribute:
KTextEditor::Attribute QTextCharFormat KShared

List of all members.

Public Types

enum  DefaultStyle {
  dsNormal, dsKeyword, dsDataType, dsDecVal,
  dsBaseN, dsFloat, dsChar, dsString,
  dsComment, dsOthers, dsAlert, dsFunction,
  dsRegionMarker, dsError
}
enum  InternalProperties { AttributeName = AttributeInternalProperty, AttributeDefaultStyleIndex }
typedef KSharedPtr
< KateExtendedAttribute > 
Ptr

Public Member Functions

int defaultStyleIndex () const
bool isDefaultStyle () const
 KateExtendedAttribute (const QString &name, int defaultStyleIndex=-1)
QString name () const
void setDefaultStyleIndex (int index)
void setName (const QString &name)

Static Public Member Functions

static int indexForStyleName (const QString &name)

Detailed Description

An extension of the KTextEditor::Attribute class, with convenience functions for access to extra kate-specific information, and a parent heirachy system for display in the config.

Definition at line 35 of file kateextendedattribute.h.


Member Typedef Documentation

typedef KSharedPtr<KateExtendedAttribute> KateExtendedAttribute::Ptr

Reimplemented from KTextEditor::Attribute.

Definition at line 38 of file kateextendedattribute.h.


Member Enumeration Documentation

enum KateExtendedAttribute::DefaultStyle
Enumerator:
dsNormal 
dsKeyword 
dsDataType 
dsDecVal 
dsBaseN 
dsFloat 
dsChar 
dsString 
dsComment 
dsOthers 
dsAlert 
dsFunction 
dsRegionMarker 
dsError 

Definition at line 42 of file kateextendedattribute.h.

enum KateExtendedAttribute::InternalProperties
Enumerator:
AttributeName 
AttributeDefaultStyleIndex 

Definition at line 59 of file kateextendedattribute.h.


Constructor & Destructor Documentation

KateExtendedAttribute::KateExtendedAttribute ( const QString &  name,
int  defaultStyleIndex = -1 
) [explicit]

Definition at line 25 of file kateextendedattribute.cpp.


Member Function Documentation

int KateExtendedAttribute::defaultStyleIndex (  )  const

Definition at line 66 of file kateextendedattribute.cpp.

int KateExtendedAttribute::indexForStyleName ( const QString &  name  )  [static]

Definition at line 31 of file kateextendedattribute.cpp.

bool KateExtendedAttribute::isDefaultStyle (  )  const

Definition at line 61 of file kateextendedattribute.cpp.

QString KateExtendedAttribute::name (  )  const

Definition at line 51 of file kateextendedattribute.cpp.

void KateExtendedAttribute::setDefaultStyleIndex ( int  index  ) 

Definition at line 71 of file kateextendedattribute.cpp.

void KateExtendedAttribute::setName ( const QString &  name  ) 

Definition at line 56 of file kateextendedattribute.cpp.


The documentation for this class was generated from the following files:
  • kateextendedattribute.h
  • kateextendedattribute.cpp

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal