summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp')
-rw-r--r--tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp b/tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp
index da857b5..a053b81 100644
--- a/tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp
+++ b/tqtinterface/qt4/tools/designer/plugins/cppeditor/languageinterfaceimpl.cpp
@@ -40,19 +40,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;
@@ -62,8 +62,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 )