diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 23:54:16 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-02 19:04:46 +0200 |
commit | 18aecb8ec08ac370cb99e78e63acee0275e6334c (patch) | |
tree | a13f6ea3f960137e10cd775fe2d5fa51edd4636e /kdeui/kmainwindow.h | |
parent | a9c64e7a807d469d0c3695cd9ab23ab1b4c289b3 (diff) | |
download | tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.tar.gz tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.zip |
Use non-tq sizeHint functions to fix bindings
(cherry picked from commit d4e11a5f488204ab8886e167c7c4af1e6e16ab58)
Diffstat (limited to 'kdeui/kmainwindow.h')
-rw-r--r-- | kdeui/kmainwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/kmainwindow.h b/kdeui/kmainwindow.h index 035cdb772..9006bd90c 100644 --- a/kdeui/kmainwindow.h +++ b/kdeui/kmainwindow.h @@ -452,7 +452,7 @@ public: * have been created and placed inside the main window (i.e. for 99% of * apps setCentralWidget()) * - Widgets that inherit from TQWidget (like game boards) should overload - * "virtual TQSize tqsizeHint() const;" to specify a default size rather + * "virtual TQSize sizeHint() const;" to specify a default size rather * than letting TQWidget::adjust use the default size of 0x0. */ void setAutoSaveSettings( const TQString & groupName = TQString::tqfromLatin1("MainWindow"), @@ -657,10 +657,10 @@ public: * * @deprecated You normally don't need this, the recommended way to achieve a * certain central widget size is as follows: - * @li Override tqsizeHint() in the central widget so that it + * @li Override sizeHint() in the central widget so that it * returns the desired size. * @li Call updateGeometry() in the central widget whenever the - * desired size changes. This ensures that the new tqsizeHint() is properly + * desired size changes. This ensures that the new sizeHint() is properly * propagated to any parent layout. * @li Now call adjustSize() in the mainwindow to resize the * mainwindow such that the central widget will become the desired size. |