summaryrefslogtreecommitdiffstats
path: root/src/kio_sword.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/kio_sword.h
parentb9d8d75902c4603fa10c63735873816556a7468c (diff)
downloadtdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.tar.gz
tdeio-sword-e03da7a558d79e399e3704a5b2f35646e92dacb7.zip
Initial TQt conversion
Diffstat (limited to 'src/kio_sword.h')
-rw-r--r--src/kio_sword.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/kio_sword.h b/src/kio_sword.h
index 469c58d..5996c38 100644
--- a/src/kio_sword.h
+++ b/src/kio_sword.h
@@ -29,8 +29,8 @@
#include <kconfig.h>
#include <kio/slavebase.h>
-#include <qstring.h>
-#include <qcstring.h>
+#include <ntqstring.h>
+#include <ntqcstring.h>
namespace KioSword {
class Template;
@@ -38,26 +38,26 @@ namespace KioSword {
class SwordProtocol : public KIO::SlaveBase {
public:
- SwordProtocol(const QCString & pool_socket,
- const QCString & app_socket);
+ SwordProtocol(const TQCString & pool_socket,
+ const TQCString & app_socket);
virtual ~SwordProtocol();
virtual void mimetype(const KURL & url);
virtual void get(const KURL & url);
protected:
- void data(const QCString& text);
- void data(const QByteArray& text);
+ void data(const TQCString& text);
+ void data(const TQByteArray& text);
void parseURL(const KURL & url);
void readUserConfig();
- QString saveUserConfig();
+ TQString saveUserConfig();
void sendPage(const Template* tmplt);
- QString helpPage();
- QString pageLinks(const SwordOptions& options);
- QString searchForm(const SwordOptions& options);
- QString settingsForm();
+ TQString helpPage();
+ TQString pageLinks(const SwordOptions& options);
+ TQString searchForm(const SwordOptions& options);
+ TQString settingsForm();
typedef enum { QUERY,
REDIRECT_QUERY,
@@ -71,18 +71,18 @@ namespace KioSword {
SwordOptions m_options;
ActionType m_action;
DefModuleType m_moduletype;
- QString m_path;
+ TQString m_path;
Renderer::SearchType m_stype;
KURL m_baseurl;
struct {
- QString query;
- QString module;
+ TQString query;
+ TQString module;
} m_previous;
struct {
- QString query;
- QString module;
+ TQString query;
+ TQString module;
} m_redirect;
KConfig *m_config;