KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviCustomToolBarDescriptor Class Reference

#include <KviCustomToolBarDescriptor.h>

Public Member Functions

KviPointerList< QString > * actions ()
 
bool addAction (const QString &szAction)
 
void clear ()
 
KviCustomToolBarcreateToolBar ()
 
const QString & iconId ()
 
const QString & id ()
 
int internalId ()
 
const QString & label ()
 
const QString & labelCode ()
 
bool removeAction (const QString &szAction)
 
bool removeAction (unsigned int iAction)
 
void rename (const QString &szNewName)
 
void setIconId (const QString &szIconId)
 
KviCustomToolBartoolBar ()
 
void updateToolBar ()
 
 ~KviCustomToolBarDescriptor ()
 

Protected Member Functions

void createLabelScript (const QString &szNewLabelCode)
 
void fillToolBar ()
 
 KviCustomToolBarDescriptor (const QString &szId, const QString &szLabelCode)
 
bool load (KviConfigurationFile *cfg)
 
void registerToolBar (KviCustomToolBar *t)
 
void save (KviConfigurationFile *cfg)
 
void unregisterToolBar (KviCustomToolBar *t)
 

Protected Attributes

bool m_bVisibleAtStartup
 
int m_iInternalId
 
KviPointerList< QString > * m_pActions
 
KviKvsScriptm_pLabelScript
 
KviCustomToolBarm_pToolBar
 
QString m_szIconId
 
QString m_szId
 
QString m_szParsedLabel
 

Friends

class KviCustomToolBar
 
class KviCustomToolBarManager
 

Constructor & Destructor Documentation

KviCustomToolBarDescriptor::KviCustomToolBarDescriptor ( const QString &  szId,
const QString &  szLabelCode 
)
protected
KviCustomToolBarDescriptor::~KviCustomToolBarDescriptor ( )

Member Function Documentation

KviPointerList<QString>* KviCustomToolBarDescriptor::actions ( )
inline
bool KviCustomToolBarDescriptor::addAction ( const QString &  szAction)
void KviCustomToolBarDescriptor::clear ( )
void KviCustomToolBarDescriptor::createLabelScript ( const QString &  szNewLabelCode)
protected
KviCustomToolBar * KviCustomToolBarDescriptor::createToolBar ( )
void KviCustomToolBarDescriptor::fillToolBar ( )
protected
const QString& KviCustomToolBarDescriptor::iconId ( )
inline
const QString& KviCustomToolBarDescriptor::id ( )
inline
int KviCustomToolBarDescriptor::internalId ( )
inline
const QString & KviCustomToolBarDescriptor::label ( )
const QString & KviCustomToolBarDescriptor::labelCode ( )
bool KviCustomToolBarDescriptor::load ( KviConfigurationFile cfg)
protected
void KviCustomToolBarDescriptor::registerToolBar ( KviCustomToolBar t)
protected

References m_pToolBar, and t().

Referenced by KviCustomToolBar::KviCustomToolBar().

bool KviCustomToolBarDescriptor::removeAction ( const QString &  szAction)
bool KviCustomToolBarDescriptor::removeAction ( unsigned int  iAction)
void KviCustomToolBarDescriptor::rename ( const QString &  szNewName)
void KviCustomToolBarDescriptor::save ( KviConfigurationFile cfg)
protected
void KviCustomToolBarDescriptor::setIconId ( const QString &  szIconId)
inline
KviCustomToolBar* KviCustomToolBarDescriptor::toolBar ( )
inline
void KviCustomToolBarDescriptor::unregisterToolBar ( KviCustomToolBar t)
protected
void KviCustomToolBarDescriptor::updateToolBar ( )

References fillToolBar(), and m_pToolBar.

Friends And Related Function Documentation

friend class KviCustomToolBar
friend

Referenced by createToolBar().

friend class KviCustomToolBarManager
friend

Member Data Documentation

bool KviCustomToolBarDescriptor::m_bVisibleAtStartup
protected
int KviCustomToolBarDescriptor::m_iInternalId
protected
KviPointerList<QString>* KviCustomToolBarDescriptor::m_pActions
protected
KviKvsScript* KviCustomToolBarDescriptor::m_pLabelScript
protected
KviCustomToolBar* KviCustomToolBarDescriptor::m_pToolBar
protected
QString KviCustomToolBarDescriptor::m_szIconId
protected

Referenced by load(), and save().

QString KviCustomToolBarDescriptor::m_szId
protected
QString KviCustomToolBarDescriptor::m_szParsedLabel
protected

Referenced by label().


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