summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail
diff options
context:
space:
mode:
Diffstat (limited to 'kioslave/thumbnail')
-rw-r--r--kioslave/thumbnail/textcreator.cpp2
-rw-r--r--kioslave/thumbnail/thumbnail.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kioslave/thumbnail/textcreator.cpp b/kioslave/thumbnail/textcreator.cpp
index d2960fa7e..749dd4816 100644
--- a/kioslave/thumbnail/textcreator.cpp
+++ b/kioslave/thumbnail/textcreator.cpp
@@ -148,7 +148,7 @@ bool TextCreator::create(const TQString &path, int width, int height, TQImage &i
// physical newline in the file if we don't come from one
if ( !newLine )
{
- int pos = text.tqfind( '\n', i );
+ int pos = text.find( '\n', i );
if ( pos == -1 )
break;
i = pos + 1;
diff --git a/kioslave/thumbnail/thumbnail.cpp b/kioslave/thumbnail/thumbnail.cpp
index 55ac3c80b..1560a1431 100644
--- a/kioslave/thumbnail/thumbnail.cpp
+++ b/kioslave/thumbnail/thumbnail.cpp
@@ -417,7 +417,7 @@ void ThumbnailProtocol::get(const KURL &url)
const TQImage& ThumbnailProtocol::getIcon()
{
- TQImage* icon = m_iconDict.tqfind(m_mimeType);
+ TQImage* icon = m_iconDict.find(m_mimeType);
if ( !icon ) // generate it!
{
icon = new TQImage( KMimeType::mimeType(m_mimeType)->pixmap( KIcon::Desktop, m_iconSize ).convertToImage() );