diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-07-17 18:20:57 -0500 | 
| commit | afe922f3d9f62716f4e559fb1e374c04afd3db63 (patch) | |
| tree | 9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/widgets/tqtoolbar.cpp | |
| parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
| download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip | |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqtoolbar.cpp')
| -rw-r--r-- | tqtinterface/qt4/src/widgets/tqtoolbar.cpp | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/tqtinterface/qt4/src/widgets/tqtoolbar.cpp b/tqtinterface/qt4/src/widgets/tqtoolbar.cpp index 0701c6a..3def167 100644 --- a/tqtinterface/qt4/src/widgets/tqtoolbar.cpp +++ b/tqtinterface/qt4/src/widgets/tqtoolbar.cpp @@ -106,7 +106,7 @@ class TQToolBarSeparator : public TQWidget  public:      TQToolBarSeparator( Qt::Orientation, TQToolBar *tqparent, const char* name=0 ); -    TQSize tqsizeHint() const; +    TQSize sizeHint() const;      Qt::Orientation orientation() const { return orient; }  public Q_SLOTS:      void setOrientation( Qt::Orientation ); @@ -188,7 +188,7 @@ void TQToolBarSeparator::styleChange( TQStyle& )      setOrientation( orient );  } -TQSize TQToolBarSeparator::tqsizeHint() const +TQSize TQToolBarSeparator::sizeHint() const  {      int extent = tqstyle().tqpixelMetric( TQStyle::PM_DockWindowSeparatorExtent,  				      this ); @@ -698,7 +698,7 @@ void TQToolBar::createPopup()  			    cp->setItemChecked( i, TRUE );  			if ( !maxItems ) {  			    if ( cp->count() == 10 ) { -			        int h = cp->tqsizeHint().height(); +			        int h = cp->sizeHint().height();  			        maxItems = TQApplication::desktop()->height() * 10 / h;  			    }  			} else if ( cp->count() >= maxItems - 1 ) { @@ -734,9 +734,9 @@ void TQToolBar::checkForExtension( const TQSize &sz )      bool tooSmall;      if ( orientation() == Qt::Horizontal ) -	tooSmall = sz.width() < tqsizeHint().width(); +	tooSmall = sz.width() < sizeHint().width();      else -	tooSmall = sz.height() < tqsizeHint().height(); +	tooSmall = sz.height() < sizeHint().height();      if ( tooSmall ) {  	createPopup(); | 
