summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediaimpl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/media/mediaimpl.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/media/mediaimpl.h')
-rw-r--r--kioslave/media/mediaimpl.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kioslave/media/mediaimpl.h b/kioslave/media/mediaimpl.h
index 2d82aefda..92b1d0202 100644
--- a/kioslave/media/mediaimpl.h
+++ b/kioslave/media/mediaimpl.h
@@ -25,43 +25,43 @@
#include <kurl.h>
#include <dcopobject.h>
-#include <qobject.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqstring.h>
#include "medium.h"
-class MediaImpl : public QObject, public DCOPObject
+class MediaImpl : public TQObject, public DCOPObject
{
Q_OBJECT
K_DCOP
public:
MediaImpl();
- bool parseURL(const KURL &url, QString &name, QString &path) const;
- bool realURL(const QString &name, const QString &path, KURL &url);
+ bool parseURL(const KURL &url, TQString &name, TQString &path) const;
+ bool realURL(const TQString &name, const TQString &path, KURL &url);
- bool statMedium(const QString &name, KIO::UDSEntry &entry);
- bool statMediumByLabel(const QString &label, KIO::UDSEntry &entry);
- bool listMedia(QValueList<KIO::UDSEntry> &list);
- bool setUserLabel(const QString &name, const QString &label);
+ bool statMedium(const TQString &name, KIO::UDSEntry &entry);
+ bool statMediumByLabel(const TQString &label, KIO::UDSEntry &entry);
+ bool listMedia(TQValueList<KIO::UDSEntry> &list);
+ bool setUserLabel(const TQString &name, const TQString &label);
void createTopLevelEntry(KIO::UDSEntry& entry) const;
int lastErrorCode() const { return m_lastErrorCode; }
- QString lastErrorMessage() const { return m_lastErrorMessage; }
+ TQString lastErrorMessage() const { return m_lastErrorMessage; }
k_dcop:
- void slotMediumChanged(const QString &name);
+ void slotMediumChanged(const TQString &name);
signals:
- void warning(const QString &msg);
+ void warning(const TQString &msg);
private slots:
- void slotWarning(KIO::Job *job, const QString &msg);
+ void slotWarning(KIO::Job *job, const TQString &msg);
void slotMountResult(KIO::Job *job);
void slotStatResult(KIO::Job *job);
private:
- const Medium findMediumByName(const QString &name, bool &ok);
+ const Medium findMediumByName(const TQString &name, bool &ok);
bool ensureMediumMounted(Medium &medium);
KIO::UDSEntry extractUrlInfos(const KURL &url);
@@ -75,7 +75,7 @@ private:
/// 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