diff options
Diffstat (limited to 'libkcddb/cdinfo.h')
-rw-r--r-- | libkcddb/cdinfo.h | 42 |
1 files changed, 21 insertions, 21 deletions
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 <qstringlist.h> -#include <qvaluelist.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> #include <kdemacros.h> -#include <qvariant.h> +#include <tqvariant.h> namespace KCDDB { @@ -46,16 +46,16 @@ namespace KCDDB * @p type is case insensitive. * For example <code>get("title")</code> */ - 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<TrackInfo> TrackInfoList; + typedef TQValueList<TrackInfo> 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 <code>get("title")</code> */ - 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<CDInfo> CDInfoList; + typedef TQValueList<CDInfo> CDInfoList; } #endif // KCDDB_CDINFO_H |