summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 21:49:59 -0600
committerTimothy Pearson <[email protected]>2013-01-31 21:49:59 -0600
commit93943a849d1abc2003ceefe294dc419b9927f7d0 (patch)
treea6c2696cdd5c3b5339f2b6f821062a32cf46ae53 /kate
parent01c60a267846a8712bca34218ecf7da57566c049 (diff)
downloadtdebase-93943a849d1abc2003ceefe294dc419b9927f7d0.tar.gz
tdebase-93943a849d1abc2003ceefe294dc419b9927f7d0.zip
Rename KStartup for enhanced compatibility with KDE4
Diffstat (limited to 'kate')
-rw-r--r--kate/app/kateapp.cpp6
-rw-r--r--kate/app/katemain.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kate/app/kateapp.cpp b/kate/app/kateapp.cpp
index d170f6c76..62d070e41 100644
--- a/kate/app/kateapp.cpp
+++ b/kate/app/kateapp.cpp
@@ -162,7 +162,7 @@ void KateApp::restoreKate ()
newMainWindow ();
// Do not notify about start there: this makes kicker crazy and kate go to a wrong desktop.
- // KStartupInfo::setNewStartupId( activeMainWindow(), startupId());
+ // TDEStartupInfo::setNewStartupId( activeMainWindow(), startupId());
}
bool KateApp::startupKate ()
@@ -178,7 +178,7 @@ bool KateApp::startupKate ()
if (!sessionManager()->chooseSession ())
{
// we will exit kate now, notify the rest of the world we are done
- KStartupInfo::appStarted (startupId());
+ TDEStartupInfo::appStarted (startupId());
return false;
}
}
@@ -188,7 +188,7 @@ bool KateApp::startupKate ()
newMainWindow ();
// notify about start
- KStartupInfo::setNewStartupId( activeMainWindow(), startupId());
+ TDEStartupInfo::setNewStartupId( activeMainWindow(), startupId());
TQTextCodec *codec = m_args->isSet("encoding") ? TQTextCodec::codecForName(m_args->getOption("encoding")) : 0;
diff --git a/kate/app/katemain.cpp b/kate/app/katemain.cpp
index e53c07910..fb389131d 100644
--- a/kate/app/katemain.cpp
+++ b/kate/app/katemain.cpp
@@ -251,7 +251,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
wRef.call( "show" );
// stop startup notification
- KStartupInfo::appStarted( );
+ TDEStartupInfo::appStarted( );
return 0;
}