summaryrefslogtreecommitdiffstats
path: root/kcontrol/display
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/display')
-rw-r--r--kcontrol/display/display.cpp12
-rw-r--r--kcontrol/display/display.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/display/display.cpp b/kcontrol/display/display.cpp
index 189d4723b..f9a27ca92 100644
--- a/kcontrol/display/display.cpp
+++ b/kcontrol/display/display.cpp
@@ -31,7 +31,7 @@ typedef KGenericFactory<KCMDisplay, TQWidget> DisplayFactory;
K_EXPORT_COMPONENT_FACTORY ( kcm_display, DisplayFactory( "display" ) )
KCMDisplay::KCMDisplay( TQWidget *parent, const char *name, const TQStringList& )
- : KCModule( parent, name )
+ : TDECModule( parent, name )
, m_changed(false)
{
m_tabs = new TQTabWidget( this );
@@ -56,7 +56,7 @@ void KCMDisplay::addTab( const TQString &name, const TQString &label )
TQWidget *page = new TQWidget( m_tabs, name.latin1() );
TQVBoxLayout *top = new TQVBoxLayout( page, KDialog::marginHint() );
- KCModule *kcm = KCModuleLoader::loadModule( name, page );
+ TDECModule *kcm = TDECModuleLoader::loadModule( name, page );
if ( kcm )
{
@@ -72,20 +72,20 @@ void KCMDisplay::addTab( const TQString &name, const TQString &label )
void KCMDisplay::load()
{
- for (TQMap<KCModule*, bool>::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it)
+ for (TQMap<TDECModule*, bool>::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it)
it.key()->load();
}
void KCMDisplay::save()
{
- for (TQMap<KCModule*, bool>::Iterator it = m_modules.begin(); it != m_modules.end(); ++it)
+ for (TQMap<TDECModule*, bool>::Iterator it = m_modules.begin(); it != m_modules.end(); ++it)
if (it.data())
it.key()->save();
}
void KCMDisplay::moduleChanged( bool isChanged )
{
- TQMap<KCModule*, bool>::Iterator currentModule = m_modules.find(static_cast<KCModule*>(TQT_TQWIDGET(const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender())))));
+ TQMap<TDECModule*, bool>::Iterator currentModule = m_modules.find(static_cast<TDECModule*>(TQT_TQWIDGET(const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender())))));
Q_ASSERT(currentModule != m_modules.end());
if (currentModule.data() == isChanged)
return;
@@ -94,7 +94,7 @@ void KCMDisplay::moduleChanged( bool isChanged )
bool c = false;
- for (TQMap<KCModule*, bool>::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) {
+ for (TQMap<TDECModule*, bool>::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) {
if (it.data()) {
c = true;
break;
diff --git a/kcontrol/display/display.h b/kcontrol/display/display.h
index 5696717ff..bb5d44e6f 100644
--- a/kcontrol/display/display.h
+++ b/kcontrol/display/display.h
@@ -24,7 +24,7 @@
class TQTabWidget;
-class KCMDisplay : public KCModule
+class KCMDisplay : public TDECModule
{
Q_OBJECT
@@ -40,7 +40,7 @@ class KCMDisplay : public KCModule
void addTab( const TQString &name, const TQString &label );
TQTabWidget *m_tabs;
- TQMap<KCModule*, bool> m_modules;
+ TQMap<TDECModule*, bool> m_modules;
bool m_changed;
};