diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 |
commit | e33879600503bacc0b4ef090f7f79ab80bb6b0da (patch) | |
tree | 44e01ee5c450ceb24586533757815b685c27cb9d /experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp | |
parent | 10df383d2a019c4972a49273a3872c2e5489c7ff (diff) | |
download | tde-e33879600503bacc0b4ef090f7f79ab80bb6b0da.tar.gz tde-e33879600503bacc0b4ef090f7f79ab80bb6b0da.zip |
Rename tqsize* to size*
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp b/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp index 1921297c2..e05de633e 100644 --- a/experimental/tqtinterface/qt4/src/widgets/tqmainwindow.cpp +++ b/experimental/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 |