summaryrefslogtreecommitdiffstats
path: root/src/appimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/appimpl.h')
-rw-r--r--src/appimpl.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/src/appimpl.h b/src/appimpl.h
index e590dce..b8a2ac4 100644
--- a/src/appimpl.h
+++ b/src/appimpl.h
@@ -45,63 +45,63 @@
#include <kurl.h>
#include <dcopobject.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qdir.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqdir.h>
-class AppImpl : public QObject
+class AppImpl : public TQObject
{
Q_OBJECT
public:
AppImpl();
void createTopLevelEntry(KIO::UDSEntry& entry) const;
- bool statByName(const QString &filename, KIO::UDSEntry& entry);
+ bool statByName(const TQString &filename, KIO::UDSEntry& entry);
- bool listRoot(QValueList<KIO::UDSEntry> &list);
+ bool listRoot(TQValueList<KIO::UDSEntry> &list);
- bool parseURL(const KURL &url, QString &name, QString &path) const;
- bool realURL(const QString &name, const QString &path, KURL &url) const;
+ 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; }
- QString lastErrorMessage() const { return m_lastErrorMessage; }
- bool listAppContents(const QString &name, QValueList<KIO::UDSEntry> &list);
+ TQString lastErrorMessage() const { return m_lastErrorMessage; }
+ bool listAppContents(const TQString &name, TQValueList<KIO::UDSEntry> &list);
private slots:
- KURL findBaseURL(const QString &filename) const;
+ 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,
- const QString &shortname);
- void createExeEntry(QValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
- const QString &shortname,
- const QStringList &fullname);
- void createHomeDirEntry(QValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
- const QString &shortname);
- void createKDEDataDirEntry(QValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
- const QString &shortname);
+ const TQString &shortname);
+ void createExeEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
+ const TQString &shortname,
+ const TQStringList &fullname);
+ void createHomeDirEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
+ const TQString &shortname);
+ void createKDEDataDirEntry(TQValueList<KIO::UDSEntry> &list,KIO::UDSEntry &entry,
+ const TQString &shortname);
void createKDEConfigEntry(KIO::UDSEntry &entry,
- const QString &shortname);
- void createStandardConfigEntry(QValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry,
- const QString &shortname);
- void createStandardDataDirEntry(QValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry,
- const QString &shortname);
- void createTmpDirEntry(QValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry,
- const QString &shortname);
-
- QStringList getAppAddress(const QString &name);
- QStringList getFullLocation(const QStringList & dirList, const QString &name,
- const QDir::FilterSpec &filter, bool beginswith, bool recursive);
+ const TQString &shortname);
+ void createStandardConfigEntry(TQValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry,
+ const TQString &shortname);
+ void createStandardDataDirEntry(TQValueList<KIO::UDSEntry> &list, KIO::UDSEntry &entry,
+ const TQString &shortname);
+ void createTmpDirEntry(TQValueList<KIO::UDSEntry> &list, KIO::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 QString &directory,*/
- const QString &file);
+ void createEntry(KIO::UDSEntry& entry, /*const TQString &directory,*/
+ const TQString &file);
bool m_lastListingEmpty;
/// Last error code stored in class to simplify API.
/// Note that this means almost no method can be const.
int m_lastErrorCode;
- QString m_lastErrorMessage;
+ TQString m_lastErrorMessage;
};
#endif