summaryrefslogtreecommitdiffstats
path: root/kate/part/kateviewhelpers.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:22:15 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:05:01 +0200
commitffd8d17b0ba4286d25112d69d0b04bbe50e31b26 (patch)
tree047226d0f2817f5af3c55eb9d31a443fe7b9b61e /kate/part/kateviewhelpers.cpp
parent41b1d53a0144afe4c31425c18af25c2d6ade881b (diff)
downloadtdelibs-ffd8d17b0ba4286d25112d69d0b04bbe50e31b26.tar.gz
tdelibs-ffd8d17b0ba4286d25112d69d0b04bbe50e31b26.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 1180237ab336226ad932d767a6cb56208314988f)
Diffstat (limited to 'kate/part/kateviewhelpers.cpp')
-rw-r--r--kate/part/kateviewhelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kate/part/kateviewhelpers.cpp b/kate/part/kateviewhelpers.cpp
index 2b717d5cd..f858ae908 100644
--- a/kate/part/kateviewhelpers.cpp
+++ b/kate/part/kateviewhelpers.cpp
@@ -795,10 +795,10 @@ int KateIconBorder::lineNumberWidth() const
int width = m_lineNumbersOn ? ((int)log10((double)(m_view->doc()->numLines())) + 1) * m_maxCharWidth + 4 : 0;
if (m_view->dynWordWrap() && m_dynWrapIndicatorsOn) {
- width = kMax(tqstyle().scrollBarExtent().width() + 4, width);
+ width = kMax(style().scrollBarExtent().width() + 4, width);
if (m_cachedLNWidth != width || m_oldBackgroundColor != m_view->renderer()->config()->iconBarColor()) {
- int w = tqstyle().scrollBarExtent().width();
+ int w = style().scrollBarExtent().width();
int h = m_view->renderer()->config()->fontMetrics()->height();
TQSize newSize(w, h);