diff options
Diffstat (limited to 'klinkstatus/src/parser/htmlparser.h')
-rw-r--r-- | klinkstatus/src/parser/htmlparser.h | 20 |
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_; }; |