diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
commit | abb8cd68f820cfe0c96965136890a6bdd1093db5 (patch) | |
tree | 0ccc113047cebed06b5bd61adeadab4330b7d4a0 /src/resizeoverlay.cpp | |
parent | c1ef065782051db96cdfd32cf55be6408c2a9d22 (diff) | |
download | ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.tar.gz ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/resizeoverlay.cpp')
-rw-r--r-- | src/resizeoverlay.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resizeoverlay.cpp b/src/resizeoverlay.cpp index 4b17794..3082057 100644 --- a/src/resizeoverlay.cpp +++ b/src/resizeoverlay.cpp @@ -45,7 +45,7 @@ void ResizeOverlay::showResizeHandles( bool show ) const ResizeHandleMap::iterator end = m_resizeHandleMap.end(); for ( ResizeHandleMap::iterator it = m_resizeHandleMap.begin(); it != end; ++it ) { - it.data()->tqsetVisible(b_showResizeHandles && b_visible); + it.data()->setVisible(b_showResizeHandles && b_visible); } } @@ -56,7 +56,7 @@ void ResizeOverlay::setVisible( bool visible ) const ResizeHandleMap::iterator end = m_resizeHandleMap.end(); for ( ResizeHandleMap::iterator it = m_resizeHandleMap.begin(); it != end; ++it ) { - it.data()->tqsetVisible(b_showResizeHandles && b_visible); + it.data()->setVisible(b_showResizeHandles && b_visible); } } @@ -345,8 +345,8 @@ TQRect RectangularOverlay::getSizeRect( bool *ok, bool *widthOk, bool *heightOk int(m_tl->y() - p_item->y()), width, height ); - *widthOk = sizeRect.width() >= p_item->tqminimumSize().width(); - *heightOk = sizeRect.height() >= p_item->tqminimumSize().height(); + *widthOk = sizeRect.width() >= p_item->minimumSize().width(); + *heightOk = sizeRect.height() >= p_item->minimumSize().height(); *ok = *widthOk && *heightOk; return sizeRect; |