summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqdockwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqdockwindow.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqdockwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqdockwindow.cpp b/tqtinterface/qt4/src/widgets/tqdockwindow.cpp
index e6e6f55..6809828 100644
--- a/tqtinterface/qt4/src/widgets/tqdockwindow.cpp
+++ b/tqtinterface/qt4/src/widgets/tqdockwindow.cpp
@@ -80,7 +80,7 @@ public:
void setOrientation( Orientation o );
Orientation orientation() const { return orient; }
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
protected:
void paintEvent( TQPaintEvent * );
@@ -109,10 +109,10 @@ TQDockWindowResizeHandle::TQDockWindowResizeHandle( Orientation o, TQWidget *tqp
setOrientation( o );
}
-TQSize TQDockWindowResizeHandle::tqsizeHint() const
+TQSize TQDockWindowResizeHandle::sizeHint() const
{
int sw = 2 * tqstyle().tqpixelMetric(TQStyle::PM_SplitterWidth, this) / 3;
- return (tqstyle().tqsizeFromContents(TQStyle::CT_DockWindow, this, TQSize(sw, sw)).
+ return (tqstyle().sizeFromContents(TQStyle::CT_DockWindow, this, TQSize(sw, sw)).
expandedTo(TQApplication::globalStrut()));
}
@@ -320,7 +320,7 @@ public:
TQSize tqminimumSizeHint() const;
TQSize tqminimumSize() const { return tqminimumSizeHint(); }
- TQSize tqsizeHint() const { return tqminimumSize(); }
+ TQSize sizeHint() const { return tqminimumSize(); }
TQSizePolicy sizePolicy() const;
void setOpaqueMoving( bool b ) { opaque = b; }
@@ -1148,7 +1148,7 @@ void TQDockWindow::swapRect( TQRect &r, Orientation o, const TQPoint &offset, TQ
TQBoxLayout *bl = boxLayout()->createTmpCopy();
bl->setDirection( o == Qt::Horizontal ? TQBoxLayout::LeftToRight : TQBoxLayout::TopToBottom );
bl->activate();
- r.setSize( bl->tqsizeHint() );
+ r.setSize( bl->sizeHint() );
bl->data = 0;
delete bl;
bool reverse = TQApplication::reverseLayout();
@@ -1808,9 +1808,9 @@ TQBoxLayout *TQDockWindow::boxLayout()
/*! \reimp
*/
-TQSize TQDockWindow::tqsizeHint() const
+TQSize TQDockWindow::sizeHint() const
{
- TQSize sh( TQFrame::tqsizeHint() );
+ TQSize sh( TQFrame::sizeHint() );
if ( place() == InDock )
sh = sh.expandedTo( fixedExtent() );
sh = sh.expandedTo( TQSize( 16, 16 ) );