|
|
@ -38,7 +38,7 @@
|
|
|
|
#include <tqregexp.h>
|
|
|
|
#include <tqregexp.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <kapplication.h> //Used for Shoutcast random name generation
|
|
|
|
#include <kapplication.h> //Used for Shoutcast random name generation
|
|
|
|
#include <kdeversion.h> //KDE_VERSION ifndefs. Remove this once we reach a kde 4 dep
|
|
|
|
#include <kdeversion.h> //TDE_VERSION ifndefs. Remove this once we reach a kde 4 dep
|
|
|
|
#include <kiconloader.h> //smallIcon
|
|
|
|
#include <kiconloader.h> //smallIcon
|
|
|
|
#include <kio/jobclasses.h> //podcast retrieval
|
|
|
|
#include <kio/jobclasses.h> //podcast retrieval
|
|
|
|
#include <kio/job.h> //podcast retrieval
|
|
|
|
#include <kio/job.h> //podcast retrieval
|
|
|
@ -978,7 +978,7 @@ void PlaylistEntry::paintCell( TQPainter *p, const TQColorGroup &cg, int column,
|
|
|
|
|
|
|
|
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
// use alternate background
|
|
|
|
// use alternate background
|
|
|
|
#if KDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
@ -1247,7 +1247,7 @@ void StreamEntry::paintCell( TQPainter *p, const TQColorGroup &cg, int column, i
|
|
|
|
|
|
|
|
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
// use alternate background
|
|
|
|
// use alternate background
|
|
|
|
#if KDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
@ -2743,7 +2743,7 @@ PodcastEpisode::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int
|
|
|
|
|
|
|
|
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
TQPainter pBuf( &buffer, true );
|
|
|
|
// use alternate background
|
|
|
|
// use alternate background
|
|
|
|
#if KDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91)
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() );
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
|
pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) );
|
|
|
|