From cc74f360bb40da3d79f58048f8e8611804980aa6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:30:47 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kcontrol/knotify/knotify.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol/knotify/knotify.cpp') diff --git a/kcontrol/knotify/knotify.cpp b/kcontrol/knotify/knotify.cpp index 63438cbf2..bc9c63cc5 100644 --- a/kcontrol/knotify/knotify.cpp +++ b/kcontrol/knotify/knotify.cpp @@ -48,7 +48,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_knotify, NotifyFactory("kcmnotify") ) using namespace KNotify; KCMKNotify::KCMKNotify(TQWidget *parent, const char *name, const TQStringList & ) - : KCModule(NotifyFactory::instance(), parent, name), + : TDECModule(NotifyFactory::instance(), parent, name), m_playerSettings( 0L ) { setButtons( Help | Default | Apply ); @@ -98,7 +98,7 @@ KCMKNotify::KCMKNotify(TQWidget *parent, const char *name, const TQStringList & KCMKNotify::~KCMKNotify() { - KConfig config( "knotifyrc", false, false ); + TDEConfig config( "knotifyrc", false, false ); config.setGroup( "Misc" ); ApplicationList allApps = m_notifyWidget->allApps(); ApplicationListIterator appIt( allApps ); @@ -173,7 +173,7 @@ void KCMKNotify::load( bool useDefaults ) allApps.sort(); m_notifyWidget->setEnabled( !allApps.isEmpty() ); - KConfig config( "knotifyrc", true, false ); + TDEConfig config( "knotifyrc", true, false ); config.setReadDefaults( useDefaults ); config.setGroup( "Misc" ); TQString select = config.readEntry( "LastConfiguredApp" ); @@ -239,7 +239,7 @@ PlayerSettingsDialog::PlayerSettingsDialog( TQWidget *parent, bool modal ) void PlayerSettingsDialog::load( bool useDefaults ) { - KConfig config( "knotifyrc", true, false ); + TDEConfig config( "knotifyrc", true, false ); config.setReadDefaults( useDefaults ); config.setGroup( "Misc" ); bool useExternal = config.readBoolEntry( "Use external player", false ); @@ -264,7 +264,7 @@ void PlayerSettingsDialog::load( bool useDefaults ) void PlayerSettingsDialog::save() { // see tdelibs/arts/knotify/knotify.cpp - KConfig config( "knotifyrc", false, false ); + TDEConfig config( "knotifyrc", false, false ); config.setGroup( "Misc" ); config.writePathEntry( "External player", m_ui->reqExternal->url() ); -- cgit v1.2.1