From c601b5a27f74b16158adafe429faefbe573e64a2 Mon Sep 17 00:00:00 2001 From: Szymon Tomasz Stefanek Date: Sat, 1 Jan 2011 20:19:56 +0000 Subject: The big rename for modules. Still some details remaining. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/theme/libkvitheme.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/theme/libkvitheme.cpp') diff --git a/src/modules/theme/libkvitheme.cpp b/src/modules/theme/libkvitheme.cpp index f21979048..d17b3fe7f 100644 --- a/src/modules/theme/libkvitheme.cpp +++ b/src/modules/theme/libkvitheme.cpp @@ -23,7 +23,7 @@ //============================================================================= #include "managementdialog.h" -#include "themefunctions.h" +#include "ThemeFunctions.h" #include "KviMessageBox.h" #include "KviModule.h" @@ -70,7 +70,7 @@ static bool theme_kvs_cmd_install(KviKvsModuleCommandCall * c) KVSM_PARAMETERS_END(c) QString szError; - if(!KviThemeFunctions::installThemePackage(szThemePackFile,szError)) + if(!ThemeFunctions::installThemePackage(szThemePackFile,szError)) { c->error(__tr2qs_ctx("Error installing theme package: %Q","theme"),&szError); return false; @@ -245,7 +245,7 @@ static bool theme_kvs_cmd_screenshot(KviKvsModuleCommandCall * c) szFileName+=".png"; QString szError; - if(!KviThemeFunctions::makeKVIrcScreenshot(szFileName)) + if(!ThemeFunctions::makeKVIrcScreenshot(szFileName)) { c->error(__tr2qs_ctx("Error making screenshot","theme")); // FIXME: a nicer error ? return false; @@ -273,7 +273,7 @@ static bool theme_kvs_cmd_screenshot(KviKvsModuleCommandCall * c) static bool theme_kvs_cmd_dialog(KviKvsModuleCommandCall *c) { - KviThemeManagementDialog::display(c->hasSwitch('t',"toplevel")); + ThemeManagementDialog::display(c->hasSwitch('t',"toplevel")); return true; } @@ -297,7 +297,7 @@ static bool theme_module_init(KviModule *m) static bool theme_module_cleanup(KviModule *m) { - KviThemeManagementDialog::cleanup(); + ThemeManagementDialog::cleanup(); QString szBuf; m->getDefaultConfigFileName(szBuf); @@ -309,7 +309,7 @@ static bool theme_module_cleanup(KviModule *m) static bool theme_module_can_unload(KviModule *) { - return (!KviThemeManagementDialog::instance()); + return (!ThemeManagementDialog::instance()); } -- cgit v1.3.1-10-gc9f91