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/playlistsearch.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'juk/playlistsearch.h') diff --git a/juk/playlistsearch.h b/juk/playlistsearch.h index 9b46a92c..7281ba13 100644 --- a/juk/playlistsearch.h +++ b/juk/playlistsearch.h @@ -16,21 +16,21 @@ #ifndef PLAYLISTSEARCH_H #define PLAYLISTSEARCH_H -#include +#include class Playlist; -typedef QValueList PlaylistList; +typedef TQValueList PlaylistList; class PlaylistItem; -typedef QValueList PlaylistItemList; +typedef TQValueList PlaylistItemList; -typedef QValueList ColumnList; +typedef TQValueList ColumnList; class PlaylistSearch { public: class Component; - typedef QValueList ComponentList; + typedef TQValueList ComponentList; enum SearchMode { MatchAny = 0, MatchAll = 1 }; @@ -90,14 +90,14 @@ public: /** * Create an empty search component. This is only provided for use by - * QValueList and should not be used in any other context. + * TQValueList and should not be used in any other context. */ Component(); /** * Create a query component. This defaults to searching all visible coulumns. */ - Component(const QString &query, + Component(const TQString &query, bool caseSensitive = false, const ColumnList &columns = ColumnList(), MatchMode mode = Contains); @@ -105,10 +105,10 @@ public: /** * Create a query component. This defaults to searching all visible coulumns. */ - Component(const QRegExp &query, const ColumnList &columns = ColumnList()); + Component(const TQRegExp &query, const ColumnList &columns = ColumnList()); - QString query() const { return m_query; } - QRegExp pattern() const { return m_queryRe; } + TQString query() const { return m_query; } + TQRegExp pattern() const { return m_queryRe; } ColumnList columns() const { return m_columns; } bool matches(PlaylistItem *item) const; @@ -119,8 +119,8 @@ public: bool operator==(const Component &v) const; private: - QString m_query; - QRegExp m_queryRe; + TQString m_query; + TQRegExp m_queryRe; mutable ColumnList m_columns; MatchMode m_mode; bool m_searchAllVisible; @@ -134,7 +134,7 @@ private: * search is just relevant to the collection list. This is all that is presently * needed by JuK. */ -QDataStream &operator<<(QDataStream &s, const PlaylistSearch &search); +TQDataStream &operator<<(TQDataStream &s, const PlaylistSearch &search); /** * Streams \a search from the stream \a s. @@ -142,9 +142,9 @@ QDataStream &operator<<(QDataStream &s, const PlaylistSearch &search); * search is just relevant to the collection list. This is all that is presently * needed by JuK. */ -QDataStream &operator>>(QDataStream &s, PlaylistSearch &search); +TQDataStream &operator>>(TQDataStream &s, PlaylistSearch &search); -QDataStream &operator<<(QDataStream &s, const PlaylistSearch::Component &c); -QDataStream &operator>>(QDataStream &s, PlaylistSearch::Component &c); +TQDataStream &operator<<(TQDataStream &s, const PlaylistSearch::Component &c); +TQDataStream &operator>>(TQDataStream &s, PlaylistSearch::Component &c); #endif -- cgit v1.2.1