diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:07:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:07:24 -0600 |
commit | 3acdcb24dbf879f255e0904b59c06b9cb0b8ef25 (patch) | |
tree | 08e25256d7720bd36601047636c3407a57ea861f /kdirstat/kdirtree.cpp | |
parent | 5cd0f61d88ee0aa08b9a5cbdb84456019d225617 (diff) | |
download | kdirstat-3acdcb24dbf879f255e0904b59c06b9cb0b8ef25.tar.gz kdirstat-3acdcb24dbf879f255e0904b59c06b9cb0b8ef25.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kdirstat/kdirtree.cpp')
-rw-r--r-- | kdirstat/kdirtree.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdirstat/kdirtree.cpp b/kdirstat/kdirtree.cpp index e80e916..47c609d 100644 --- a/kdirstat/kdirtree.cpp +++ b/kdirstat/kdirtree.cpp @@ -140,7 +140,7 @@ KFileInfo::KFileInfo( const KFileItem * fileItem, _isSparseFile = false; } - _mtime = fileItem->time( KIO::UDS_MODIFICATION_TIME ); + _mtime = fileItem->time( TDEIO::UDS_MODIFICATION_TIME ); } @@ -1010,23 +1010,23 @@ KAnyDirReadJob::startReading() kdWarning() << k_funcinfo << "URL malformed: " << _dir->url() << endl; } - _job = KIO::listDir( url, + _job = TDEIO::listDir( url, false ); // showProgressInfo - connect( _job, TQT_SIGNAL( entries( KIO::Job *, const KIO::UDSEntryList& ) ), - this, TQT_SLOT ( entries( KIO::Job *, const KIO::UDSEntryList& ) ) ); + connect( _job, TQT_SIGNAL( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ), + this, TQT_SLOT ( entries( TDEIO::Job *, const TDEIO::UDSEntryList& ) ) ); - connect( _job, TQT_SIGNAL( result ( KIO::Job * ) ), - this, TQT_SLOT ( finished( KIO::Job * ) ) ); + connect( _job, TQT_SIGNAL( result ( TDEIO::Job * ) ), + this, TQT_SLOT ( finished( TDEIO::Job * ) ) ); - connect( _job, TQT_SIGNAL( canceled( KIO::Job * ) ), - this, TQT_SLOT ( finished( KIO::Job * ) ) ); + connect( _job, TQT_SIGNAL( canceled( TDEIO::Job * ) ), + this, TQT_SLOT ( finished( TDEIO::Job * ) ) ); } void -KAnyDirReadJob::entries ( KIO::Job * job, - const KIO::UDSEntryList & entryList ) +KAnyDirReadJob::entries ( TDEIO::Job * job, + const TDEIO::UDSEntryList & entryList ) { NOT_USED( job ); KURL url( _dir->url() ); // Cache this - it's expensive! @@ -1036,7 +1036,7 @@ KAnyDirReadJob::entries ( KIO::Job * job, kdWarning() << k_funcinfo << "URL malformed: " << _dir->url() << endl; } - KIO::UDSEntryListConstIterator it = entryList.begin(); + TDEIO::UDSEntryListConstIterator it = entryList.begin(); while ( it != entryList.end() ) { @@ -1076,7 +1076,7 @@ KAnyDirReadJob::entries ( KIO::Job * job, void -KAnyDirReadJob::finished( KIO::Job * job ) +KAnyDirReadJob::finished( TDEIO::Job * job ) { if ( job->error() ) _dir->setReadState( KDirError ); @@ -1099,9 +1099,9 @@ KAnyDirReadJob::stat( const KURL & url, KDirTree * tree, KDirInfo * parent ) { - KIO::UDSEntry uds_entry; + TDEIO::UDSEntry uds_entry; - if ( KIO::NetAccess::stat( url, uds_entry, tqApp->mainWidget() ) ) // remote stat() OK? + if ( TDEIO::NetAccess::stat( url, uds_entry, tqApp->mainWidget() ) ) // remote stat() OK? { KFileItem entry( uds_entry, url, true, // determine MIME type on demand @@ -1128,9 +1128,9 @@ KAnyDirReadJob::stat( const KURL & url, TQString KAnyDirReadJob::owner( KURL url ) { - KIO::UDSEntry uds_entry; + TDEIO::UDSEntry uds_entry; - if ( KIO::NetAccess::stat( url, uds_entry, tqApp->mainWidget() ) ) // remote stat() OK? + if ( TDEIO::NetAccess::stat( url, uds_entry, tqApp->mainWidget() ) ) // remote stat() OK? { KFileItem entry( uds_entry, url, true, // determine MIME type on demand @@ -1181,7 +1181,7 @@ KDirTree::~KDirTree() void KDirTree::readConfig() { - KConfig * config = kapp->config(); + TDEConfig * config = kapp->config(); config->setGroup( "Directory Reading" ); _crossFileSystems = config->readBoolEntry( "CrossFileSystems", false ); |