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/display/display.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcontrol/display/display.cpp') 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 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::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) + for (TQMap::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) it.key()->load(); } void KCMDisplay::save() { - for (TQMap::Iterator it = m_modules.begin(); it != m_modules.end(); ++it) + for (TQMap::Iterator it = m_modules.begin(); it != m_modules.end(); ++it) if (it.data()) it.key()->save(); } void KCMDisplay::moduleChanged( bool isChanged ) { - TQMap::Iterator currentModule = m_modules.find(static_cast(TQT_TQWIDGET(const_cast(TQT_TQOBJECT_CONST(sender()))))); + TQMap::Iterator currentModule = m_modules.find(static_cast(TQT_TQWIDGET(const_cast(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::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) { + for (TQMap::ConstIterator it = m_modules.begin(); it != m_modules.end(); ++it) { if (it.data()) { c = true; break; -- cgit v1.2.1