summaryrefslogtreecommitdiffstats
path: root/src/notecontent.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:05:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:05:29 -0600
commite54e867af243223a620f12bf260e1af9ac9f6dc5 (patch)
tree0e741cd6800d16c390671051ae525f760d87cdb5 /src/notecontent.cpp
parent934db26c3f8efe148a5680c22f965ee10f818a61 (diff)
downloadbasket-e54e867af243223a620f12bf260e1af9ac9f6dc5.tar.gz
basket-e54e867af243223a620f12bf260e1af9ac9f6dc5.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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*)) );
}