From e54e867af243223a620f12bf260e1af9ac9f6dc5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:05:29 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- src/notecontent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/notecontent.cpp') 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*)) ); } -- cgit v1.2.1