diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:36:38 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-19 19:42:51 +0200 |
commit | a177b05ccc4f6a94c52944e4015831d766058b0e (patch) | |
tree | b5b19a92c4080c992565ef3e07b55322ae3df020 /kommander/editor/sizehandle.cpp | |
parent | 1e3f84a3c7f28cbd80c26f770055bca0dfebafbd (diff) | |
download | tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.tar.gz tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9445f97b426e97c6ce46de18fba4030da45d56df)
Diffstat (limited to 'kommander/editor/sizehandle.cpp')
-rw-r--r-- | kommander/editor/sizehandle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/editor/sizehandle.cpp b/kommander/editor/sizehandle.cpp index 72f7c38c..10b4efb3 100644 --- a/kommander/editor/sizehandle.cpp +++ b/kommander/editor/sizehandle.cpp @@ -236,9 +236,9 @@ void SizeHandle::mouseReleaseEvent( TQMouseEvent *e ) void SizeHandle::trySetGeometry( TQWidget *w, int x, int y, int width, int height ) { - int minw = TQMAX( w->tqminimumSizeHint().width(), w->tqminimumSize().width() ); + int minw = TQMAX( w->minimumSizeHint().width(), w->minimumSize().width() ); minw = TQMAX( minw, 2 * formWindow->grid().x() ); - int minh = TQMAX( w->tqminimumSizeHint().height(), w->tqminimumSize().height() ); + int minh = TQMAX( w->minimumSizeHint().height(), w->minimumSize().height() ); minh = TQMAX( minh, 2 * formWindow->grid().y() ); if ( TQMAX( minw, width ) > w->maximumWidth() || TQMAX( minh, height ) > w->maximumHeight() ) @@ -252,9 +252,9 @@ void SizeHandle::trySetGeometry( TQWidget *w, int x, int y, int width, int heigh void SizeHandle::tryResize( TQWidget *w, int width, int height ) { - int minw = TQMAX( w->tqminimumSizeHint().width(), w->tqminimumSize().width() ); + int minw = TQMAX( w->minimumSizeHint().width(), w->minimumSize().width() ); minw = TQMAX( minw, 16 ); - int minh = TQMAX( w->tqminimumSizeHint().height(), w->tqminimumSize().height() ); + int minh = TQMAX( w->minimumSizeHint().height(), w->minimumSize().height() ); minh = TQMAX( minh, 16 ); w->resize( TQMAX( minw, width ), TQMAX( minh, height ) ); } |