From 56160bf4dfe503631ef6373367b281f081bab2b4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:13 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77. --- tdecore/kdcoppropertyproxy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdecore/kdcoppropertyproxy.cpp') diff --git a/tdecore/kdcoppropertyproxy.cpp b/tdecore/kdcoppropertyproxy.cpp index 5908d8485..3742c509c 100644 --- a/tdecore/kdcoppropertyproxy.cpp +++ b/tdecore/kdcoppropertyproxy.cpp @@ -29,8 +29,8 @@ #include #include #include -#include -#include +#include +#include #include #include @@ -94,7 +94,7 @@ TQValueList KDCOPPropertyProxy::functions( TQObject *object ) res << "bool setProperty(TQCString name,TQVariant property)"; res << "TQValueList propertyNames(bool super)"; - TQMetaObject *metaObj = object->metaObject(); + TQMetaObject *metaObj = object->tqmetaObject(); TQStrList properties = metaObj->propertyNames( true ); TQStrListIterator it( properties ); for (; it.current(); ++it ) @@ -157,7 +157,7 @@ bool KDCOPPropertyProxy::processPropertyRequest( const TQCString &fun, const TQB stream >> b; TQValueList res; - TQStrList props = object->metaObject()->propertyNames( static_cast( b ) ); + TQStrList props = object->tqmetaObject()->propertyNames( static_cast( b ) ); TQStrListIterator it( props ); for (; it.current(); ++it ) res.append( it.current() ); @@ -328,7 +328,7 @@ bool KDCOPPropertyProxy::decodePropertyRequestInternal( const TQCString &fun, TQ else propName.truncate( propName.length() - 2 ); - if ( !object->metaObject()->propertyNames( true ).contains( propName ) ) + if ( !object->tqmetaObject()->propertyNames( true ).contains( propName ) ) return false; return true; -- cgit v1.2.1