diff options
Diffstat (limited to 'kdevdesigner/plugins/languageinterfaceimpl.cpp')
-rw-r--r-- | kdevdesigner/plugins/languageinterfaceimpl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/plugins/languageinterfaceimpl.cpp b/kdevdesigner/plugins/languageinterfaceimpl.cpp index fb05aaeb..d761a9e7 100644 --- a/kdevdesigner/plugins/languageinterfaceimpl.cpp +++ b/kdevdesigner/plugins/languageinterfaceimpl.cpp @@ -33,19 +33,19 @@ #include <tqmetaobject.h> LanguageInterfaceImpl::LanguageInterfaceImpl( TQUnknownInterface *outer ) - : tqparent( outer ), ref( 0 ) + : parent( outer ), ref( 0 ) { } ulong LanguageInterfaceImpl::addRef() { - return tqparent ? tqparent->addRef() : ref++; + return parent ? parent->addRef() : ref++; } ulong LanguageInterfaceImpl::release() { - if ( tqparent ) - return tqparent->release(); + if ( parent ) + return parent->release(); if ( !--ref ) { delete this; return 0; @@ -55,8 +55,8 @@ ulong LanguageInterfaceImpl::release() TQRESULT LanguageInterfaceImpl::queryInterface( const TQUuid &uuid, TQUnknownInterface** iface ) { - if ( tqparent ) - return tqparent->queryInterface( uuid, iface ); + if ( parent ) + return parent->queryInterface( uuid, iface ); *iface = 0; if ( uuid == IID_TQUnknown ) |