KVIrc  4.9.2
DeveloperAPIs
Classes | Namespaces | Macros | Functions
KviTheme.h File Reference
#include "kvi_settings.h"
#include "KviQString.h"
#include "KviHeapObject.h"
#include "kvi_fileextensions.h"
#include "KviApplication.h"
#include "KviFileUtils.h"
#include <QPixmap>

Go to the source code of this file.

Classes

class  KviThemeInfo
 A set of information about a KVIrc theme. More...
 

Namespaces

 KviTheme
 

Macros

#define KVI_CURRENT_THEME_ENGINE_VERSION   "1.1.0"
 
#define KVI_THEMEDATA_CONFIG_GROUP   "ThemeData"
 
#define KVI_THEMEDATA_FILE_NAME   "themedata" KVI_FILEEXTENSION_CONFIG
 
#define KVI_THEMEINFO_CONFIG_GROUP   "ThemeInfo"
 
#define KVI_THEMEINFO_FILE_NAME   "themeinfo" KVI_FILEEXTENSION_CONFIG
 

Functions

bool KviTheme::apply (const QString &szThemeDir, KviThemeInfo::Location eLocation, KviThemeInfo &buffer)
 
void KviTheme::installedThemeDirectories (QStringList &slThemes, KviThemeInfo::Location eLocation)
 
bool KviTheme::save (KviThemeInfo &options, bool bSaveIcons)
 
bool KviTheme::saveScreenshots (KviThemeInfo &options, const QString &szOriginalScreenshotPath)
 

Macro Definition Documentation

#define KVI_CURRENT_THEME_ENGINE_VERSION   "1.1.0"

The current theme engine version: bump up if you make INCOMPATIBLE changes in the method of saving the theme.

Referenced by ThemeFunctions::installThemePackage(), KviThemeInfo::load(), ThemeFunctions::packageThemes(), and KviThemeInfo::save().

#define KVI_THEMEDATA_CONFIG_GROUP   "ThemeData"

Referenced by KviTheme::apply(), and KviTheme::save().

#define KVI_THEMEDATA_FILE_NAME   "themedata" KVI_FILEEXTENSION_CONFIG
#define KVI_THEMEINFO_CONFIG_GROUP   "ThemeInfo"
#define KVI_THEMEINFO_FILE_NAME   "themeinfo" KVI_FILEEXTENSION_CONFIG