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 --- juk/tagrenameroptions.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'juk/tagrenameroptions.h') diff --git a/juk/tagrenameroptions.h b/juk/tagrenameroptions.h index b62e9bf4..4c979fa0 100644 --- a/juk/tagrenameroptions.h +++ b/juk/tagrenameroptions.h @@ -96,17 +96,17 @@ public: TagRenamerOptions(const CategoryID &category); TagRenamerOptions(const TagRenamerOptions &other); - QString prefix() const { return m_prefix; } - QString suffix() const { return m_suffix; } - QString emptyText() const { return m_emptyText; } + TQString prefix() const { return m_prefix; } + TQString suffix() const { return m_suffix; } + TQString emptyText() const { return m_emptyText; } EmptyActions emptyAction() const { return m_emptyAction; } unsigned trackWidth() const { return m_trackWidth; } bool disabled() const { return m_disabled; } TagType category() const { return m_category; } - void setPrefix(const QString &prefix) { m_prefix = prefix; } - void setSuffix(const QString &suffix) { m_suffix = suffix; } - void setEmptyText(const QString &emptyText) { m_emptyText = emptyText; } + void setPrefix(const TQString &prefix) { m_prefix = prefix; } + void setSuffix(const TQString &suffix) { m_suffix = suffix; } + void setEmptyText(const TQString &emptyText) { m_emptyText = emptyText; } void setEmptyAction(EmptyActions action) { m_emptyAction = action; } void setTrackWidth(unsigned width) { m_trackWidth = width; } void setDisabled(bool disabled) { m_disabled = disabled; } @@ -119,9 +119,9 @@ public: * @param translate if true, the string is translated (if possible). * @return text representation of category. */ - static QString tagTypeText(TagType category, bool translate = true); + static TQString tagTypeText(TagType category, bool translate = true); - QString tagTypeText(bool translate = true) const + TQString tagTypeText(bool translate = true) const { return tagTypeText(category(), translate); } @@ -134,7 +134,7 @@ public: * @param translated If true, @p text is translated, if false, it is the untranslated * version. */ - static TagType tagFromCategoryText(const QString &text, bool translate = true); + static TagType tagFromCategoryText(const TQString &text, bool translate = true); /** * This saves the options to the global KConfig object. @@ -151,15 +151,15 @@ private: // Member variables - QString m_prefix; - QString m_suffix; + TQString m_prefix; + TQString m_suffix; /// Defines the action to take when the tag is empty. EmptyActions m_emptyAction; /// If m_emptyAction is UseReplacementValue, this holds the text of the value /// to use. - QString m_emptyText; + TQString m_emptyText; /// Used only for the Track type. Defines the minimum track width when /// expanding the track token. -- cgit v1.2.1