summaryrefslogtreecommitdiffstats
path: root/kabc/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/plugins')
-rw-r--r--kabc/plugins/ldapkio/resourceldapkio.cpp6
-rw-r--r--kabc/plugins/sql/resourcesql.cpp4
-rw-r--r--kabc/plugins/sql/resourcesqlconfig.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/kabc/plugins/ldapkio/resourceldapkio.cpp b/kabc/plugins/ldapkio/resourceldapkio.cpp
index df0baf455..0a12ea34f 100644
--- a/kabc/plugins/ldapkio/resourceldapkio.cpp
+++ b/kabc/plugins/ldapkio/resourceldapkio.cpp
@@ -125,7 +125,7 @@ void ResourceLDAPKIO::enter_loop()
TQWidget dummy(0,0,WType_Dialog | WShowModal);
dummy.setFocusPolicy( TQWidget::NoFocus );
qt_enter_modal(&dummy);
- qApp->enter_loop();
+ tqApp->enter_loop();
qt_leave_modal(&dummy);
}
@@ -154,7 +154,7 @@ void ResourceLDAPKIO::listResult( KIO::Job *job)
mErrorMsg = job->errorString();
else
mErrorMsg = "";
- qApp->exit_loop();
+ tqApp->exit_loop();
}
TQString ResourceLDAPKIO::findUid( const TQString &uid )
@@ -766,7 +766,7 @@ void ResourceLDAPKIO::syncLoadSaveResult( KIO::Job *job )
mErrorMsg = "";
activateCache();
- qApp->exit_loop();
+ tqApp->exit_loop();
}
void ResourceLDAPKIO::saveResult( KIO::Job *job )
diff --git a/kabc/plugins/sql/resourcesql.cpp b/kabc/plugins/sql/resourcesql.cpp
index 55f02bae7..7dae03d22 100644
--- a/kabc/plugins/sql/resourcesql.cpp
+++ b/kabc/plugins/sql/resourcesql.cpp
@@ -317,8 +317,8 @@ bool ResourceSql::save( Ticket * )
TQStringList list = (*it).customs();
TQStringList::ConstIterator it;
for( it = list.begin(); it != list.end(); ++it ) {
- int dashPos = (*it).find( '-' );
- int colonPos = (*it).find( ':' );
+ int dashPos = (*it).tqfind( '-' );
+ int colonPos = (*it).tqfind( ':' );
TQString app = (*it).left( dashPos );
TQString name = (*it).mid( dashPos + 1, colonPos - dashPos - 1 );
TQString value = (*it).right( (*it).length() - colonPos - 1 );
diff --git a/kabc/plugins/sql/resourcesqlconfig.cpp b/kabc/plugins/sql/resourcesqlconfig.cpp
index ef1651cde..403f8a6d0 100644
--- a/kabc/plugins/sql/resourcesqlconfig.cpp
+++ b/kabc/plugins/sql/resourcesqlconfig.cpp
@@ -60,7 +60,7 @@ ResourceSqlConfig::ResourceSqlConfig( TQWidget* parent, const char* name )
label = new TQLabel( i18n( "Port:" ), this );
TQVBox *box = new TQVBox(this);
mPort = new TQSpinBox(0, 65535, 1, box );
- mPort->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
+ mPort->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
mPort->setValue(389);
new TQWidget(box, "dummy");