summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/canvas/tqcanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/canvas/tqcanvas.cpp')
-rw-r--r--tqtinterface/qt4/src/canvas/tqcanvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/canvas/tqcanvas.cpp b/tqtinterface/qt4/src/canvas/tqcanvas.cpp
index 22ee9f4..ec86352 100644
--- a/tqtinterface/qt4/src/canvas/tqcanvas.cpp
+++ b/tqtinterface/qt4/src/canvas/tqcanvas.cpp
@@ -3714,10 +3714,10 @@ void TQCanvasView::drawContents( TQPainter * )
/*!
Suggests a size sufficient to view the entire canvas.
*/
-TQSize TQCanvasView::tqsizeHint() const
+TQSize TQCanvasView::sizeHint() const
{
if ( !canvas() )
- return TQScrollView::tqsizeHint();
+ return TQScrollView::sizeHint();
// should maybe take transformations into account
return ( canvas()->size() + 2 * TQSize(frameWidth(), frameWidth()) )
.boundedTo( 3 * TQApplication::desktop()->size() / 4 );