diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:22:15 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:05:01 +0200 |
commit | ffd8d17b0ba4286d25112d69d0b04bbe50e31b26 (patch) | |
tree | 047226d0f2817f5af3c55eb9d31a443fe7b9b61e /kdeui/kmainwindow.cpp | |
parent | 41b1d53a0144afe4c31425c18af25c2d6ade881b (diff) | |
download | tdelibs-ffd8d17b0ba4286d25112d69d0b04bbe50e31b26.tar.gz tdelibs-ffd8d17b0ba4286d25112d69d0b04bbe50e31b26.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 1180237ab336226ad932d767a6cb56208314988f)
Diffstat (limited to 'kdeui/kmainwindow.cpp')
-rw-r--r-- | kdeui/kmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdeui/kmainwindow.cpp b/kdeui/kmainwindow.cpp index 1442fa587..397c2479c 100644 --- a/kdeui/kmainwindow.cpp +++ b/kdeui/kmainwindow.cpp @@ -1197,7 +1197,7 @@ TQSize KMainWindow::sizeForCentralWidgetSize(TQSize size) break; case KToolBar::Flat: - size += TQSize(0, 3+kapp->tqstyle().pixelMetric( TQStyle::PM_DockWindowHandleExtent )); + size += TQSize(0, 3+kapp->style().pixelMetric( TQStyle::PM_DockWindowHandleExtent )); break; default: @@ -1207,7 +1207,7 @@ TQSize KMainWindow::sizeForCentralWidgetSize(TQSize size) KMenuBar *mb = internalMenuBar(); if (mb && !mb->isHidden()) { size += TQSize(0,mb->heightForWidth(size.width())); - if (tqstyle().styleHint(TQStyle::SH_MainWindow_SpaceBelowMenuBar, this)) + if (style().styleHint(TQStyle::SH_MainWindow_SpaceBelowMenuBar, this)) size += TQSize( 0, dockWindowsMovable() ? 1 : 2); } TQStatusBar *sb = internalStatusBar(); |