summaryrefslogtreecommitdiffstats
path: root/ksvg/ecma/ksvg_lookup.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /ksvg/ecma/ksvg_lookup.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/ecma/ksvg_lookup.h')
-rw-r--r--ksvg/ecma/ksvg_lookup.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksvg/ecma/ksvg_lookup.h b/ksvg/ecma/ksvg_lookup.h
index 11c41462..659ce8c7 100644
--- a/ksvg/ecma/ksvg_lookup.h
+++ b/ksvg/ecma/ksvg_lookup.h
@@ -31,13 +31,13 @@
#define KSVG_GET_COMMON \
public: \
\
- /* The standard hasProperty call, auto-generated. Looks in hashtable, forwards to parents. */ \
+ /* The standard hasProperty call, auto-generated. Looks in hashtable, forwards to tqparents. */ \
bool hasProperty(KJS::ExecState *exec, const KJS::Identifier &propertyName) const; \
\
/* get() method, called by KSVGBridge::get */ \
KJS::Value get(KJS::ExecState *exec, const KJS::Identifier &propertyName, const KJS::ObjectImp* bridge) const; \
\
- /* Called by lookupGet(). Auto-generated. Forwards to the parent which has the given property. */ \
+ /* Called by lookupGet(). Auto-generated. Forwards to the tqparent which has the given property. */ \
KJS::Value getInParents(KJS::ExecState *exec, const KJS::Identifier &propertyName, const KJS::ObjectImp* bridge) const; \
\
KJS::Object prototype(KJS::ExecState *exec) const;\
@@ -59,7 +59,7 @@ public: \
KSVG_GET_COMMON \
virtual KJS::Value cache(KJS::ExecState *exec) const;
-// For classes without properties, but with a parent class to forward to
+// For classes without properties, but with a tqparent class to forward to
#define KSVG_FORWARDGET \
public: \
\
@@ -80,7 +80,7 @@ public: \
/* put() method, called by KSVGBridge::put */ \
bool put(KJS::ExecState *exec, const KJS::Identifier &propertyName, const KJS::Value &value, int attr); \
\
- /* Called by lookupPut. Auto-generated. Looks in hashtable, forwards to parents. */ \
+ /* Called by lookupPut. Auto-generated. Looks in hashtable, forwards to tqparents. */ \
bool putInParents(KJS::ExecState *exec, const KJS::Identifier &propertyName, const KJS::Value &value, int attr);
// For classes which inherit a read-write class, but have no readwrite property themselves
@@ -127,7 +127,7 @@ namespace KSVG
*
* This method does it all (looking in the hashtable, checking for function
* overrides, creating the function or retrieving from cache, calling
- * getValueProperty in case of a non-function property, forwarding to parent[s] if
+ * getValueProperty in case of a non-function property, forwarding to tqparent[s] if
* unknown property).
*
* Template arguments:
@@ -150,7 +150,7 @@ namespace KSVG
{
const KJS::HashEntry *entry = KJS::Lookup::findEntry(table, propertyName);
- if(!entry) // not found, forward to parents
+ if(!entry) // not found, forward to tqparents
return thisObj->getInParents(exec, propertyName, bridge);
if(entry->attr & KJS::Function)
@@ -174,7 +174,7 @@ namespace KSVG
{
const KJS::HashEntry *entry = KJS::Lookup::findEntry(table, propertyName);
- if(!entry) // not found, forward to parents
+ if(!entry) // not found, forward to tqparents
return thisObj->getInParents(exec, propertyName, bridge);
if(entry->attr & KJS::Function)
@@ -199,7 +199,7 @@ namespace KSVG
{
const KJS::HashEntry *entry = KJS::Lookup::findEntry(table, propertyName);
- if(!entry) // not found, forward to parents
+ if(!entry) // not found, forward to tqparents
return thisObj->putInParents(exec, propertyName, value, attr);
else if(entry->attr & KJS::Function) // Function: put as override property
return false;
@@ -256,14 +256,14 @@ namespace KSVG
} \
const KJS::ClassInfo ClassProto::info = { ClassName, 0, &s_hashTable, 0 }; \
-// same as KSVG_IMPLEMENT_PROTOTYPE but with a parent class to forward calls to
+// same as KSVG_IMPLEMENT_PROTOTYPE but with a tqparent class to forward calls to
// Not used within KSVG up to now - each class does a self proto lookup in generateddata.cpp
#define KSVG_IMPLEMENT_PROTOTYPE_WITH_PARENT(ClassName,ClassProto,ClassFunc,ParentProto) \
KJS::Value KSVG::ClassProto::get(KJS::ExecState *exec, const KJS::Identifier &propertyName) const \
{ \
KJS::Value val = lookupGetFunction<ClassFunc,KJS::ObjectImp>(exec, propertyName, &s_hashTable, this ); \
if ( val.type() != UndefinedType ) return val; \
- /* Not found -> forward request to "parent" prototype */ \
+ /* Not found -> forward request to "tqparent" prototype */ \
return ParentProto::self(exec).get( exec, propertyName ); \
} \
bool KSVG::ClassProto::hasProperty(KJS::ExecState *exec, const KJS::Identifier &propertyName) const \
@@ -310,7 +310,7 @@ namespace KSVG
// To be used in all call() implementations!
// Can't use if (!thisObj.inherits(&ClassName::s_classInfo) since we don't
-// use the (single-parent) inheritance of ClassInfo...
+// use the (single-tqparent) inheritance of ClassInfo...
#define KSVG_CHECK_THIS(ClassName) KSVG_CHECK(ClassName, thisObj)
#endif