summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart/gvimagepart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvimagepart/gvimagepart.cpp')
-rw-r--r--src/gvimagepart/gvimagepart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp
index d53ce63..02ff5e9 100644
--- a/src/gvimagepart/gvimagepart.cpp
+++ b/src/gvimagepart/gvimagepart.cpp
@@ -250,7 +250,7 @@ void GVImagePart::dirListerDeleteItem( KFileItem* item ) {
}
void GVImagePart::updateNextPrevious() {
- TQStringList::ConstIterator current = mImagesInDirectory.tqfind( mDocument->filename());
+ TQStringList::ConstIterator current = mImagesInDirectory.find( mDocument->filename());
if( current == mImagesInDirectory.end()) {
mNextImage->setEnabled( false );
mPreviousImage->setEnabled( false );
@@ -262,7 +262,7 @@ void GVImagePart::updateNextPrevious() {
}
KURL GVImagePart::nextURL() const {
- TQStringList::ConstIterator current = mImagesInDirectory.tqfind( mDocument->filename());
+ TQStringList::ConstIterator current = mImagesInDirectory.find( mDocument->filename());
if( current == mImagesInDirectory.end()) {
return KURL();
}
@@ -286,7 +286,7 @@ void GVImagePart::slotSelectNext() {
}
KURL GVImagePart::previousURL() const {
- TQStringList::ConstIterator current = mImagesInDirectory.tqfind( mDocument->filename());
+ TQStringList::ConstIterator current = mImagesInDirectory.find( mDocument->filename());
if( current == mImagesInDirectory.end() || current == mImagesInDirectory.begin()) {
return KURL();
}