diff options
Diffstat (limited to 'amarok/src/mediadevice/riokarma/riokarmamediadevice.h')
-rw-r--r-- | amarok/src/mediadevice/riokarma/riokarmamediadevice.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/amarok/src/mediadevice/riokarma/riokarmamediadevice.h b/amarok/src/mediadevice/riokarma/riokarmamediadevice.h index 237ab84e..42669448 100644 --- a/amarok/src/mediadevice/riokarma/riokarmamediadevice.h +++ b/amarok/src/mediadevice/riokarma/riokarmamediadevice.h @@ -22,8 +22,8 @@ #include "mediabrowser.h" -#include <qptrlist.h> -#include <qmutex.h> +#include <tqptrlist.h> +#include <tqmutex.h> #include "libkarma/lkarma.h" @@ -48,16 +48,16 @@ class RioKarmaTrack { private: unsigned int m_id; MetaBundle m_bundle; - QPtrList<RioKarmaMediaItem> m_itemList; + TQPtrList<RioKarmaMediaItem> m_itemList; }; class RioKarmaMediaItem : public MediaItem { public: - RioKarmaMediaItem( QListView *parent, QListViewItem *after = 0 ) : MediaItem( parent, after ) + RioKarmaMediaItem( TQListView *parent, TQListViewItem *after = 0 ) : MediaItem( parent, after ) {} - RioKarmaMediaItem( QListViewItem *parent, QListViewItem *after = 0 ) : MediaItem( parent, after ) + RioKarmaMediaItem( TQListViewItem *parent, TQListViewItem *after = 0 ) : MediaItem( parent, after ) {} ~RioKarmaMediaItem() { @@ -65,7 +65,7 @@ class RioKarmaMediaItem : public MediaItem } void setTrack( RioKarmaTrack *track ) { m_track = track; m_track->addItem( this ); } RioKarmaTrack *track() { return m_track; } - QString filename() { return m_track->bundle()->url().path(); } + TQString filename() { return m_track->bundle()->url().path(); } private: RioKarmaTrack *m_track; }; @@ -81,9 +81,9 @@ class RioKarmaMediaDevice : public MediaDevice bool isConnected(); int current_id(); void setDisconnected(); - virtual void rmbPressed( QListViewItem *qitem, const QPoint &point, int arg1 ); + virtual void rmbPressed( TQListViewItem *qitem, const TQPoint &point, int arg1 ); virtual void init( MediaBrowser *parent ); - virtual QStringList supportedFiletypes(); + virtual TQStringList supportedFiletypes(); protected: MediaItem* trackExists( const MetaBundle &bundle ); @@ -97,8 +97,8 @@ class RioKarmaMediaDevice : public MediaDevice void synchronizeDevice(); int deleteItemFromDevice( MediaItem *item, int flags=DeleteTrack ); - void addToPlaylist( MediaItem *list, MediaItem *after, QPtrList<MediaItem> items ); - RioKarmaMediaItem *newPlaylist( const QString &name, MediaItem *list, QPtrList<MediaItem> items ); + void addToPlaylist( MediaItem *list, MediaItem *after, TQPtrList<MediaItem> items ); + RioKarmaMediaItem *newPlaylist( const TQString &name, MediaItem *list, TQPtrList<MediaItem> items ); bool getCapacity( KIO::filesize_t *total, KIO::filesize_t *available ); virtual void updateRootItems() {}; @@ -108,8 +108,8 @@ class RioKarmaMediaDevice : public MediaDevice void clearItems(); int deleteRioTrack( RioKarmaMediaItem *trackItem ); int m_rio; - QMutex m_mutex; - QMap<QString,RioKarmaMediaItem *> m_fileNameToItem; + TQMutex m_mutex; + TQMap<TQString,RioKarmaMediaItem *> m_fileNameToItem; }; |