diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:55:47 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:55:47 -0600 |
commit | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (patch) | |
tree | bb4714865b78e327620ce86a37241ed22df43afa /src/k3bfiletreeview.cpp | |
parent | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (diff) | |
download | k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.tar.gz k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit ef5831dd5c8811c94c9b1bc1377a90174d17c82c.
Diffstat (limited to 'src/k3bfiletreeview.cpp')
-rw-r--r-- | src/k3bfiletreeview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/k3bfiletreeview.cpp b/src/k3bfiletreeview.cpp index 1f5df70..c56d1e5 100644 --- a/src/k3bfiletreeview.cpp +++ b/src/k3bfiletreeview.cpp @@ -46,13 +46,13 @@ #include <tqfont.h> #include <tqstyle.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> K3bDeviceBranch::K3bDeviceBranch( KFileTreeView* view, K3bDevice::Device* dev, KFileTreeViewItem* item ) : KFileTreeBranch( view, KURL( "media:/" + dev->blockDeviceName() ), - TQString("%1 - %2").arg(dev->vendor()).arg(dev->description()), + TQString("%1 - %2").tqarg(dev->vendor()).tqarg(dev->description()), ( dev->burner() ? SmallIcon("cdwriter_unmount") : SmallIcon("cdrom_unmount") ), @@ -99,13 +99,13 @@ void K3bDeviceBranch::updateLabel() { if( m_showBlockDeviceName ) setName( TQString("%1 %2 (%3)") - .arg(m_device->vendor()) - .arg(m_device->description()) - .arg(m_device->blockDeviceName()) ); + .tqarg(m_device->vendor()) + .tqarg(m_device->description()) + .tqarg(m_device->blockDeviceName()) ); else setName( TQString("%1 %2") - .arg(m_device->vendor()) - .arg(m_device->description()) ); + .tqarg(m_device->vendor()) + .tqarg(m_device->description()) ); if( k3bappcore->mediaCache() ) { root()->setMultiLinesEnabled( true ); @@ -182,7 +182,7 @@ K3bDeviceBranchViewItem::K3bDeviceBranchViewItem( KFileTreeView* parent, void K3bDeviceBranchViewItem::setCurrent( bool c ) { m_bCurrent = c; - repaint(); + tqrepaint(); } @@ -238,7 +238,7 @@ void K3bDeviceBranchViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, i textheight++; if ( textheight < height() ) { int w = listView()->treeStepSize() / 2; - listView()->tqstyle().drawComplexControl( TQStyle::CC_ListView, p, listView(), + listView()->tqstyle().tqdrawComplexControl( TQStyle::CC_ListView, p, listView(), TQRect( 0, textheight, w + 1, height() - textheight + 1 ), cg, TQStyle::Style_Enabled, TQStyle::SC_ListViewExpand, @@ -343,7 +343,7 @@ void K3bDeviceTreeToolTip::maybeTip( const TQPoint& pos ) lay->addMultiCellWidget( label, 0, 0, 0, 1 ); label = new TQLabel( details, tooltip ); label->setMargin( 9 ); - label->setAlignment( Qt::Vertical ); + label->tqsetAlignment( Qt::Vertical ); lay->addMultiCellWidget( label, 1, 2, 0, 0 ); label = new TQLabel( tooltip ); lay->addWidget( label, 2, 1 ); @@ -374,7 +374,7 @@ void K3bDeviceTreeToolTip::maybeTip( const TQPoint& pos ) } // the tooltip will take care of deleting the widget - tip( m_view->itemRect( item ), tooltip ); + tip( m_view->tqitemRect( item ), tooltip ); } @@ -722,7 +722,7 @@ void K3bFileTreeView::updateMinimumWidth() } // width of the items + scrollbar width + the frame + a little eyecandy spacing - setMinimumWidth( w + verticalScrollBar()->sizeHint().width() + 2*frameWidth() + 2 ); + setMinimumWidth( w + verticalScrollBar()->tqsizeHint().width() + 2*frameWidth() + 2 ); } #include "k3bfiletreeview.moc" |