summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imagesavedialog.cpp
diff options
context:
space:
mode:
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);
}