diff options
Diffstat (limited to 'kicker/menuext/kate/katesessionmenu.cpp')
-rw-r--r-- | kicker/menuext/kate/katesessionmenu.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kicker/menuext/kate/katesessionmenu.cpp b/kicker/menuext/kate/katesessionmenu.cpp index c992cf855..198cb4f7a 100644 --- a/kicker/menuext/kate/katesessionmenu.cpp +++ b/kicker/menuext/kate/katesessionmenu.cpp @@ -29,8 +29,8 @@ #include <klibloader.h> #include <tdelocale.h> #include <tdemessagebox.h> -#include <ksimpleconfig.h> -#include <kstandarddirs.h> +#include <tdesimpleconfig.h> +#include <tdestandarddirs.h> #include <tqvalidator.h> @@ -80,7 +80,7 @@ void KateSessionMenu::initialize() if (TDEGlobal::dirs()->exists(configFile)) { // Read new style configuration (from TDE R14.1.0) - KSimpleConfig *config = new KSimpleConfig(configFile, true); + TDESimpleConfig *config = new TDESimpleConfig(configFile, true); config->setGroup("Sessions list"); int sessionsCount = config->readNumEntry("Sessions count", 0); for (int i = 0; i < sessionsCount; ++i) @@ -89,7 +89,7 @@ void KateSessionMenu::initialize() if (!urlStr.isEmpty() && TDEGlobal::dirs()->exists(urlStr)) { // Filter out empty URLs or non existing sessions - KSimpleConfig *sessionConfig = new KSimpleConfig(urlStr, true); + TDESimpleConfig *sessionConfig = new TDESimpleConfig(urlStr, true); sessionConfig->setGroup("General"); // Session general properties TQString sessionName = sessionConfig->readEntry("Name", i18n("Unnamed")); @@ -102,7 +102,7 @@ void KateSessionMenu::initialize() TQStringList list = TDEGlobal::dirs()->findAllResources( "data", "kate/sessions/*.katesession", false, true); for (TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { - KSimpleConfig config( *it, true ); + TDESimpleConfig config( *it, true ); config.setGroup( "General" ); m_sessions.append( config.readEntry( "Name" ) ); } @@ -117,7 +117,7 @@ void KateSessionMenu::initialize() // means for updating, to let the user manually update if he/she added new sessions. insertSeparator(); - insertItem( SmallIconSet("reload"), i18n("Reload Session List"), this, TQT_SLOT(reloadSessionsList()) ); + insertItem( SmallIconSet("reload"), i18n("Reload Session List"), this, TQ_SLOT(reloadSessionsList()) ); } void KateSessionMenu::slotExec( int id ) @@ -136,7 +136,7 @@ void KateSessionMenu::slotExec( int id ) TQString name = KInputDialog::getText( i18n("Session Name"), i18n("Please enter a name for the new session"), TQString::null, - &ok, 0, 0, new Validator( TQT_TQOBJECT(m_parent) ) ); + &ok, 0, 0, new Validator( m_parent ) ); if ( ! ok ) return; @@ -167,7 +167,7 @@ void KateSessionMenu::slotExec( int id ) else if ( id > 2 ) args << m_sessions[ id-3 ]; - kapp->tdeinitExec("kate", args); + tdeApp->tdeinitExec("kate", args); } void KateSessionMenu::reloadSessionsList() |