diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:55 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 15:43:43 +0200 |
commit | be2dabe8503655c1f6b8049955c499e4f47a51d7 (patch) | |
tree | 44b4d031f6258da4060c0ef3e4912995d1b004c6 /src/k3bfiletreeview.cpp | |
parent | 6abafdc30019fc72eab69a56d829da551a80a235 (diff) | |
download | k3b-be2dabe8503655c1f6b8049955c499e4f47a51d7.tar.gz k3b-be2dabe8503655c1f6b8049955c499e4f47a51d7.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 09c863183250d07f82c0919e0a40fc7834c32192)
Diffstat (limited to 'src/k3bfiletreeview.cpp')
-rw-r--r-- | src/k3bfiletreeview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/k3bfiletreeview.cpp b/src/k3bfiletreeview.cpp index c56d1e5..32cfa3f 100644 --- a/src/k3bfiletreeview.cpp +++ b/src/k3bfiletreeview.cpp @@ -238,7 +238,7 @@ void K3bDeviceBranchViewItem::paintCell( TQPainter* p, const TQColorGroup& cg, i textheight++; if ( textheight < height() ) { int w = listView()->treeStepSize() / 2; - listView()->tqstyle().tqdrawComplexControl( TQStyle::CC_ListView, p, listView(), + listView()->tqstyle().drawComplexControl( 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->tqsetAlignment( Qt::Vertical ); + label->setAlignment( 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->tqitemRect( item ), tooltip ); + tip( m_view->itemRect( item ), tooltip ); } @@ -722,7 +722,7 @@ void K3bFileTreeView::updateMinimumWidth() } // width of the items + scrollbar width + the frame + a little eyecandy spacing - setMinimumWidth( w + verticalScrollBar()->tqsizeHint().width() + 2*frameWidth() + 2 ); + setMinimumWidth( w + verticalScrollBar()->sizeHint().width() + 2*frameWidth() + 2 ); } #include "k3bfiletreeview.moc" |