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 c94539de..7d02b77c 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -178,7 +178,7 @@ class BackgroundParserConfig
public:
void readConfig()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "General Options" );
m_useProblemReporter = config->readBoolEntry( "EnableProblemReporter", true );
m_useBackgroundParser = config->readBoolEntry( "EnableCppBgParser", true );
@@ -1464,7 +1464,7 @@ bool CppSupportPart::parseProject( bool force )
mainWindow() ->statusBar() ->message( i18n( "Updating..." ) );
- kapp->setOverrideCursor( waitCursor );
+ tdeApp->setOverrideCursor( waitCursor );
_jd = new JobData;
if( TQFileInfo( project() ->projectDirectory() + "/" + project()->projectName().lower()
@@ -1604,7 +1604,7 @@ void CppSupportPart::slotParseFiles()
_jd->backgroundState = 0;
_jd->cycle = 1;
_jd->lastParse = TQTime::currentTime();
- kapp->restoreOverrideCursor( );
+ tdeApp->restoreOverrideCursor( );
}
}
else // finished or interrupted
@@ -1615,7 +1615,7 @@ void CppSupportPart::slotParseFiles()
if ( !m_projectClosed )
{
kdDebug( 9007 ) << "updating sourceinfo" << endl;
- kapp->restoreOverrideCursor( );
+ tdeApp->restoreOverrideCursor( );
emit updatedSourceInfo();
mainWindow( ) ->statusBar( ) ->message( i18n( "Done" ), 2000 );
TQFile::remove( project() ->projectDirectory()
@@ -1835,7 +1835,7 @@ void CppSupportPart::slotMakeMember()
if ( !implFile.isEmpty() )
{
partController() ->editDocument( KURL( implFile ) );
- kapp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers, 500 );
+ tdeApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers, 500 );
}
if ( atLine == -2 )
atLine = m_activeEditor->numLines() - 1;