• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Types | Public Member Functions | Static Public Member Functions | List of all members
KateExtendedAttribute Class Reference

#include <kateextendedattribute.h>

Inherits Attribute.

Public Types

enum  InternalProperties { AttributeName = AttributeInternalProperty, AttributeDefaultStyleIndex, Spellchecking }
 
typedef KSharedPtr
< KateExtendedAttribute > 
Ptr
 

Public Member Functions

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

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

Definition at line 38 of file kateextendedattribute.h.

Member Enumeration Documentation

enum KateExtendedAttribute::InternalProperties
Enumerator
AttributeName 
AttributeDefaultStyleIndex 
Spellchecking 

Definition at line 42 of file kateextendedattribute.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file kateextendedattribute.cpp.

Member Function Documentation

int KateExtendedAttribute::defaultStyleIndex ( ) const

Definition at line 69 of file kateextendedattribute.cpp.

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

Definition at line 34 of file kateextendedattribute.cpp.

bool KateExtendedAttribute::isDefaultStyle ( ) const

Definition at line 64 of file kateextendedattribute.cpp.

QString KateExtendedAttribute::name ( ) const

Definition at line 54 of file kateextendedattribute.cpp.

bool KateExtendedAttribute::performSpellchecking ( ) const

Definition at line 79 of file kateextendedattribute.cpp.

void KateExtendedAttribute::setDefaultStyleIndex ( int  index)

Definition at line 74 of file kateextendedattribute.cpp.

void KateExtendedAttribute::setName ( const QString &  name)

Definition at line 59 of file kateextendedattribute.cpp.

void KateExtendedAttribute::setPerformSpellchecking ( bool  spellchecking)

Definition at line 84 of file kateextendedattribute.cpp.


The documentation for this class was generated from the following files:
  • kateextendedattribute.h
  • kateextendedattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal