summaryrefslogtreecommitdiffstats
path: root/amarok/src/medium.h
diff options
context:
space:
mode:
Diffstat (limited to 'amarok/src/medium.h')
-rw-r--r--amarok/src/medium.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/amarok/src/medium.h b/amarok/src/medium.h
index 7a75527d..7ef4de79 100644
--- a/amarok/src/medium.h
+++ b/amarok/src/medium.h
@@ -21,14 +21,14 @@
#include "amarok_export.h"
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <kurl.h>
class LIBAMAROK_EXPORT Medium
{
public:
- typedef QValueList<const Medium> List;
+ typedef TQValueList<const Medium> List;
static const uint AUTODETECTED = 0;
static const uint ID = 1;
@@ -46,59 +46,59 @@ public:
static const uint ENCRYPTED = 13;
static const uint CLEAR_DEVICE_UDI = 14;
static const uint PROPERTIES_COUNT = 15;
- static const QString SEPARATOR;
+ static const TQString SEPARATOR;
Medium();
Medium(const Medium *medium);
- Medium(const QString &id, const QString &name);
- static const Medium create(const QStringList &properties);
- static List createList(const QStringList &properties);
+ Medium(const TQString &id, const TQString &name);
+ static const Medium create(const TQStringList &properties);
+ static List createList(const TQStringList &properties);
- const QStringList &properties() const { return m_properties; };
+ const TQStringList &properties() const { return m_properties; };
bool isAutodetected() const { return m_properties[AUTODETECTED]=="true"; };
- QString id() const { return m_properties[ID]; };
- QString name() const { return m_properties[NAME]; };
- QString label() const { return m_properties[LABEL]; };
- QString userLabel() const { return m_properties[USER_LABEL]; };
+ TQString id() const { return m_properties[ID]; };
+ TQString name() const { return m_properties[NAME]; };
+ TQString label() const { return m_properties[LABEL]; };
+ TQString userLabel() const { return m_properties[USER_LABEL]; };
bool isMountable() const { return m_properties[MOUNTABLE]=="true"; };
- QString deviceNode() const { return m_properties[DEVICE_NODE]; };
- QString mountPoint() const { return m_properties[MOUNT_POINT]; };
- QString fsType() const { return m_properties[FS_TYPE]; };
+ TQString deviceNode() const { return m_properties[DEVICE_NODE]; };
+ TQString mountPoint() const { return m_properties[MOUNT_POINT]; };
+ TQString fsType() const { return m_properties[FS_TYPE]; };
bool isMounted() const { return m_properties[MOUNTED]=="true"; };
- QString baseURL() const { return m_properties[BASE_URL]; };
- QString mimeType() const { return m_properties[MIME_TYPE]; };
- QString iconName() const { return m_properties[ICON_NAME]; };
+ TQString baseURL() const { return m_properties[BASE_URL]; };
+ TQString mimeType() const { return m_properties[MIME_TYPE]; };
+ TQString iconName() const { return m_properties[ICON_NAME]; };
bool isEncrypted() const { return m_properties[ENCRYPTED]=="true"; };
- QString clearDeviceUdi() const { return m_properties[CLEAR_DEVICE_UDI]; };
+ TQString clearDeviceUdi() const { return m_properties[CLEAR_DEVICE_UDI]; };
bool needMounting() const;
KURL prettyBaseURL() const;
- QString prettyLabel() const;
+ TQString prettyLabel() const;
void setAutodetected(bool autodetected);
- void setId(const QString &id);
- void setMountPoint(const QString &mountPoint);
- void setName(const QString &name);
- void setLabel(const QString &label);
- void setUserLabel(const QString &label);
- void setFsType(const QString &type);
+ void setId(const TQString &id);
+ void setMountPoint(const TQString &mountPoint);
+ void setName(const TQString &name);
+ void setLabel(const TQString &label);
+ void setUserLabel(const TQString &label);
+ void setFsType(const TQString &type);
bool mountableState(bool mounted);
- void mountableState(const QString &deviceNode,
- const QString &mountPoint,
- const QString &fsType, bool mounted);
- void unmountableState(const QString &baseURL = QString::null);
+ void mountableState(const TQString &deviceNode,
+ const TQString &mountPoint,
+ const TQString &fsType, bool mounted);
+ void unmountableState(const TQString &baseURL = TQString::null);
- void setMimeType(const QString &mimeType);
- void setIconName(const QString &iconName);
+ void setMimeType(const TQString &mimeType);
+ void setIconName(const TQString &iconName);
private:
void loadUserLabel();
- QStringList m_properties;
+ TQStringList m_properties;
-friend class QValueListNode<const Medium>;
+friend class TQValueListNode<const Medium>;
};
#endif