diff options
Diffstat (limited to 'src/template.cpp')
-rw-r--r-- | src/template.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/template.cpp b/src/template.cpp index 8c5090d..aa329d0 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -29,7 +29,7 @@ #include <klocale.h> #include <kstandarddirs.h> -#include <qstring.h> +#include <ntqstring.h> namespace KioSword { @@ -51,7 +51,7 @@ namespace KioSword { static const char* TOGGLES = "{$toggles}"; // static HTML fragments ------------------------------------------------------------------------------------------------------- - static const QString &html_page(QString("") + + static const TQString &html_page(TQString("") + "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" " // make W3C valid "\"http://www.w3.org/TR/html4/strict.dtd\">\n" "<html><head>\n" @@ -82,12 +82,12 @@ namespace KioSword { m_showToggles = false; } - QCString Template::render(const SwordOptions& options) const + TQCString Template::render(const SwordOptions& options) const { - QString cssdir = KGlobal::dirs()->findResourceDir("data", "kio_sword/kio_sword.css") + "kio_sword/"; + TQString cssdir = KGlobal::dirs()->findResourceDir("data", "kio_sword/kio_sword.css") + "kio_sword/"; - QString output = html_page; + TQString output = html_page; output = output .replace(HOMELINK, swordUrl("", options)) .replace(HOMELINKCAPTION, i18n("Module list")) @@ -114,7 +114,7 @@ namespace KioSword { } if (m_showToggles) { - QString toggles; + TQString toggles; SwordOptions toggledOptions(options); toggledOptions.verseNumbers.set(!toggledOptions.verseNumbers()); @@ -147,22 +147,22 @@ namespace KioSword { return output.utf8(); } - void Template::setTitle(const QString& title) + void Template::setTitle(const TQString& title) { m_title = title; } - void Template::setContent(const QString& content) + void Template::setContent(const TQString& content) { m_content = content; } - void Template::setNav(const QString& nav) + void Template::setNav(const TQString& nav) { m_nav = nav; } - void Template::setCurrentPath(const QString& currentPath) + void Template::setCurrentPath(const TQString& currentPath) { m_currentPath = currentPath; } |