diff options
Diffstat (limited to 'juk/nowplaying.h')
-rw-r--r-- | juk/nowplaying.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/juk/nowplaying.h b/juk/nowplaying.h index bacc6582..f1b38dce 100644 --- a/juk/nowplaying.h +++ b/juk/nowplaying.h @@ -43,7 +43,7 @@ class NowPlaying : public TQHBox TQ_OBJECT public: - NowPlaying(TQWidget *tqparent, PlaylistCollection *collection, + NowPlaying(TQWidget *parent, PlaylistCollection *collection, const char *name = 0); void addItem(NowPlayingItem *item); PlaylistCollection *collection() const; @@ -54,9 +54,9 @@ private slots: private: struct Observer : public PlaylistObserver { - Observer(NowPlaying *tqparent, PlaylistInterface *playlist) : + Observer(NowPlaying *parent, PlaylistInterface *playlist) : PlaylistObserver(playlist), - m_parent(tqparent) {} + m_parent(parent) {} virtual void updateCurrent() {} virtual void updateData() { m_parent->slotUpdate(); } NowPlaying *m_parent; @@ -76,9 +76,9 @@ class NowPlayingItem { public: virtual void update(const FileHandle &file) = 0; - NowPlaying *tqparent() const { return m_parent; } + NowPlaying *parent() const { return m_parent; } protected: - NowPlayingItem(NowPlaying *tqparent) : m_parent(tqparent) { tqparent->addItem(this); } + NowPlayingItem(NowPlaying *parent) : m_parent(parent) { parent->addItem(this); } private: NowPlaying *m_parent; }; @@ -91,7 +91,7 @@ private: class CoverItem : public TQLabel, public NowPlayingItem { public: - CoverItem(NowPlaying *tqparent); + CoverItem(NowPlaying *parent); virtual void update(const FileHandle &file); virtual void mouseReleaseEvent(TQMouseEvent *event); @@ -115,7 +115,7 @@ private: class LinkLabel : public KActiveLabel { public: - LinkLabel(TQWidget *tqparent, const char *name = 0) : KActiveLabel(tqparent, name) {} + LinkLabel(TQWidget *parent, const char *name = 0) : KActiveLabel(parent, name) {} virtual void openLink(const TQString &) {} }; @@ -130,7 +130,7 @@ class TrackItem : public TQWidget, public NowPlayingItem TQ_OBJECT public: - TrackItem(NowPlaying *tqparent); + TrackItem(NowPlaying *parent); virtual void update(const FileHandle &file); private slots: @@ -152,7 +152,7 @@ class HistoryItem : public LinkLabel, public NowPlayingItem TQ_OBJECT public: - HistoryItem(NowPlaying *tqparent); + HistoryItem(NowPlaying *parent); virtual void update(const FileHandle &file); virtual void openLink(const TQString &link); |