summaryrefslogtreecommitdiffstats
path: root/kjsembed/jssecuritypolicy.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/jssecuritypolicy.cpp
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 8630c2c5..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 QObject *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 QObject
}
bool JSSecurityPolicy::isPropertyAllowed( const JSObjectProxy *prx,
- const QObject *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 QObject *parent,
- const QString &/*clazz*/, const QString &/*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;