diff options
Diffstat (limited to 'tqtinterface/qt4/src/canvas')
-rw-r--r-- | tqtinterface/qt4/src/canvas/tqcanvas.cpp | 4 | ||||
-rw-r--r-- | tqtinterface/qt4/src/canvas/tqcanvas.h | 2 |
2 files changed, 3 insertions, 3 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 ); diff --git a/tqtinterface/qt4/src/canvas/tqcanvas.h b/tqtinterface/qt4/src/canvas/tqcanvas.h index 2aaba6e..3e6bfd7 100644 --- a/tqtinterface/qt4/src/canvas/tqcanvas.h +++ b/tqtinterface/qt4/src/canvas/tqcanvas.h @@ -382,7 +382,7 @@ public: protected: void drawContents( TQPainter*, int cx, int cy, int cw, int ch ); - TQSize tqsizeHint() const; + TQSize sizeHint() const; private: void drawContents( TQPainter* ); |