summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/parser/htmlparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/parser/htmlparser.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/parser/htmlparser.h')
-rw-r--r--klinkstatus/src/parser/htmlparser.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/klinkstatus/src/parser/htmlparser.h b/klinkstatus/src/parser/htmlparser.h
index cf487ebf..c9e5ef10 100644
--- a/klinkstatus/src/parser/htmlparser.h
+++ b/klinkstatus/src/parser/htmlparser.h
@@ -21,7 +21,7 @@
#ifndef HTML_PARSER_H
#define HTML_PARSER_H
-#include <qstring.h>
+#include <tqstring.h>
#include <vector>
@@ -42,7 +42,7 @@ class HtmlParser
public:
HtmlParser();
- HtmlParser(QString const& documento);
+ HtmlParser(TQString const& documento);
~HtmlParser();
vector<Node*> const& nodes() const;
@@ -58,18 +58,18 @@ public:
* Convenience function for performance as it only parse in order
* to get the charset.
*/
- static QString findCharsetInMetaElement(QString const& html);
+ static TQString findCharsetInMetaElement(TQString const& html);
// test:
void mostra() const;
private:
- vector<QString> const& parseNodesOfType(QString const& element);
+ vector<TQString> const& parseNodesOfType(TQString const& element);
/**
* Vector nodes passed for performance.
*/
- static void parseNodesOfType(QString const& element, QString const& doc, vector<QString>& nodes);
+ static void parseNodesOfType(TQString const& element, TQString const& doc, vector<TQString>& nodes);
void parseNodesOfTypeA();
void parseNodesOfTypeAREA();
@@ -89,20 +89,20 @@ private:
e.g.
endOfTag("<img src=\"bad > luck\">") => 22 (not 15)
*/
- static int endOfTag(QString const& s, int index = 0, QChar end_of_tag = '>');
+ static int endOfTag(TQString const& s, int index = 0, TQChar end_of_tag = '>');
private:
- vector<QString> aux_; // for what the hell is this? looks ugly... maybe I was drunk, can't remember
+ vector<TQString> aux_; // for what the hell is this? looks ugly... maybe I was drunk, can't remember
vector<Node*> nodes_;
NodeBASE node_BASE_;
NodeTITLE node_TITLE_;
NodeMETA node_META_content_type_;
bool is_content_type_set_;
- QString document_;
- QString script_; // Fica aqui guardado (JavaScript, etc)
- QString comments_;
+ TQString document_;
+ TQString script_; // Fica aqui guardado (JavaScript, etc)
+ TQString comments_;
};