diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 23:54:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 23:54:16 -0600 |
commit | d4e11a5f488204ab8886e167c7c4af1e6e16ab58 (patch) | |
tree | 367a2caa6169a869cfbf6395dffe2d28e0f72654 /tdeui/ktabctl.cpp | |
parent | 2c4de80e1e29b261fe8770483f97b2d702e4bd08 (diff) | |
download | tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.tar.gz tdelibs-d4e11a5f488204ab8886e167c7c4af1e6e16ab58.zip |
Use non-tq sizeHint functions to fix bindings
Diffstat (limited to 'tdeui/ktabctl.cpp')
-rw-r--r-- | tdeui/ktabctl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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); |