summaryrefslogtreecommitdiffstats
path: root/lib/util/configwidgetproxy.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/util/configwidgetproxy.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/configwidgetproxy.cpp')
-rw-r--r--lib/util/configwidgetproxy.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/configwidgetproxy.cpp b/lib/util/configwidgetproxy.cpp
index 66f267b7..5ce6becf 100644
--- a/lib/util/configwidgetproxy.cpp
+++ b/lib/util/configwidgetproxy.cpp
@@ -43,12 +43,12 @@ ConfigWidgetProxy::~ConfigWidgetProxy()
void ConfigWidgetProxy::createGlobalConfigPage( TQString const & title, unsigned int pagenumber, TQString const & icon )
{
- _globalTitleMap.insert( pagenumber, qMakePair( title, icon ) );
+ _globalTitleMap.insert( pagenumber, tqMakePair( title, icon ) );
}
void ConfigWidgetProxy::createProjectConfigPage( TQString const & title, unsigned int pagenumber, TQString const & icon )
{
- _projectTitleMap.insert( pagenumber, qMakePair( title, icon ) );
+ _projectTitleMap.insert( pagenumber, tqMakePair( title, icon ) );
}
void ConfigWidgetProxy::removeConfigPage( int pagenumber )
@@ -92,14 +92,14 @@ void ConfigWidgetProxy::slotAboutToShowPage( TQWidget * page )
{
if ( !page ) return;
- PageMap::Iterator it = _pageMap.find( page );
+ PageMap::Iterator it = _pageMap.tqfind( page );
if ( it != _pageMap.end() )
{
- emit insertConfigWidget( static_cast<KDialogBase*>(const_cast<TQObject*>(sender())), page, it.data() );
+ emit insertConfigWidget( static_cast<KDialogBase*>(TQT_TQWIDGET(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))), page, it.data() );
_pageMap.remove( it );
}
}
#include "configwidgetproxy.moc"
-// kate: space-indent off; indent-width 4; replace-tabs off; tab-width 4;
+// kate: space-indent off; indent-width 4; tqreplace-tabs off; tab-width 4;