KVIrc
4.9.2
DeveloperAPIs
|
Functions | |
void | getThemeHtmlDescription (QString &szBuffer, const QString &szThemeName, const QString &szThemeVersion, const QString &szThemeDescription, const QString &szThemeSubdirectory, const QString &szThemeApplication, const QString &szThemeAuthor, const QString &szThemeDate, const QString &szThemeThemeEngineVersion, const QPixmap &pixScreenshot, int iUniqueIndexInDocument, KviHtmlDialogData *hd) |
bool | installThemePackage (const QString &szThemePackageFileName, QString &szError, QWidget *pDialogParent) |
bool | makeKVIrcScreenshot (const QString &szSavePngFilePath, bool bMaximizeFrame) |
static bool | notAValidThemePackage (QString &szError) |
bool | packageThemes (const QString &szPackagePath, const QString &szPackageName, const QString &szPackageVersion, const QString &szPackageDescription, const QString &szPackageAuthor, const QString &szPackageImagePath, KviPointerList< KviThemeInfo > &lThemeInfoList, QString &szError) |
void ThemeFunctions::getThemeHtmlDescription | ( | QString & | szBuffer, |
const QString & | szThemeName, | ||
const QString & | szThemeVersion, | ||
const QString & | szThemeDescription, | ||
const QString & | szThemeSubdirectory, | ||
const QString & | szThemeApplication, | ||
const QString & | szThemeAuthor, | ||
const QString & | szThemeDate, | ||
const QString & | szThemeThemeEngineVersion, | ||
const QPixmap & | pixScreenshot, | ||
int | iUniqueIndexInDocument, | ||
KviHtmlDialogData * | hd | ||
) |
References __tr2qs_ctx(), and KviHtmlDialogData::addImageResource().
Referenced by installThemePackage(), and PackThemeDataWidget::parseThemes().
bool ThemeFunctions::installThemePackage | ( | const QString & | szThemePackageFileName, |
QString & | szError, | ||
QWidget * | pDialogParent | ||
) |
References __tr2qs_ctx(), KviHtmlDialogData::addHtmlResource(), KviHtmlDialogData::addImageResource(), KviPackageIOEngine::binaryInfoFields(), KviMiscUtils::compareVersions(), KviHtmlDialog::display(), KviQString::equalCI(), KviPointerHashTable< Key, T >::find(), KviHtmlDialogData::ForceMinimumSize, g_pApp, g_pIconManager, KviIconManager::getBigIcon(), KviApplication::getLocalKvircDirectory(), KviIconManager::getSmallIcon(), KviPackageReader::getStringInfoField(), getThemeHtmlDescription(), KviHtmlDialogData::iCancelButton, KviHtmlDialogData::iDefaultButton, KviHtmlDialogData::iFlags, KviHtmlDialogData::iMinimumHeight, KviHtmlDialogData::iMinimumWidth, KVI_BIGICON_THEME, KVI_CURRENT_THEME_ENGINE_VERSION, KviPackageIOEngine::lastError(), notAValidThemePackage(), KviHtmlDialogData::pixIcon, r, KviPackageReader::readHeader(), KviPackageIOEngine::stringInfoFields(), KviHtmlDialogData::szButton1Text, KviHtmlDialogData::szButton2Text, KviHtmlDialogData::szCaption, KviHtmlDialogData::szHtmlText, KviHtmlDialogData::szLowerLabelText, KviHtmlDialogData::szUpperLabelText, KviIconManager::Theme, KviApplication::Themes, and KviPackageReader::unpack().
Referenced by ThemeManagementDialog::installFromFile(), and theme_kvs_cmd_install().
bool ThemeFunctions::makeKVIrcScreenshot | ( | const QString & | szSavePngFilePath, |
bool | bMaximizeFrame | ||
) |
References g_pMainWindow.
Referenced by SaveThemeDialog::makeScreenshot(), and theme_kvs_cmd_screenshot().
|
static |
References __tr2qs_ctx().
Referenced by installThemePackage().
bool ThemeFunctions::packageThemes | ( | const QString & | szPackagePath, |
const QString & | szPackageName, | ||
const QString & | szPackageVersion, | ||
const QString & | szPackageDescription, | ||
const QString & | szPackageAuthor, | ||
const QString & | szPackageImagePath, | ||
KviPointerList< KviThemeInfo > & | lThemeInfoList, | ||
QString & | szError | ||
) |
References __tr2qs_ctx(), KviPackageWriter::addDirectory(), KviPackageWriter::addInfoField(), KviPointerList< T >::count(), f, KviPointerList< T >::first(), KVI_CURRENT_THEME_ENGINE_VERSION, KVI_SOURCES_DATE, KVI_VERSION, KviPackageIOEngine::lastError(), KviPointerList< T >::next(), KviPackageWriter::pack(), and KviStringConversion::toString().
Referenced by PackThemeDialog::packTheme(), and theme_kvs_cmd_pack().