summaryrefslogtreecommitdiffstats
path: root/src/template.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-23 00:43:43 +0200
commite03da7a558d79e399e3704a5b2f35646e92dacb7 (patch)
treee9948950e8947f6978fa3270605d04f94216515b /src/template.h
parentb9d8d75902c4603fa10c63735873816556a7468c (diff)
downloadtdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.tar.gz
tdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.zip
Initial TQt conversion
Diffstat (limited to 'src/template.h')
-rw-r--r--src/template.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/template.h b/src/template.h
index a803795..310db4a 100644
--- a/src/template.h
+++ b/src/template.h
@@ -24,8 +24,8 @@
#ifndef KS_TEMPLATE_H
#define KS_TEMPLATE_H
-#include <qstring.h>
-#include <qcstring.h>
+#include <ntqstring.h>
+#include <ntqcstring.h>
namespace KioSword {
@@ -35,19 +35,19 @@ namespace KioSword {
/** Template used to generate page to be returned */
class Template {
private:
- QString m_title;
- QString m_content;
- QString m_nav;
- QString m_currentPath;
+ TQString m_title;
+ TQString m_content;
+ TQString m_nav;
+ TQString m_currentPath;
bool m_showToggles;
public:
Template();
- void setContent(const QString& content);
- void setNav(const QString& nav);
- void setTitle(const QString& title);
- void setCurrentPath(const QString& currentPath);
+ void setContent(const TQString& content);
+ void setNav(const TQString& nav);
+ void setTitle(const TQString& title);
+ void setCurrentPath(const TQString& currentPath);
void setShowToggles(bool showToggles);
- QCString render(const SwordOptions& options) const;
+ TQCString render(const SwordOptions& options) const;
};
}