diff options
Diffstat (limited to 'src/renderer.h')
-rw-r--r-- | src/renderer.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/renderer.h b/src/renderer.h index d3e398f..7eb9faa 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -29,8 +29,8 @@ #include <swmodule.h> #include <versekey.h> -#include <qstring.h> -#include <qstringlist.h> +#include <ntqstring.h> +#include <ntqstringlist.h> #include <functional> #include <vector> @@ -71,16 +71,16 @@ namespace KioSword { * @param options Options for rendering text * @param tmplt Output parameter that should be filled with title and content */ - void moduleQuery(const QString &module, const QString &ref, const SwordOptions &options, Template* tmplt); + void moduleQuery(const TQString &module, const TQString &ref, const SwordOptions &options, Template* tmplt); - QString search(const QString &module, const QString &query, SearchType stype, const SwordOptions &options); + TQString search(const TQString &module, const TQString &query, SearchType stype, const SwordOptions &options); /** Return an HTML snippet containing a hyperlinked table of modules */ - QString listModules(const SwordOptions &options); + TQString listModules(const SwordOptions &options); void setOptions(const SwordOptions &options); - QStringList moduleList(); - QStringList availableLocales(); + TQStringList moduleList(); + TQStringList availableLocales(); protected: @@ -89,31 +89,31 @@ namespace KioSword { void setModuleFilter(sword::SWModule *module, const SwordOptions* options); ModuleType getModuleType(sword::SWModule *module); - QString indexBible(sword::SWModule *module, const SwordOptions& options); - QString indexBook(sword::SWModule *module, const SwordOptions& options); - QString indexTree(sword::SWModule *module, const SwordOptions& options, bool fromTop, const int depth = -1); + TQString indexBible(sword::SWModule *module, const SwordOptions& options); + TQString indexBook(sword::SWModule *module, const SwordOptions& options); + TQString indexTree(sword::SWModule *module, const SwordOptions& options, bool fromTop, const int depth = -1); - void verseQuery(sword::SWModule *module, const QString &query, const SwordOptions &options, - ModuleType modtype, Template* tmplt, QString &navlinks); - void treeQuery(sword::SWModule *module, const QString &query, const SwordOptions &options, - ModuleType modtype, Template* tmplt, QString &navlinks); - void normalQuery(sword::SWModule *module, const QString &query, const SwordOptions &options, - ModuleType modtype, Template* tmplt, QString &navlinks); + void verseQuery(sword::SWModule *module, const TQString &query, const SwordOptions &options, + ModuleType modtype, Template* tmplt, TQString &navlinks); + void treeQuery(sword::SWModule *module, const TQString &query, const SwordOptions &options, + ModuleType modtype, Template* tmplt, TQString &navlinks); + void normalQuery(sword::SWModule *module, const TQString &query, const SwordOptions &options, + ModuleType modtype, Template* tmplt, TQString &navlinks); - static QString renderText(sword::SWModule *module); - static QString chapterList(const QString &modname, const sword::VerseKey *vk, const SwordOptions& options); + static TQString renderText(sword::SWModule *module); + static TQString chapterList(const TQString &modname, const sword::VerseKey *vk, const SwordOptions& options); - static QString chapterLink(const QString &modname, const sword::VerseKey *vk, const SwordOptions& options); - static QString chapterLink(const QString &modname, const sword::SWKey *sk, const SwordOptions& options); + static TQString chapterLink(const TQString &modname, const sword::VerseKey *vk, const SwordOptions& options); + static TQString chapterLink(const TQString &modname, const sword::SWKey *sk, const SwordOptions& options); - static QString bookLink(const QString &modname, const sword::VerseKey *vk, const SwordOptions& options); - static QString bookLink(const QString &modname, const sword::SWKey *sk, const SwordOptions& options); + static TQString bookLink(const TQString &modname, const sword::VerseKey *vk, const SwordOptions& options); + static TQString bookLink(const TQString &modname, const sword::SWKey *sk, const SwordOptions& options); - static QString bookChapter(const sword::SWKey *sk); - static QString bookChapter(const sword::VerseKey *vk); + static TQString bookChapter(const sword::SWKey *sk); + static TQString bookChapter(const sword::VerseKey *vk); - static QString bookName(const sword::SWKey *sk); - static QString bookName(const sword::VerseKey *vk); + static TQString bookName(const sword::SWKey *sk); + static TQString bookName(const sword::VerseKey *vk); FilterBase *m_osisfilter; FilterBase *m_gbffilter; @@ -123,7 +123,7 @@ namespace KioSword { std::set<sword::SWModule *, std::less<sword::SWModule *> > m_modset; std::vector<const char *> m_moduleTypes; - std::vector<QString> m_moduleTypeNames; + std::vector<TQString> m_moduleTypeNames; }; } |