diff options
author | Slávek Banko <[email protected]> | 2013-09-23 00:57:37 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-09-23 00:57:37 +0200 |
commit | 27a1284b96f1542cf60d3501380fd115018e3983 (patch) | |
tree | df3fb83b75fe3173505f85dbeeadf6961588f740 /src/template.cpp | |
parent | e03da7a558d79e399e3704a5b2f35646e92dacb7 (diff) | |
download | tdeio-sword-27a1284b96f1542cf60d3501380fd115018e3983.tar.gz tdeio-sword-27a1284b96f1542cf60d3501380fd115018e3983.zip |
Initial TDE conversion
Diffstat (limited to 'src/template.cpp')
-rw-r--r-- | src/template.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/template.cpp b/src/template.cpp index aa329d0..08e8a89 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -25,8 +25,8 @@ #include "utils.h" #include "swordoptions.h" -#include <kglobal.h> -#include <klocale.h> +#include <tdeglobal.h> +#include <tdelocale.h> #include <kstandarddirs.h> #include <ntqstring.h> @@ -85,7 +85,7 @@ namespace KioSword { TQCString Template::render(const SwordOptions& options) const { - TQString cssdir = KGlobal::dirs()->findResourceDir("data", "kio_sword/kio_sword.css") + "kio_sword/"; + TQString cssdir = TDEGlobal::dirs()->findResourceDir("data", "tdeio_sword/tdeio_sword.css") + "tdeio_sword/"; TQString output = html_page; output = output @@ -97,7 +97,7 @@ namespace KioSword { .replace(SETTINGSLINKCAPTION, i18n("Settings")) .replace(HELPLINK, swordUrlForPage("help", options)) .replace(HELPLINKCAPTION, i18n("Help")) - .replace(BASECSS, cssdir + "kio_sword.css") + .replace(BASECSS, cssdir + "tdeio_sword.css") .replace(PAGETITLE, m_title) .replace(CONTENT, m_content); if (!m_nav.isEmpty()) |