summaryrefslogtreecommitdiffstats
path: root/src/iteminterface.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commite05894553004a47b1e2f276bedcf5963b57a3932 (patch)
tree2c12af14a609c053131e3a463068fa7589e6ac6a /src/iteminterface.cpp
parent60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff)
downloadktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz
ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/iteminterface.cpp')
-rw-r--r--src/iteminterface.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/iteminterface.cpp b/src/iteminterface.cpp
index c1b3521..78bc7b0 100644
--- a/src/iteminterface.cpp
+++ b/src/iteminterface.cpp
@@ -271,7 +271,7 @@ TQWidget * ItemInterface::configWidget()
case Variant::Type::SevenSegment:
{
TQString value = vait.data()->value().toString();
- if ( !value.isEmpty() && !vait.data()->allowed().tqcontains(value) )
+ if ( !value.isEmpty() && !vait.data()->allowed().contains(value) )
vait.data()->appendAllowed(value);
const TQStringList allowed = vait.data()->allowed();
@@ -294,7 +294,7 @@ TQWidget * ItemInterface::configWidget()
case Variant::Type::FileName:
{
TQString value = vait.data()->value().toString();
- if ( !vait.data()->allowed().tqcontains(value) )
+ if ( !vait.data()->allowed().contains(value) )
vait.data()->appendAllowed(value);
const TQStringList allowed = vait.data()->allowed();
@@ -476,7 +476,7 @@ void ItemInterface::tbDataChanged()
const DoubleSpinBoxMap::iterator m_doubleSpinBoxMapEnd = m_doubleSpinBoxMap.end();
for ( DoubleSpinBoxMap::iterator sbit = m_doubleSpinBoxMap.begin(); sbit != m_doubleSpinBoxMapEnd; ++sbit )
{
-// VariantDataMap::iterator vait = variantData.tqfind(sbit.key());
+// VariantDataMap::iterator vait = variantData.find(sbit.key());
slotSetData( sbit.key(), sbit.data()->value() );
}
@@ -517,7 +517,7 @@ void ItemInterface::slotSetData( const TQString &id, TQVariant value )
VariantDataMap * variantMap = (*itemList.begin())->variantMap();
- VariantDataMap::iterator it = variantMap->tqfind(id);
+ VariantDataMap::iterator it = variantMap->find(id);
if ( it == variantMap->end() )
return;
@@ -529,13 +529,13 @@ void ItemInterface::slotSetData( const TQString &id, TQVariant value )
{
case Variant::Type::String:
{
- KLineEditMap::iterator mit = m_stringLineEditMap.tqfind(id);
+ KLineEditMap::iterator mit = m_stringLineEditMap.find(id);
if ( mit != m_stringLineEditMap.end() ) mit.data()->setText( it.data()->value().toString() );
break;
}
case Variant::Type::FileName:
{
- KURLReqMap::iterator mit = m_stringURLReqMap.tqfind(id);
+ KURLReqMap::iterator mit = m_stringURLReqMap.find(id);
if ( mit != m_stringURLReqMap.end() ) mit.data()->setURL( it.data()->value().toString() );
break;
}
@@ -549,13 +549,13 @@ void ItemInterface::slotSetData( const TQString &id, TQVariant value )
case Variant::Type::SevenSegment:
case Variant::Type::KeyPad:
{
- KComboBoxMap::iterator mit = m_stringComboBoxMap.tqfind(id);
+ KComboBoxMap::iterator mit = m_stringComboBoxMap.find(id);
if ( mit != m_stringComboBoxMap.end() ) mit.data()->setCurrentItem( it.data()->value().toString() );
break;
}
case Variant::Type::Int:
{
- IntSpinBoxMap::iterator mit = m_intSpinBoxMap.tqfind(id);
+ IntSpinBoxMap::iterator mit = m_intSpinBoxMap.find(id);
if ( mit != m_intSpinBoxMap.end() ) {
KIntSpinBox *sb = mit.data();
sb->setValue( it.data()->value().toInt() );
@@ -564,7 +564,7 @@ void ItemInterface::slotSetData( const TQString &id, TQVariant value )
}
case Variant::Type::Double:
{
- DoubleSpinBoxMap::iterator mit = m_doubleSpinBoxMap.tqfind(id);
+ DoubleSpinBoxMap::iterator mit = m_doubleSpinBoxMap.find(id);
if ( mit != m_doubleSpinBoxMap.end() ) {
DoubleSpinBox *sb = mit.data();
sb->setValue( it.data()->value().toDouble() );
@@ -573,13 +573,13 @@ void ItemInterface::slotSetData( const TQString &id, TQVariant value )
}
case Variant::Type::Color:
{
- ColorComboMap::iterator mit = m_colorComboMap.tqfind(id);
+ ColorComboMap::iterator mit = m_colorComboMap.find(id);
if ( mit != m_colorComboMap.end() ) mit.data()->setColor( it.data()->value().toColor() );
break;
}
case Variant::Type::Bool:
{
- TQCheckBoxMap::iterator mit = m_boolCheckMap.tqfind(id);
+ TQCheckBoxMap::iterator mit = m_boolCheckMap.find(id);
if ( mit != m_boolCheckMap.end() ) mit.data()->setChecked( it.data()->value().toBool() );
break;
}