1 #ifndef _KVI_DEFAULTSCRIPT_H_
2 #define _KVI_DEFAULTSCRIPT_H_
102 unsigned int count() {
return m_uCount; };
108 bool isDefscriptUpToDate();
129 void load(
const QString & szConfigFile);
136 void loadEmptyConfig();
145 void save(
const QString & szConfigFile);
155 void restoreInternal();
225 void toggleAll(
bool);
241 virtual void accept();
250 virtual void reject();
253 #endif // _KVI_DEFAULTSCRIPT_H_
QPushButton * m_pAdvancedButton
Definition: KviDefaultScript.h:217
A dialog which allow the user to choose which elements to restore.
Definition: KviDefaultScript.h:188
QString m_szToolbar
Definition: KviDefaultScript.h:77
KviDefaultScriptDialog * m_pDialog
Definition: KviDefaultScript.h:67
#define KVIRC_API
Definition: kvi_settings.h:128
QString m_szPopup
Definition: KviDefaultScript.h:75
QCheckBox * m_pPopup
Definition: KviDefaultScript.h:214
QString m_szAlias
Definition: KviDefaultScript.h:72
QCheckBox * m_pAll
Definition: KviDefaultScript.h:207
Definition: KviConfigurationFile.h:48
QString m_szClass
Definition: KviDefaultScript.h:73
QString m_szAddon
Definition: KviDefaultScript.h:71
QCheckBox * m_pToolbar
Definition: KviDefaultScript.h:216
QString m_szDate
Definition: KviDefaultScript.h:69
unsigned int count()
Returns the number of instances of the class.
Definition: KviDefaultScript.h:102
static KviDefaultScriptManager * instance()
Returns the instance of the class.
Definition: KviDefaultScript.h:96
QCheckBox * m_pClass
Definition: KviDefaultScript.h:212
QString m_szVersion
Definition: KviDefaultScript.h:68
QCheckBox * m_pRaw
Definition: KviDefaultScript.h:215
void done()
Definition: KviKvs.cpp:50
static unsigned int m_uCount
Definition: KviDefaultScript.h:64
bool save(KviThemeInfo &options, bool bSaveIcons)
Definition: KviOptions.cpp:986
QCheckBox * m_pAlias
Definition: KviDefaultScript.h:211
int compareVersions(const QString &szVersion1, const QString &szVersion2)
Compares two x.y.z... version strings The function behaves like strcmp: it returns 0 when the version...
Definition: KviMiscUtils.cpp:31
The manager who handles the restoring of the default script.
Definition: KviDefaultScript.h:47
QString m_szAction
Definition: KviDefaultScript.h:70
QCheckBox * m_pData
Definition: KviDefaultScript.h:208
bool m_bConfigFileMissing
Definition: KviDefaultScript.h:66
QString m_szRaw
Definition: KviDefaultScript.h:76
QCheckBox * m_pEvent
Definition: KviDefaultScript.h:213
QString m_szEvent
Definition: KviDefaultScript.h:74
int init()
Definition: winamp.cpp:118
This file contains compile time settings.
QGroupBox * m_pAdvanced
Definition: KviDefaultScript.h:206
QCheckBox * m_pAddon
Definition: KviDefaultScript.h:210
bool m_bNoNeedToRestore
Definition: KviDefaultScript.h:65
static KviDefaultScriptManager * m_pSelf
Definition: KviDefaultScript.h:63
QCheckBox * m_pAction
Definition: KviDefaultScript.h:209