summaryrefslogtreecommitdiffstats
path: root/kcontrol/knotify/knotify.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kcontrol/knotify/knotify.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kcontrol/knotify/knotify.cpp')
-rw-r--r--kcontrol/knotify/knotify.cpp10
1 files changed, 5 insertions, 5 deletions
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() );