summaryrefslogtreecommitdiffstats
path: root/kcontrol/knotify
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/knotify')
-rw-r--r--kcontrol/knotify/knotify.cpp10
-rw-r--r--kcontrol/knotify/knotify.h2
2 files changed, 6 insertions, 6 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() );
diff --git a/kcontrol/knotify/knotify.h b/kcontrol/knotify/knotify.h
index 5af670bbe..a37393f97 100644
--- a/kcontrol/knotify/knotify.h
+++ b/kcontrol/knotify/knotify.h
@@ -44,7 +44,7 @@ namespace KNotify
class KNotifyWidget;
}
-class KCMKNotify : public KCModule
+class KCMKNotify : public TDECModule
{
Q_OBJECT