summaryrefslogtreecommitdiffstats
path: root/src/gvcore/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/document.cpp')
-rw-r--r--src/gvcore/document.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/document.cpp b/src/gvcore/document.cpp
index f6db357..b7d3ca8 100644
--- a/src/gvcore/document.cpp
+++ b/src/gvcore/document.cpp
@@ -92,7 +92,7 @@ public:
TQString mMimeType;
TQCString mImageFormat;
DocumentImpl* mImpl;
- TQGuardedPtr<KIO::StatJob> mStatJob;
+ TQGuardedPtr<TDEIO::StatJob> mStatJob;
int mFileSize;
};
@@ -195,14 +195,14 @@ void Document::setURL(const KURL& paramURL) {
}
d->mURL = localURL; // this may be fixed after stat() is complete, but set at least something
- d->mStatJob = KIO::stat( localURL, !localURL.isLocalFile() );
+ d->mStatJob = TDEIO::stat( localURL, !localURL.isLocalFile() );
d->mStatJob->setWindow(TDEApplication::kApplication()->mainWidget());
- connect( d->mStatJob, TQT_SIGNAL( result (KIO::Job *) ),
- this, TQT_SLOT( slotStatResult (KIO::Job *) ) );
+ connect( d->mStatJob, TQT_SIGNAL( result (TDEIO::Job *) ),
+ this, TQT_SLOT( slotStatResult (TDEIO::Job *) ) );
}
-void Document::slotStatResult(KIO::Job* job) {
+void Document::slotStatResult(TDEIO::Job* job) {
LOG("");
Q_ASSERT(d->mStatJob==job);
if (d->mStatJob!=job) {
@@ -213,12 +213,12 @@ void Document::slotStatResult(KIO::Job* job) {
if (d->mStatJob->error()) return;
bool isDir=false;
- KIO::UDSEntry entry = d->mStatJob->statResult();
+ TDEIO::UDSEntry entry = d->mStatJob->statResult();
d->mURL=d->mStatJob->url();
- KIO::UDSEntry::ConstIterator it;
+ TDEIO::UDSEntry::ConstIterator it;
for(it=entry.begin();it!=entry.end();++it) {
- if ((*it).m_uds==KIO::UDS_FILE_TYPE) {
+ if ((*it).m_uds==TDEIO::UDS_FILE_TYPE) {
isDir=S_ISDIR( (*it).m_long );
break;
}