summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/sqlwriter.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
commit0813b39aed2cf4c84157a22c4c9594336d93d412 (patch)
tree0f6157f9c9ecc6ed26cb98f058219a8021d3f4a6 /umbrello/umbrello/codegenerators/sqlwriter.cpp
parent35dc58791106d7a1864264063df5f3ee3f1f0f15 (diff)
downloadtdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.tar.gz
tdesdk-0813b39aed2cf4c84157a22c4c9594336d93d412.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/codegenerators/sqlwriter.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/sqlwriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/codegenerators/sqlwriter.cpp b/umbrello/umbrello/codegenerators/sqlwriter.cpp
index 214af4ad..8582ec93 100644
--- a/umbrello/umbrello/codegenerators/sqlwriter.cpp
+++ b/umbrello/umbrello/codegenerators/sqlwriter.cpp
@@ -65,8 +65,8 @@ void SQLWriter::writeClass(UMLClassifier *c) {
TQString str;
str = getHeadingFile(".sql");
if(!str.isEmpty()) {
- str.tqreplace(TQRegExp("%filename%"),fileName);
- str.tqreplace(TQRegExp("%filepath%"),file.name());
+ str.replace(TQRegExp("%filename%"),fileName);
+ str.replace(TQRegExp("%filepath%"),file.name());
sql<<str<<m_endl;
}
@@ -140,7 +140,7 @@ void SQLWriter::writeAttributes(UMLClassifier *c, TQTextStream &sql) {
}
// now print the attributes; they are sorted by there scope
- // in front of the first attribute shouldn't be a , -> so we need to tqfind
+ // in front of the first attribute shouldn't be a , -> so we need to find
// out, when the first attribute was added
bool first = true;