summaryrefslogtreecommitdiffstats
path: root/libkdepim/designerfields.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/designerfields.cpp')
-rw-r--r--libkdepim/designerfields.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdepim/designerfields.cpp b/libkdepim/designerfields.cpp
index 31a3b7f8..e1f76799 100644
--- a/libkdepim/designerfields.cpp
+++ b/libkdepim/designerfields.cpp
@@ -78,7 +78,7 @@ void DesignerFields::initGUI( const TQString &uiFile )
<< "KDatePicker";
while ( it.current() ) {
- if ( allowedTypes.tqcontains( it.current()->className() ) ) {
+ if ( allowedTypes.contains( it.current()->className() ) ) {
TQString name = it.current()->name();
if ( name.startsWith( "X_" ) ) {
name = name.mid( 2 );
@@ -174,7 +174,7 @@ void DesignerFields::load( DesignerFields::Storage *storage )
for ( it2 = keys.begin(); it2 != keys.end(); ++it2 ) {
TQString value = storage->read( *it2 );
- TQMap<TQString, TQWidget *>::ConstIterator it = mWidgets.tqfind( *it2 );
+ TQMap<TQString, TQWidget *>::ConstIterator it = mWidgets.find( *it2 );
if ( it != mWidgets.end() ) {
if ( it.data()->inherits( TQLINEEDIT_OBJECT_NAME_STRING ) ) {
TQLineEdit *wdg = static_cast<TQLineEdit*>( it.data() );
@@ -244,7 +244,7 @@ void DesignerFields::setReadOnly( bool readOnly )
{
TQMap<TQString, TQWidget*>::Iterator it;
for ( it = mWidgets.begin(); it != mWidgets.end(); ++it )
- if ( mDisabledWidgets.tqfind( it.data() ) == mDisabledWidgets.end() )
+ if ( mDisabledWidgets.find( it.data() ) == mDisabledWidgets.end() )
it.data()->setEnabled( !readOnly );
}