summaryrefslogtreecommitdiffstats
path: root/buildtools/script/scriptnewfiledlg.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
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /buildtools/script/scriptnewfiledlg.cpp
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 'buildtools/script/scriptnewfiledlg.cpp')
-rw-r--r--buildtools/script/scriptnewfiledlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/script/scriptnewfiledlg.cpp b/buildtools/script/scriptnewfiledlg.cpp
index 41683113..0697f5f1 100644
--- a/buildtools/script/scriptnewfiledlg.cpp
+++ b/buildtools/script/scriptnewfiledlg.cpp
@@ -76,7 +76,7 @@ ScriptNewFileDialog::~ScriptNewFileDialog()
void ScriptNewFileDialog::accept()
{
TQString fileName = filename_edit->text();
- if (fileName.tqfind('/') != -1) {
+ if (fileName.find('/') != -1) {
KMessageBox::sorry(this, i18n("Please enter the file name without '/' and so on."));
return;
}