diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:00 -0600 |
commit | 522c7294f06d294c77bc1ea7d0dec4b371c43373 (patch) | |
tree | 22e15f6e31eba6c17ce06d8e1b0de24ef8b8f002 /src/regiongrabber.cpp | |
parent | 2a411f53a04f815770074b633e026a141f6fa875 (diff) | |
download | basket-522c7294f06d294c77bc1ea7d0dec4b371c43373.tar.gz basket-522c7294f06d294c77bc1ea7d0dec4b371c43373.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/regiongrabber.cpp')
-rw-r--r-- | src/regiongrabber.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regiongrabber.cpp b/src/regiongrabber.cpp index 8f723a4..4c4d9ca 100644 --- a/src/regiongrabber.cpp +++ b/src/regiongrabber.cpp @@ -43,8 +43,8 @@ SizeTip::SizeTip( TQWidget *parent, const char *name ) void SizeTip::setTip( const TQRect &rect ) { - TQString tip = TQString( "%1x%2" ).tqarg( rect.width() ) - .tqarg( rect.height() ); + TQString tip = TQString( "%1x%2" ).arg( rect.width() ) + .arg( rect.height() ); setText( tip ); adjustSize(); @@ -54,7 +54,7 @@ void SizeTip::setTip( const TQRect &rect ) void SizeTip::positionTip( const TQRect &rect ) { - TQRect tipRect = tqgeometry(); + TQRect tipRect = geometry(); tipRect.moveTopLeft( TQPoint( 0, 0 ) ); if ( rect.intersects( tipRect ) ) @@ -63,7 +63,7 @@ void SizeTip::positionTip( const TQRect &rect ) tipRect.moveCenter( TQPoint( deskR.width()/2, deskR.height()/2 ) ); if ( !rect.contains( tipRect, true ) && rect.intersects( tipRect ) ) - tipRect.moveBottomRight( tqgeometry().bottomRight() ); + tipRect.moveBottomRight( geometry().bottomRight() ); } move( tipRect.topLeft() ); @@ -94,7 +94,7 @@ void RegionGrabber::initGrabber() TQDesktopWidget desktopWidget; TQRect desktopSize; if ( desktopWidget.isVirtualDesktop() ) - desktopSize = desktopWidget.tqgeometry(); + desktopSize = desktopWidget.geometry(); else desktopSize = desktopWidget.screenGeometry( qt_xrootwin() ); |