summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/saparser.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 /quanta/parsers/saparser.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 'quanta/parsers/saparser.h')
-rw-r--r--quanta/parsers/saparser.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/parsers/saparser.h b/quanta/parsers/saparser.h
index 50c3dd41..c59a01bc 100644
--- a/quanta/parsers/saparser.h
+++ b/quanta/parsers/saparser.h
@@ -18,9 +18,9 @@
#define SAPARSER_H
//qt includes
-#include <qobject.h>
-#include <qregexp.h>
-#include <qvaluestack.h>
+#include <tqobject.h>
+#include <tqregexp.h>
+#include <tqvaluestack.h>
//own includes
#include "tag.h" //for AreaStruct
@@ -63,8 +63,8 @@ public:
return value: in synchronous case returns the last inserted node, otherwise return 0L.
*/
Node* parseArea(const AreaStruct &specialArea,
- const QString &areaStartString,
- const QString &forcedAreaEndString,
+ const TQString &areaStartString,
+ const TQString &forcedAreaEndString,
Node *parentNode,
bool fullParse, bool synchronous);
/** Returns the line where the last parsing run ended. */
@@ -95,7 +95,7 @@ private:
struct ContextStruct{
int type;
AreaStruct area;
- QString startString;
+ TQString startString;
Node *parentNode;
Node *lastNode;
};
@@ -117,34 +117,34 @@ private:
Node* m_currentNode; ///< the currently parsed script node for details. Changes only after the whole area between m_currentNode and m_currentNode->next is parsed.
int m_lastParsedLine, m_lastParsedCol;
const DTDStruct *m_dtd;
- QRegExp m_quotesRx;
+ TQRegExp m_quotesRx;
bool m_specialInsideXml; //< true if the special area is defined inside a tag, like the PHP in <a href="<? echo $a ?>">
bool s_contextFound;
ContextStruct s_currentContext;
Node *s_parentNode;
bool s_searchContent;
- QString s_searchedString;
- QString s_textLine;
+ TQString s_searchedString;
+ TQString s_textLine;
int s_line, s_col;
int s_endLine, s_endCol;
bool s_fullParse;
- QString s_areaEndString;
+ TQString s_areaEndString;
bool s_searchForAreaEnd;
bool s_searchForForcedAreaEnd;
- QRegExp s_forcedAreaRx;
+ TQRegExp s_forcedAreaRx;
const DTDStruct *s_dtd;
bool s_searchForSpecialAreas;
ContextStruct s_context;
- QValueStack<ContextStruct> s_contextStack;
+ TQValueStack<ContextStruct> s_contextStack;
ContextStruct s_previousContext;
Node *s_currentNode; ///< the current detailed node while parsing for details
Node *s_returnNode;
bool s_useReturnVars;
Node *s_next;
- QValueList<SAGroupParser*> m_groupParsers;
- QTimer *m_parseOneLineTimer;
- QTimer *m_parseInDetailTimer;
+ TQValueList<SAGroupParser*> m_groupParsers;
+ TQTimer *m_parseOneLineTimer;
+ TQTimer *m_parseInDetailTimer;
};
#endif