From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcddb/cdinfo.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'libkcddb/cdinfo.h') diff --git a/libkcddb/cdinfo.h b/libkcddb/cdinfo.h index fb547672..afa66adc 100644 --- a/libkcddb/cdinfo.h +++ b/libkcddb/cdinfo.h @@ -22,10 +22,10 @@ #ifndef KCDDB_CDINFO_H #define KCDDB_CDINFO_H -#include -#include +#include +#include #include -#include +#include namespace KCDDB { @@ -46,16 +46,16 @@ namespace KCDDB * @p type is case insensitive. * For example get("title") */ - QVariant get(const QString &type) const; + TQVariant get(const TQString &type) const; #ifndef KDE_NO_COMPAT // Use get("title"); - QString title; + TQString title; // Use get("extt"); - QString extt; + TQString extt; #endif }; - typedef QValueList TrackInfoList; + typedef TQValueList TrackInfoList; /** * Information about a CD @@ -78,12 +78,12 @@ namespace KCDDB * Load CDInfo from a string that is CDDB compatible * @return true if successful */ - bool load(const QString &); + bool load(const TQString &); /** * Load CDInfo from a stringList that is CDDB compatible * @return true if successful */ - bool load(const QStringList &); + bool load(const TQStringList &); /** * Clear all information, setting this to invalid @@ -99,21 +99,21 @@ namespace KCDDB * @param submit If submit is true only returns CDDB compatible information * @return a string containing all of the CD's information. */ - QString toString(bool submit=false) const; + TQString toString(bool submit=false) const; /** * Get data for type that has been assigned to this disc. * @p type is case insensitive. * For example get("title") */ - QVariant get(const QString &type) const; + TQVariant get(const TQString &type) const; // Use get(...) - QString id; - QString artist; - QString title; - QString genre; - QString category; - QString extd; + TQString id; + TQString artist; + TQString title; + TQString genre; + TQString category; + TQString extd; uint year; uint length; // in milliseconds uint revision; @@ -124,7 +124,7 @@ namespace KCDDB /** * @returns a valid CDDB line made up of name and value */ - QString createLine(const QString& name, const QString& value) const; + TQString createLine(const TQString& name, const TQString& value) const; /** * Checks to make sure that trackNumber exists */ @@ -132,14 +132,14 @@ namespace KCDDB /** * escape's string for CDDB processing */ - static QString escape( const QString & ); + static TQString escape( const TQString & ); /** * fixes an escaped string that has been CDDB processed */ - static QString unescape( const QString & ); + static TQString unescape( const TQString & ); }; - typedef QValueList CDInfoList; + typedef TQValueList CDInfoList; } #endif // KCDDB_CDINFO_H -- cgit v1.2.1