|
|
@ -49,7 +49,7 @@ namespace TDEIO { class Job; class TransferJob; class CopyJob; } //podcast downl
|
|
|
|
/* A base class to be able to use polymorphism and avoid tons of casts */
|
|
|
|
/* A base class to be able to use polymorphism and avoid tons of casts */
|
|
|
|
class PlaylistBrowserEntry : public TQObject, public TDEListViewItem
|
|
|
|
class PlaylistBrowserEntry : public TQObject, public TDEListViewItem
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
PlaylistBrowserEntry( TQListViewItem *parent, TQListViewItem *after )
|
|
|
|
PlaylistBrowserEntry( TQListViewItem *parent, TQListViewItem *after )
|
|
|
@ -86,7 +86,7 @@ class PlaylistBrowserEntry : public TQObject, public TDEListViewItem
|
|
|
|
|
|
|
|
|
|
|
|
class DynamicEntry : public PlaylistBrowserEntry, public DynamicMode
|
|
|
|
class DynamicEntry : public PlaylistBrowserEntry, public DynamicMode
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
DynamicEntry( TQListViewItem *parent, TQListViewItem *after, const TQString &title );
|
|
|
|
DynamicEntry( TQListViewItem *parent, TQListViewItem *after, const TQString &title );
|
|
|
@ -107,7 +107,7 @@ class DynamicEntry : public PlaylistBrowserEntry, public DynamicMode
|
|
|
|
|
|
|
|
|
|
|
|
class PlaylistCategory : public PlaylistBrowserEntry
|
|
|
|
class PlaylistCategory : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
PlaylistCategory( TQListView *parent, TQListViewItem *after, const TQString &, bool isFolder=false );
|
|
|
|
PlaylistCategory( TQListView *parent, TQListViewItem *after, const TQString &, bool isFolder=false );
|
|
|
@ -151,7 +151,7 @@ class PlaylistCategory : public PlaylistBrowserEntry
|
|
|
|
|
|
|
|
|
|
|
|
class PlaylistEntry : public PlaylistBrowserEntry
|
|
|
|
class PlaylistEntry : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
friend class PlaylistTrackItem;
|
|
|
|
friend class PlaylistTrackItem;
|
|
|
@ -233,7 +233,7 @@ class PlaylistEntry : public PlaylistBrowserEntry
|
|
|
|
|
|
|
|
|
|
|
|
class PlaylistTrackItem : public PlaylistBrowserEntry
|
|
|
|
class PlaylistTrackItem : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
friend class TrackItemInfo;
|
|
|
|
friend class TrackItemInfo;
|
|
|
|
|
|
|
|
|
|
|
@ -258,7 +258,7 @@ class PlaylistTrackItem : public PlaylistBrowserEntry
|
|
|
|
/// Stored in the database
|
|
|
|
/// Stored in the database
|
|
|
|
class PodcastEpisode : public PlaylistBrowserEntry
|
|
|
|
class PodcastEpisode : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
@ -346,7 +346,7 @@ class PodcastEpisode : public PlaylistBrowserEntry
|
|
|
|
/// Stored in the database
|
|
|
|
/// Stored in the database
|
|
|
|
class PodcastChannel : public PlaylistBrowserEntry
|
|
|
|
class PodcastChannel : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
@ -451,7 +451,7 @@ class PodcastChannel : public PlaylistBrowserEntry
|
|
|
|
|
|
|
|
|
|
|
|
class StreamEntry : public PlaylistBrowserEntry
|
|
|
|
class StreamEntry : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
StreamEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &, const TQString &t );
|
|
|
|
StreamEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &, const TQString &t );
|
|
|
@ -485,7 +485,7 @@ class StreamEntry : public PlaylistBrowserEntry
|
|
|
|
|
|
|
|
|
|
|
|
class LastFmEntry : public StreamEntry
|
|
|
|
class LastFmEntry : public StreamEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
LastFmEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &u, const TQString &t )
|
|
|
|
LastFmEntry( TQListViewItem *parent, TQListViewItem *after, const KURL &u, const TQString &t )
|
|
|
@ -518,7 +518,7 @@ class StreamEditor : public KDialogBase
|
|
|
|
|
|
|
|
|
|
|
|
class SmartPlaylist : public PlaylistBrowserEntry
|
|
|
|
class SmartPlaylist : public PlaylistBrowserEntry
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
SmartPlaylist( TQListViewItem *parent, TQListViewItem *after, const TQString &name, const TQString &query );
|
|
|
|
SmartPlaylist( TQListViewItem *parent, TQListViewItem *after, const TQString &name, const TQString &query );
|
|
|
@ -589,7 +589,7 @@ class TrackItemInfo
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class ShoutcastBrowser : public PlaylistCategory
|
|
|
|
class ShoutcastBrowser : public PlaylistCategory
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
ShoutcastBrowser( PlaylistCategory* parent );
|
|
|
|
ShoutcastBrowser( PlaylistCategory* parent );
|
|
|
@ -619,7 +619,7 @@ class ShoutcastBrowser : public PlaylistCategory
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class ShoutcastGenre : public PlaylistCategory
|
|
|
|
class ShoutcastGenre : public PlaylistCategory
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
ShoutcastGenre( ShoutcastBrowser *browser, TQListViewItem *after, TQString genre );
|
|
|
|
ShoutcastGenre( ShoutcastBrowser *browser, TQListViewItem *after, TQString genre );
|
|
|
|