summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp')
-rw-r--r--experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
index a9d38e860..ff285e084 100644
--- a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
+++ b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
@@ -36,7 +36,7 @@
#include <preferences.h>
PreferenceInterfaceImpl::PreferenceInterfaceImpl( TQUnknownInterface *outer )
- : tqparent( outer ),
+ : parent( outer ),
ref( 0 ),
cppEditorSyntax( 0 )
{
@@ -48,13 +48,13 @@ PreferenceInterfaceImpl::~PreferenceInterfaceImpl()
ulong PreferenceInterfaceImpl::addRef()
{
- return tqparent ? tqparent->addRef() : ref++;
+ return parent ? parent->addRef() : ref++;
}
ulong PreferenceInterfaceImpl::release()
{
- if ( tqparent )
- return tqparent->release();
+ if ( parent )
+ return parent->release();
if ( !--ref ) {
delete this;
return 0;
@@ -64,8 +64,8 @@ ulong PreferenceInterfaceImpl::release()
TQRESULT PreferenceInterfaceImpl::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 )