summaryrefslogtreecommitdiffstats
path: root/src/notecontent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notecontent.cpp')
-rw-r--r--src/notecontent.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notecontent.cpp b/src/notecontent.cpp
index cc5d683..785d5b1 100644
--- a/src/notecontent.cpp
+++ b/src/notecontent.cpp
@@ -1019,7 +1019,7 @@ void FileContent::toolTipInfos(TQStringList *keys, TQStringList *values)
{
// Get the size of the file:
uint size = TQFileInfo(fullPath()).size();
- TQString humanFileSize = KIO::convertSize((KIO::filesize_t)size);
+ TQString humanFileSize = TDEIO::convertSize((TDEIO::filesize_t)size);
keys->append(i18n("Size"));
values->append(humanFileSize);
@@ -1134,7 +1134,7 @@ void FileContent::startFetchingUrlPreview()
KURL filteredUrl = NoteFactory::filteredURL(url);//KURIFilter::self()->filteredURI(url);
KURL::List urlList;
urlList.append(filteredUrl);
- m_previewJob = KIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
+ m_previewJob = TDEIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
connect( m_previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
connect( m_previewJob, TQT_SIGNAL(failed(const KFileItem*)), this, TQT_SLOT(removePreview(const KFileItem*)) );
}
@@ -1346,7 +1346,7 @@ void LinkContent::startFetchingUrlPreview()
KURL filteredUrl = NoteFactory::filteredURL(url);//KURIFilter::self()->filteredURI(url);
KURL::List urlList;
urlList.append(filteredUrl);
- m_previewJob = KIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
+ m_previewJob = TDEIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
connect( m_previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
connect( m_previewJob, TQT_SIGNAL(failed(const KFileItem*)), this, TQT_SLOT(removePreview(const KFileItem*)) );
}