1 #ifndef _KVI_TEXTICONMANAGER_H_
2 #define _KVI_TEXTICONMANAGER_H_
43 #define TEXTICONMANAGER_CURRENT_CONFIG_UPDATE 9
114 void setId(
int iIcon);
121 void setFilename(QString szFileName);
127 inline QString
filename() {
return m_szFileName; };
135 void setPixmap(QPixmap * pIcon);
151 friend class KviTextIconsOptionsWidget;
179 void checkDefaultAssociations();
193 void insert(
const QString & szName,
int iId);
201 void insert(
const QString & szName,
KviTextIcon & icon);
236 void save(
const QString & szFileName);
247 int load(
const QString & szFileName,
bool bMerge =
false);
256 #ifndef _KVI_TEXTICONMANAGER_CPP_
260 #endif //_KVI_TEXTICONMANAGER_H_
m_pAnimatedPixmap
Definition: KvsObject_pixmap.cpp:110
Definition: KviAnimatedPixmap.h:67
A struct that contains the icon association entries.
Definition: KviTextIconManager.h:50
#define KVIRC_API
Definition: kvi_settings.h:128
KVIRC_API KviTextIconManager * g_pTextIconManager
Definition: KviTextIconManager.cpp:58
The class that manages the icons.
Definition: KviTextIconManager.h:148
KviAnimatedPixmap * m_pAnimatedPixmap
Definition: KviTextIconManager.h:65
KviIconManager::SmallIcon id()
Returns the id of the icon.
Definition: KviTextIconManager.h:99
SmallIcon
Contains all KVIrc's small icons.
Definition: KviIconManager.h:168
QString m_szFileName
Definition: KviTextIconManager.h:64
KviPointerHashTable< QString, KviTextIcon > * textIconDict()
Returns the dictionary of the icons.
Definition: KviTextIconManager.h:173
Text icon window class.
Definition: KviTextIconWindow.h:50
bool save(KviThemeInfo &options, bool bSaveIcons)
Definition: KviOptions.cpp:986
The class that holds the icons.
Definition: KviTextIconManager.h:60
const char * name
Definition: KviTextIconManager.h:52
int iVal
Definition: KviTextIconManager.h:53
KviAnimatedPixmap * animatedPixmap()
Returns the animated pixmap associated to the icon.
Definition: KviTextIconManager.h:141
KviTextIcon * lookupTextIcon(const QString &szName)
Returns the text of the icon.
Definition: KviTextIconManager.h:208
struct _KviTextIconAssocEntry KviTextIconAssocEntry
QString filename()
Returns the filename of the icon.
Definition: KviTextIconManager.h:127
KviPointerHashTable< QString, KviTextIcon > * m_pTextIconDict
Definition: KviTextIconManager.h:166
KviIconManager::SmallIcon m_eIcon
Definition: KviTextIconManager.h:63
This file contains compile time settings.