summaryrefslogtreecommitdiffstats
path: root/kbarcode/sqltables.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
commit33038ab0e8b8e7fb05093f953e4f6f724c6e2482 (patch)
tree6a5f53930c5919157cb0f1e928500f97ff8dde95 /kbarcode/sqltables.cpp
parent7a4cd8d44ee83c7de058bb0da8ae6676166e9325 (diff)
downloadkbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.tar.gz
kbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/sqltables.cpp')
-rw-r--r--kbarcode/sqltables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbarcode/sqltables.cpp b/kbarcode/sqltables.cpp
index 87fc8b3..1d8d8c3 100644
--- a/kbarcode/sqltables.cpp
+++ b/kbarcode/sqltables.cpp
@@ -421,7 +421,7 @@ void SqlTables::updateTables()
update << "gap_top" << "gap_left" << "height" << "width" << "gap_v" << "gap_h";
TQSqlQuery query4("SHOW FIELDS FROM " TABLE_LABEL_DEF );
while( query4.next() )
- if( update.tqcontains( query4.value( 0 ).toString() ) && query4.value(1).toString() == "decimal(10,0)" ) {
+ if( update.contains( query4.value( 0 ).toString() ) && query4.value(1).toString() == "decimal(10,0)" ) {
TQSqlQuery q;
q.exec( TQString("ALTER TABLE " TABLE_LABEL_DEF " CHANGE ") +
query4.value( 0 ).toString() + " " + query4.value( 0 ).toString() + " NUMERIC(10,4)" );