summaryrefslogtreecommitdiffstats
path: root/languages/sql
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
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /languages/sql
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/sql')
-rw-r--r--languages/sql/sqlactions.cpp2
-rw-r--r--languages/sql/sqlsupport_part.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/sql/sqlactions.cpp b/languages/sql/sqlactions.cpp
index eabb1c5a..4e0a7d07 100644
--- a/languages/sql/sqlactions.cpp
+++ b/languages/sql/sqlactions.cpp
@@ -49,7 +49,7 @@ SqlListAction::SqlListAction(SQLSupportPart *part, const TQString &text,
void SqlListAction::setCurrentConnectionName(const TQString &name)
{
- int idx = m_part->connections().tqfindIndex( name );
+ int idx = m_part->connections().findIndex( name );
if ( idx < 0 )
m_combo->setCurrentItem( 0 );
else
diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp
index 9ce617e3..a53f2879 100644
--- a/languages/sql/sqlsupport_part.cpp
+++ b/languages/sql/sqlsupport_part.cpp
@@ -84,7 +84,7 @@ void SQLSupportPart::activeConnectionChanged()
void SQLSupportPart::clearConfig()
{
for ( TQStringList::Iterator it = conNames.begin(); it != conNames.end(); ++it ) {
- if ( TQSqlDatabase::tqcontains( *it ) ) {
+ if ( TQSqlDatabase::contains( *it ) ) {
TQSqlDatabase::database( *it, false )->close();
TQSqlDatabase::removeDatabase( *it );
} else {
@@ -261,7 +261,7 @@ void SQLSupportPart::removedFilesFromProject( const TQStringList &fileList )
void SQLSupportPart::savedFile( const KURL &fileName )
{
- if ( project() ->allFiles().tqcontains( fileName.path().mid ( project() ->projectDirectory().length() + 1 ) ) ) {
+ if ( project() ->allFiles().contains( fileName.path().mid ( project() ->projectDirectory().length() + 1 ) ) ) {
// parse( fileName );
// emit updatedSourceInfo();
}