diff options
| author | 2015-08-27 02:45:18 +0200 | |
|---|---|---|
| committer | 2015-08-27 02:45:18 +0200 | |
| commit | 238e4dfe754ea003cacca06a94d443e381b9c857 (patch) | |
| tree | 722eca44f0e99d252db06ef87288ce84ef2bda3f /src/modules/theme/ThemeFunctions.h | |
| parent | Use the 'bug' icon for bug reporting menu entry (diff) | |
| download | KVIrc-238e4dfe754ea003cacca06a94d443e381b9c857.tar.gz KVIrc-238e4dfe754ea003cacca06a94d443e381b9c857.tar.bz2 KVIrc-238e4dfe754ea003cacca06a94d443e381b9c857.zip | |
Rework the theme management a bit
Diffstat (limited to 'src/modules/theme/ThemeFunctions.h')
| -rw-r--r-- | src/modules/theme/ThemeFunctions.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/modules/theme/ThemeFunctions.h b/src/modules/theme/ThemeFunctions.h index 08cf1b4b9..630fefda7 100644 --- a/src/modules/theme/ThemeFunctions.h +++ b/src/modules/theme/ThemeFunctions.h @@ -27,6 +27,8 @@ #include "kvi_settings.h" #include "KviQString.h" #include "KviHtmlDialog.h" +#include "KviPointerList.h" +#include "KviTheme.h" #include <QWidget> #include <QPixmap> @@ -34,6 +36,7 @@ namespace ThemeFunctions { bool installThemePackage(const QString &szThemePackageFileName,QString &szError,QWidget * pDialogParent = 0); + void getThemeHtmlDescription( QString &szBuffer, const QString &szThemeName, @@ -47,9 +50,20 @@ namespace ThemeFunctions const QPixmap &pixScreenshot, int iUniqueIndexInDocument = 0, KviHtmlDialogData *hd=0 - ); + bool makeKVIrcScreenshot(const QString &szSavePngFilePath,bool bMaximizeFrame = false); + + bool packageThemes( + const QString &szPackagePath, + const QString &szPackageName, + const QString &szPackageVersion, + const QString &szPackageDescription, + const QString &szPackageAuthor, + const QString &szPackageImagePath, + KviPointerList<KviThemeInfo> &lThemeInfo, + QString &szError + ); } |
