diff options
Diffstat (limited to 'src/appimpl.h')
-rw-r--r-- | src/appimpl.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/appimpl.h b/src/appimpl.h index b8a2ac4..974f648 100644 --- a/src/appimpl.h +++ b/src/appimpl.h @@ -40,8 +40,8 @@ #ifndef APPIMPL_H #define APPIMPL_H -#include <kio/global.h> -#include <kio/job.h> +#include <tdeio/global.h> +#include <tdeio/job.h> #include <kurl.h> #include <dcopobject.h> @@ -55,45 +55,45 @@ Q_OBJECT public: AppImpl(); - void createTopLevelEntry(KIO::UDSEntry& entry) const; - bool statByName(const TQString &filename, KIO::UDSEntry& entry); + void createTopLevelEntry(TDEIO::UDSEntry& entry) const; + bool statByName(const TQString &filename, TDEIO::UDSEntry& entry); - bool listRoot(TQValueList<KIO::UDSEntry> &list); + bool listRoot(TQValueList<TDEIO::UDSEntry> &list); bool parseURL(const KURL &url, TQString &name, TQString &path) const; bool realURL(const TQString &name, const TQString &path, KURL &url) const; int lastErrorCode() const { return m_lastErrorCode; } TQString lastErrorMessage() const { return m_lastErrorMessage; } - bool listAppContents(const TQString &name, TQValueList<KIO::UDSEntry> &list); + bool listAppContents(const TQString &name, TQValueList<TDEIO::UDSEntry> &list); private slots: KURL findBaseURL(const TQString &filename) const; - void slotEntries(KIO::Job *job, const KIO::UDSEntryList &list); - void slotResult(KIO::Job *job); - void createManPageEntry(KIO::UDSEntry &entry, + void slotEntries(TDEIO::Job *job, const TDEIO::UDSEntryList &list); + void slotResult(TDEIO::Job *job); + void createManPageEntry(TDEIO::UDSEntry &entry, const TQString &shortname); - void createExeEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry, + void createExeEntry(TQValueList<TDEIO::UDSEntry> &list,TDEIO::UDSEntry &entry, const TQString &shortname, const TQStringList &fullname); - void createHomeDirEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry, + void createHomeDirEntry(TQValueList<TDEIO::UDSEntry> &list,TDEIO::UDSEntry &entry, const TQString &shortname); - void createKDEDataDirEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry, + void createKDEDataDirEntry(TQValueList<TDEIO::UDSEntry> &list,TDEIO::UDSEntry &entry, const TQString &shortname); - void createKDEConfigEntry(KIO::UDSEntry &entry, + void createKDEConfigEntry(TDEIO::UDSEntry &entry, const TQString &shortname); - void createStandardConfigEntry(TQValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry, + void createStandardConfigEntry(TQValueList<TDEIO::UDSEntry> &list, TDEIO::UDSEntry &entry, const TQString &shortname); - void createStandardDataDirEntry(TQValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry, + void createStandardDataDirEntry(TQValueList<TDEIO::UDSEntry> &list, TDEIO::UDSEntry &entry, const TQString &shortname); - void createTmpDirEntry(TQValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry, + void createTmpDirEntry(TQValueList<TDEIO::UDSEntry> &list, TDEIO::UDSEntry &entry, const TQString &shortname); TQStringList getAppAddress(const TQString &name); TQStringList getFullLocation(const TQStringList & dirList, const TQString &name, const TQDir::FilterSpec &filter, bool beginswith, bool recursive); private: - void createEntry(KIO::UDSEntry& entry, /*const TQString &directory,*/ + void createEntry(TDEIO::UDSEntry& entry, /*const TQString &directory,*/ const TQString &file); bool m_lastListingEmpty; |