summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imagesavedialog.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
commitff8c66f117613688a0979d2296cbf6c778136419 (patch)
treee08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/imagesavedialog.cpp
parent362662842b9a5b2c51d442b69b69c06ddb60994c (diff)
downloadgwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz
gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/imagesavedialog.cpp')
-rw-r--r--src/gvcore/imagesavedialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/imagesavedialog.cpp b/src/gvcore/imagesavedialog.cpp
index 81e4a44..c98b30c 100644
--- a/src/gvcore/imagesavedialog.cpp
+++ b/src/gvcore/imagesavedialog.cpp
@@ -67,7 +67,7 @@ ImageSaveDialog::ImageSaveDialog(KURL& url, const TQCString& imageFormat, TQWidg
TQStringList patterns;
for (TQStringList::const_iterator patIt=mt->patterns().begin();patIt!=mt->patterns().end();++patIt) {
TQString pattern=(*patIt).lower();
- if (!patterns.tqcontains(pattern)) patterns.append(pattern);
+ if (!patterns.contains(pattern)) patterns.append(pattern);
}
if (patterns.isEmpty()) {
patterns.append( TQString("*.%1").tqarg(format.lower()) );
@@ -119,7 +119,7 @@ void ImageSaveDialog::updateImageFormat(const TQString& text) {
TQString name=locationEdit->currentText();
TQString suffix=KImageIO::suffix(mImageFormat);
- int dotPos=name.tqfindRev('.');
+ int dotPos=name.findRev('.');
if (dotPos>-1) {
name=name.left(dotPos);
}