summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqdockwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 18:20:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-17 18:20:57 -0500
commitafe922f3d9f62716f4e559fb1e374c04afd3db63 (patch)
tree9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/widgets/tqdockwindow.cpp
parent656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff)
downloadexperimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz
experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip
Rename tqsize* to size*
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 ) );