summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/saparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/parsers/saparser.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parsers/saparser.h')
-rw-r--r--quanta/parsers/saparser.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/quanta/parsers/saparser.h b/quanta/parsers/saparser.h
index 74b00b3e..d344fb55 100644
--- a/quanta/parsers/saparser.h
+++ b/quanta/parsers/saparser.h
@@ -38,9 +38,10 @@ class SAGroupParser;
/**
This class is used to parse a special area (script) in the document.
*/
-class SAParser: public QObject
+class SAParser: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
SAParser();
@@ -56,7 +57,7 @@ public:
area. It may end before the end position.
areaStartString: the special area starting string
forcedAreaEndString: force this as the special area ending string.
- parentNode: the Node under where the special area goes
+ tqparentNode: the Node under where the special area goes
fullParse: the script node will be fully parsed for groups, structures or so. If false, only the script beginning and end will be determined.
synchronous: if true, the function does not return until the parsing is finished, otherwise
return immediately.
@@ -65,7 +66,7 @@ public:
Node* parseArea(const AreaStruct &specialArea,
const TQString &areaStartString,
const TQString &forcedAreaEndString,
- Node *parentNode,
+ Node *tqparentNode,
bool fullParse, bool synchronous);
/** Returns the line where the last parsing run ended. */
int lastParsedLine() {return m_lastParsedLine;}
@@ -96,7 +97,7 @@ private:
int type;
AreaStruct area;
TQString startString;
- Node *parentNode;
+ Node *tqparentNode;
Node *lastNode;
};
enum ContextType {