summaryrefslogtreecommitdiffstats
path: root/kjsembed/jssecuritypolicy.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-05 16:20:48 -0600
committerTimothy Pearson <[email protected]>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/jssecuritypolicy.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/jssecuritypolicy.cpp')
-rw-r--r--kjsembed/jssecuritypolicy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjsembed/jssecuritypolicy.cpp b/kjsembed/jssecuritypolicy.cpp
index bd0ba636..872fb00f 100644
--- a/kjsembed/jssecuritypolicy.cpp
+++ b/kjsembed/jssecuritypolicy.cpp
@@ -69,7 +69,7 @@ bool JSSecurityPolicy::isInterpreterAllowed( const JSObjectProxy *prx, const KJS
return false;
}
-bool JSSecurityPolicy::isObjectAllowed( const JSObjectProxy *prx, const TTQObject *obj ) const
+bool JSSecurityPolicy::isObjectAllowed( const JSObjectProxy *prx, const TQObject *obj ) const
{
if ( !obj )
return false;
@@ -83,13 +83,13 @@ bool JSSecurityPolicy::isObjectAllowed( const JSObjectProxy *prx, const TTQObjec
}
bool JSSecurityPolicy::isPropertyAllowed( const JSObjectProxy *prx,
- const TTQObject *obj, const char * /*prop*/ ) const
+ const TQObject *obj, const char * /*prop*/ ) const
{
return hasCapability( CapabilityGetProperties|CapabilitySetProperties ) && isObjectAllowed( prx, obj );
}
-bool JSSecurityPolicy::isCreateAllowed( const JSObjectProxy *prx, const TTQObject *parent,
- const TTQString &/*clazz*/, const TTQString &/*name*/ ) const
+bool JSSecurityPolicy::isCreateAllowed( const JSObjectProxy *prx, const TQObject *parent,
+ const TQString &/*clazz*/, const TQString &/*name*/ ) const
{
if ( hasCapability(CapabilityFactory) && isObjectAllowed( prx, parent ) )
return true;