diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:29:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:29:52 -0600 |
commit | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (patch) | |
tree | 32b4c7307b74026be725950a33d6ec56d0561b3f /src/projects/k3bdataviewitem.cpp | |
parent | db733144770616f45d2d6e89bd3c424538a9fd92 (diff) | |
download | k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.tar.gz k3b-ef5831dd5c8811c94c9b1bc1377a90174d17c82c.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/projects/k3bdataviewitem.cpp')
-rw-r--r-- | src/projects/k3bdataviewitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/projects/k3bdataviewitem.cpp b/src/projects/k3bdataviewitem.cpp index c60f5d7..49fe587 100644 --- a/src/projects/k3bdataviewitem.cpp +++ b/src/projects/k3bdataviewitem.cpp @@ -31,7 +31,7 @@ #include <kpixmap.h> #include <tqpainter.h> -#include <tqpalette.h> +#include <palette.h> #include <tqfileinfo.h> @@ -65,7 +65,7 @@ void K3bDataViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, int colum TQColorGroup _cg = cg; if( !dataItem()->isRemoveable() && dataItem()->doc()->root() != dataItem() ) { - _cg.setColor( TQColorGroup::Text, listView()->tqpalette().disabled().foreground() ); + _cg.setColor( TQColorGroup::Text, listView()->palette().disabled().foreground() ); } if( column == 0 ) { @@ -182,7 +182,7 @@ void K3bDataDirViewItem::highlightIcon( bool b ) m_pixmap = *pixmap(0); if( b ) - setPixmap( 0, KPixmapEffect::selectedPixmap( m_pixmap, listView()->tqcolorGroup().highlight() ) ); + setPixmap( 0, KPixmapEffect::selectedPixmap( m_pixmap, listView()->colorGroup().highlight() ) ); else setPixmap( 0, m_pixmap ); } @@ -228,7 +228,7 @@ TQString K3bDataFileViewItem::text( int index ) const comment = m_pMimeType->name(); if( m_fileItem->isSymLink() ) - return i18n("Link to %1").tqarg(comment); + return i18n("Link to %1").arg(comment); else return comment; } |