KVIrc  4.9.2
DeveloperAPIs
Public Types | Public Member Functions | Protected Attributes | List of all members
AliasEditorTreeWidgetItem Class Reference

#include <AliasEditorWindow.h>

+ Inheritance diagram for AliasEditorTreeWidgetItem:

Public Types

enum  Type { Alias, Namespace }
 

Public Member Functions

 AliasEditorTreeWidgetItem (QTreeWidget *pTreeWidget, Type eType, const QString &szName)
 
 AliasEditorTreeWidgetItem (AliasEditorTreeWidgetItem *pParentItem, Type eType, const QString &szName)
 
const QString & buffer ()
 
const int & cursorPosition ()
 
bool isAlias ()
 
bool isNamespace ()
 
const QString & name ()
 
AliasEditorTreeWidgetItemparentItem ()
 
void setBuffer (const QString &szBuffer)
 
void setCursorPosition (const int &cPos)
 
void setName (const QString &szName)
 
void setParentItem (AliasEditorTreeWidgetItem *it)
 
void setType (Type t)
 
Type type ()
 
 ~AliasEditorTreeWidgetItem ()
 

Protected Attributes

int m_cPos
 
Type m_eType
 
AliasEditorTreeWidgetItemm_pParentItem
 
QString m_szBuffer
 
QString m_szName
 

Member Enumeration Documentation

Enumerator
Alias 
Namespace 

Constructor & Destructor Documentation

AliasEditorTreeWidgetItem::AliasEditorTreeWidgetItem ( QTreeWidget *  pTreeWidget,
Type  eType,
const QString &  szName 
)
AliasEditorTreeWidgetItem::AliasEditorTreeWidgetItem ( AliasEditorTreeWidgetItem pParentItem,
Type  eType,
const QString &  szName 
)
AliasEditorTreeWidgetItem::~AliasEditorTreeWidgetItem ( )
inline

Member Function Documentation

const QString& AliasEditorTreeWidgetItem::buffer ( )
inline
const int& AliasEditorTreeWidgetItem::cursorPosition ( )
inline

References m_cPos.

bool AliasEditorTreeWidgetItem::isAlias ( )
inline
bool AliasEditorTreeWidgetItem::isNamespace ( )
inline
const QString& AliasEditorTreeWidgetItem::name ( )
inline
AliasEditorTreeWidgetItem* AliasEditorTreeWidgetItem::parentItem ( )
inline
void AliasEditorTreeWidgetItem::setBuffer ( const QString &  szBuffer)
inline
void AliasEditorTreeWidgetItem::setCursorPosition ( const int &  cPos)
inline

References m_cPos.

Referenced by AliasEditorWidget::renameItem().

void AliasEditorTreeWidgetItem::setName ( const QString &  szName)

References m_szName.

Referenced by AliasEditorTreeWidgetItem().

void AliasEditorTreeWidgetItem::setParentItem ( AliasEditorTreeWidgetItem it)
inline

References m_pParentItem.

void AliasEditorTreeWidgetItem::setType ( Type  t)
Type AliasEditorTreeWidgetItem::type ( )
inline

References m_eType.

Member Data Documentation

int AliasEditorTreeWidgetItem::m_cPos
protected
Type AliasEditorTreeWidgetItem::m_eType
protected

Referenced by isAlias(), isNamespace(), setType(), and type().

AliasEditorTreeWidgetItem* AliasEditorTreeWidgetItem::m_pParentItem
protected

Referenced by parentItem(), and setParentItem().

QString AliasEditorTreeWidgetItem::m_szBuffer
protected

Referenced by buffer(), and setBuffer().

QString AliasEditorTreeWidgetItem::m_szName
protected

Referenced by name(), and setName().


The documentation for this class was generated from the following files: