diff options
Diffstat (limited to 'tqtinterface/qt4/src/workspace/tqworkspace.cpp')
-rw-r--r-- | tqtinterface/qt4/src/workspace/tqworkspace.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/workspace/tqworkspace.cpp b/tqtinterface/qt4/src/workspace/tqworkspace.cpp index a169090..164a670 100644 --- a/tqtinterface/qt4/src/workspace/tqworkspace.cpp +++ b/tqtinterface/qt4/src/workspace/tqworkspace.cpp @@ -161,7 +161,7 @@ public: void doResize(); void doMove(); - TQSize sizeHint() const; + TQSize tqsizeHint() const; TQSize tqminimumSizeHint() const; TQSize baseSize() const; @@ -393,7 +393,7 @@ TQWorkspace::~TQWorkspace() } /*!\reimp */ -TQSize TQWorkspace::sizeHint() const +TQSize TQWorkspace::tqsizeHint() const { TQSize s( TQApplication::desktop()->size() ); return TQSize( s.width()*2/3, s.height()*2/3); @@ -2279,10 +2279,10 @@ TQSize TQWorkspaceChild::baseSize() const return TQSize( 2*frameWidth(), 2*frameWidth() + th ); } -TQSize TQWorkspaceChild::sizeHint() const +TQSize TQWorkspaceChild::tqsizeHint() const { if ( !childWidget ) - return TQFrame::sizeHint() + baseSize(); + return TQFrame::tqsizeHint() + baseSize(); TQSize prefSize = windowWidget()->sizeHint().expandedTo( windowWidget()->minimumSizeHint() ); prefSize = prefSize.expandedTo( windowWidget()->tqminimumSize() ).boundedTo( windowWidget()->tqmaximumSize() ); |