summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupportpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/cppsupportpart.cpp')
-rw-r--r--languages/cpp/cppsupportpart.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index 204195aa..9cae9c77 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -191,8 +191,8 @@ public:
};
-CppSupportPart::CppSupportPart( TQObject *tqparent, const char *name, const TQStringList &args )
-: KDevLanguageSupport( CppSupportFactory::info(), tqparent, name ? name : "KDevCppSupport" ), m_backgroundParser(0),
+CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStringList &args )
+: KDevLanguageSupport( CppSupportFactory::info(), parent, name ? name : "KDevCppSupport" ), m_backgroundParser(0),
m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ), m_activeViewCursor( 0 ),
m_projectClosed( true ), m_projectClosing( false ), m_valid( false ), m_isTyping( false ), m_hadErrors( false ),
_jd(0)
@@ -1705,7 +1705,7 @@ void CppSupportPart::slotNeedTextHint( int line, int column, TQString& textHint
{
while ( node && node->nodeType() != NodeType_FunctionDefinition )
- node = node->tqparent();
+ node = node->parent();
if ( node )
{
@@ -1747,7 +1747,7 @@ void CppSupportPart::MakeMemberHelper( TQString& text, int& atLine, int& atColum
{
if ( currentNode->nodeType() == NodeType_Declarator )
declarator = ( DeclaratorAST* ) currentNode;
- currentNode = currentNode->tqparent();
+ currentNode = currentNode->parent();
}
SimpleDeclarationAST* decl = currentNode ? ( SimpleDeclarationAST* ) currentNode : 0;
@@ -3136,7 +3136,7 @@ TQString CppSupportPart::findHeaderSimple( const TQString &header )
return TQString();
}
-UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& tqparent ) : TQThread(), m_parent( tqparent ), m_stop(false) {
+UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& parent ) : TQThread(), m_parent( parent ), m_stop(false) {
}
void UIBlockTester::UIBlockTesterThread::run() {