summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:21:06 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:21:06 -0600
commit7d18baa666593a494ceea480732a8540ba471fe5 (patch)
tree1c656ba0da61a3bfcf4c4de730e66322865844fe /kexi/kexidb/drivers
parent951839808408bed4165fc025dbf00caf59ea319b (diff)
downloadkoffice-7d18baa666593a494ceea480732a8540ba471fe5.tar.gz
koffice-7d18baa666593a494ceea480732a8540ba471fe5.zip
Rename additional global TQt functions
Diffstat (limited to 'kexi/kexidb/drivers')
-rw-r--r--kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp b/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp
index 7b245d9a..74479fe7 100644
--- a/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp
+++ b/kexi/kexidb/drivers/mySQL/mysqlpreparedstatement.cpp
@@ -153,7 +153,7 @@ bool MySqlPreparedStatement::execute()
if (field->isTextType()) {
//! @todo optimize
m_stringBuffer[ 1024 ]; ???
- char *str = qstrncpy(m_stringBuffer, (const char*)(*it).toString().utf8(), 1024);
+ char *str = tqstrncpy(m_stringBuffer, (const char*)(*it).toString().utf8(), 1024);
m_mysqlBind[arg].buffer_type = MYSQL_TYPE_STRING;
m_mysqlBind[arg].buffer = m_stringBuffer;
m_mysqlBind[arg].is_null = (my_bool*)0;