From d4e11a5f488204ab8886e167c7c4af1e6e16ab58 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 23:54:16 -0600 Subject: Use non-tq sizeHint functions to fix bindings --- tdeui/ktabctl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tdeui/ktabctl.cpp') diff --git a/tdeui/ktabctl.cpp b/tdeui/ktabctl.cpp index 5ec13f20e..204a0979e 100644 --- a/tdeui/ktabctl.cpp +++ b/tdeui/ktabctl.cpp @@ -125,7 +125,7 @@ void KTabCtl::setSizes() { unsigned i; - TQSize min(tabs->tqsizeHint()); /* the minimum required size for the tabbar */ + TQSize min(tabs->sizeHint()); /* the minimum required size for the tabbar */ tabs->resize(min); /* make sure that the tabbar does not require more space than actually needed. */ @@ -190,16 +190,16 @@ void KTabCtl::setShape( TQTabBar::Shape tqshape ) } TQSize -KTabCtl::tqsizeHint() const +KTabCtl::sizeHint() const { /* desired size of the tabbar */ - TQSize hint(tabs->tqsizeHint()); + TQSize hint(tabs->sizeHint()); /* overall desired size of all pages */ TQSize pageHint; for (unsigned int i = 0; i < pages.size(); i++) { - TQSize sizeI(pages[i]->tqsizeHint()); + TQSize sizeI(pages[i]->sizeHint()); if (sizeI.isValid()) { @@ -229,7 +229,7 @@ KTabCtl::tqsizeHint() const } /* - * If not at least a one page has a valid tqsizeHint we have to return + * If not at least a one page has a valid sizeHint we have to return * an invalid size as well. */ return (pageHint); -- cgit v1.2.1