summaryrefslogtreecommitdiffstats
path: root/cervisia/diffview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:31 -0600
commit36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch)
tree3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /cervisia/diffview.cpp
parentf78838f2f736acc2b235d8b680f3379a07a6d372 (diff)
downloadtdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz
tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'cervisia/diffview.cpp')
-rw-r--r--cervisia/diffview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cervisia/diffview.cpp b/cervisia/diffview.cpp
index eacd7847..4d973372 100644
--- a/cervisia/diffview.cpp
+++ b/cervisia/diffview.cpp
@@ -417,7 +417,7 @@ void DiffZoomWidget::setDiffView(DiffView *view)
TQSize DiffZoomWidget::sizeHint() const
{
- return TQSize(25, tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent, this));
+ return TQSize(25, style().pixelMetric(TQStyle::PM_ScrollBarExtent, this));
}
@@ -440,7 +440,7 @@ void DiffZoomWidget::paintEvent(TQPaintEvent *)
// only y and height are important
const TQRect scrollBarGroove(scrollBar->isVisible()
- ? tqstyle().querySubControlMetrics(TQStyle::CC_ScrollBar,
+ ? style().querySubControlMetrics(TQStyle::CC_ScrollBar,
scrollBar,
TQStyle::SC_ScrollBarGroove)
: rect());