summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqmainwindow.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqmainwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqmainwindow.cpp b/tqtinterface/qt4/src/widgets/tqmainwindow.cpp
index 1921297..e05de63 100644
--- a/tqtinterface/qt4/src/widgets/tqmainwindow.cpp
+++ b/tqtinterface/qt4/src/widgets/tqmainwindow.cpp
@@ -140,7 +140,7 @@ public:
void setRightDock( TQDockArea *r );
void setCentralWidget( TQWidget *w );
bool hasHeightForWidth() const { return FALSE; }
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
TQSize tqminimumSize() const;
TQLayoutIterator iterator();
TQ_SPExpandData expandingDirections() const { return (Qt::Orientations)TQSizePolicy::BothDirections; }
@@ -189,23 +189,23 @@ TQLayoutItem* TQMainWindowLayout::takeAt(int index) {
return 0;
}
-TQSize TQMainWindowLayout::tqsizeHint() const
+TQSize TQMainWindowLayout::sizeHint() const
{
int w = 0;
int h = 0;
if ( left ) {
- w += left->tqsizeHint().width();
- h = TQMAX( h, left->tqsizeHint().height() );
+ w += left->sizeHint().width();
+ h = TQMAX( h, left->sizeHint().height() );
}
if ( right ) {
- w += right->tqsizeHint().width();
- h = TQMAX( h, right->tqsizeHint().height() );
+ w += right->sizeHint().width();
+ h = TQMAX( h, right->sizeHint().height() );
}
if ( central ) {
- w += central->tqsizeHint().width();
+ w += central->sizeHint().width();
int diff = extraPixels();
- h = TQMAX( h, central->tqsizeHint().height() + diff );
+ h = TQMAX( h, central->sizeHint().height() + diff );
}
return TQSize( w, h );
@@ -1566,7 +1566,7 @@ void TQMainWindow::hide()
/*! \reimp */
-TQSize TQMainWindow::tqsizeHint() const
+TQSize TQMainWindow::sizeHint() const
{
TQMainWindow* that = (TQMainWindow*) this;
// Workaround: because d->tll get's deleted in