diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/dynamicplaylist.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/dynamicplaylist.cpp')
-rw-r--r-- | juk/dynamicplaylist.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/juk/dynamicplaylist.cpp b/juk/dynamicplaylist.cpp index 69d0a4ae..336d1e3e 100644 --- a/juk/dynamicplaylist.cpp +++ b/juk/dynamicplaylist.cpp @@ -42,8 +42,8 @@ private: DynamicPlaylist::DynamicPlaylist(const PlaylistList &playlists, PlaylistCollection *collection, - const QString &name, - const QString &iconName, + const TQString &name, + const TQString &iconName, bool setupPlaylist, bool synchronizePlaying) : Playlist(collection, true), @@ -60,14 +60,14 @@ DynamicPlaylist::DynamicPlaylist(const PlaylistList &playlists, for(PlaylistList::ConstIterator it = playlists.begin(); it != playlists.end(); ++it) m_observers.append(new PlaylistDirtyObserver(this, *it)); - connect(CollectionList::instance(), SIGNAL(signalCollectionChanged()), this, SLOT(slotSetDirty())); + connect(CollectionList::instance(), TQT_SIGNAL(signalCollectionChanged()), this, TQT_SLOT(slotSetDirty())); } DynamicPlaylist::~DynamicPlaylist() { lower(); - for(QValueList<PlaylistObserver *>::ConstIterator it = m_observers.begin(); + for(TQValueList<PlaylistObserver *>::ConstIterator it = m_observers.begin(); it != m_observers.end(); ++it) { @@ -93,7 +93,7 @@ void DynamicPlaylist::slotReload() checkUpdateItems(); } -void DynamicPlaylist::lower(QWidget *top) +void DynamicPlaylist::lower(TQWidget *top) { if(top == this) return; @@ -130,13 +130,13 @@ PlaylistItemList DynamicPlaylist::items() return Playlist::items(); } -void DynamicPlaylist::showEvent(QShowEvent *e) +void DynamicPlaylist::showEvent(TQShowEvent *e) { checkUpdateItems(); Playlist::showEvent(e); } -void DynamicPlaylist::paintEvent(QPaintEvent *e) +void DynamicPlaylist::paintEvent(TQPaintEvent *e) { checkUpdateItems(); Playlist::paintEvent(e); @@ -153,7 +153,7 @@ void DynamicPlaylist::updateItems() PlaylistItemList newSiblings = siblings; if(m_siblings != newSiblings) { m_siblings = newSiblings; - QTimer::singleShot(0, this, SLOT(slotUpdateItems())); + TQTimer::singleShot(0, this, TQT_SLOT(slotUpdateItems())); } } |