From 8dbaeba47657ff3a7b5f7f9a0365de4eb8e09c2c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 26 Dec 2011 20:03:59 -0600 Subject: Rename KDE_MAKE_VERSION and update TDE version string --- amarok/src/amarok.h | 2 +- amarok/src/collectionbrowser.cpp | 6 +++--- amarok/src/magnatunebrowser/magnatunelistview.cpp | 2 +- amarok/src/playlist.cpp | 2 +- amarok/src/playlistbrowseritem.cpp | 6 +++--- amarok/src/statistics.cpp | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/amarok/src/amarok.h b/amarok/src/amarok.h index 40cbe766..18a52f10 100644 --- a/amarok/src/amarok.h +++ b/amarok/src/amarok.h @@ -152,7 +152,7 @@ namespace Amarok /** Transform url into a file url if possible */ inline KURL mostLocalURL( const KURL &url ) { -#if TDE_VERSION < KDE_MAKE_VERSION(3,5,0) +#if TDE_VERSION < TDE_MAKE_VERSION(3,5,0) return url; #else return KIO::NetAccess::mostLocalURL( url, mainWindow() ); diff --git a/amarok/src/collectionbrowser.cpp b/amarok/src/collectionbrowser.cpp index cce952d3..68f5c537 100644 --- a/amarok/src/collectionbrowser.cpp +++ b/amarok/src/collectionbrowser.cpp @@ -70,7 +70,7 @@ extern "C" { - #if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) + #if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) #include //ControlMask in contentsDragMoveEvent() #endif } @@ -1576,7 +1576,7 @@ CollectionView::setViewMode( int mode, bool rerender /*=true*/ ) if( m_viewMode == modeIpodView ) { - #if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) + #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) setShadeSortColumn( false ); #endif m_parent->m_ipodDecrement->setEnabled( m_currentDepth > 0 ); @@ -1584,7 +1584,7 @@ CollectionView::setViewMode( int mode, bool rerender /*=true*/ ) } else { - #if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) + #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) setShadeSortColumn( true ); #endif m_parent->ipodToolbar( false ); diff --git a/amarok/src/magnatunebrowser/magnatunelistview.cpp b/amarok/src/magnatunebrowser/magnatunelistview.cpp index 0d667245..7f576e87 100644 --- a/amarok/src/magnatunebrowser/magnatunelistview.cpp +++ b/amarok/src/magnatunebrowser/magnatunelistview.cpp @@ -39,7 +39,7 @@ MagnatuneListView::MagnatuneListView( TQWidget * parent ) setShowSortIndicator ( true ); - #if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) + #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0) setShadeSortColumn( false ); #endif diff --git a/amarok/src/playlist.cpp b/amarok/src/playlist.cpp index 2b071b49..835fe159 100644 --- a/amarok/src/playlist.cpp +++ b/amarok/src/playlist.cpp @@ -86,7 +86,7 @@ extern "C" { - #if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) + #if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) #include //ControlMask in contentsDragMoveEvent() #endif } diff --git a/amarok/src/playlistbrowseritem.cpp b/amarok/src/playlistbrowseritem.cpp index 41a05329..4455fdca 100644 --- a/amarok/src/playlistbrowseritem.cpp +++ b/amarok/src/playlistbrowseritem.cpp @@ -978,7 +978,7 @@ void PlaylistEntry::paintCell( TQPainter *p, const TQColorGroup &cg, int column, TQPainter pBuf( &buffer, true ); // use alternate background -#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) +#if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() ); #else 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 ); // use alternate background -#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) +#if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() ); #else 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 ); // use alternate background -#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) +#if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() ); #else pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) ); diff --git a/amarok/src/statistics.cpp b/amarok/src/statistics.cpp index 644cdafd..ac6ee24e 100644 --- a/amarok/src/statistics.cpp +++ b/amarok/src/statistics.cpp @@ -764,7 +764,7 @@ StatisticsItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int } else //alternate colours { - #if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) + #if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) fillColor = isSelected() ? cg.highlight() : backgroundColor(); #else fillColor = isSelected() ? cg.highlight() : backgroundColor(0); @@ -887,7 +887,7 @@ StatisticsDetailedItem::paintCell( TQPainter *p, const TQColorGroup &cg, int col TQPainter pBuf( &buffer, true ); // use alternate background -#if TDE_VERSION < KDE_MAKE_VERSION(3,3,91) +#if TDE_VERSION < TDE_MAKE_VERSION(3,3,91) pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor() ); #else pBuf.fillRect( buffer.rect(), isSelected() ? cg.highlight() : backgroundColor(0) ); -- cgit v1.2.1