diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 | 
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:46:05 -0600 | 
| commit | 73c08b592db45af554b9f21029bc549d70f683ab (patch) | |
| tree | 122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kdm/kfrontend/themer/kdmitem.cpp | |
| parent | e81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff) | |
| download | tdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip | |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdm/kfrontend/themer/kdmitem.cpp')
| -rw-r--r-- | kdm/kfrontend/themer/kdmitem.cpp | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp index eb5283cd9..5f4c42b5a 100644 --- a/kdm/kfrontend/themer/kdmitem.cpp +++ b/kdm/kfrontend/themer/kdmitem.cpp @@ -34,7 +34,7 @@  #include <tqframe.h>  #include <tqwidget.h> -#include <tqlayout.h> +#include <layout.h>  #include <tqimage.h>  #include <tqpainter.h> @@ -280,7 +280,7 @@ KdmItem::setGeometry( const TQRect &newGeometry, bool force )  	if (fixedManager && !fixedManager->isEmpty())  		fixedManager->update( newGeometry, force ); -	// TODO send *selective* tqrepaint signal +	// TODO send *selective* repaint signal  }  void @@ -299,7 +299,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect )                if ((_compositor.isEmpty()) || (!argb_visual_available)) {                  // Software blend only (no compositing support)                  TQPixmap copy( myWidget->size() ); -                kdDebug() <<  myWidget->tqgeometry() << " " << area << " " << myWidget->size() << endl; +                kdDebug() <<  myWidget->geometry() << " " << area << " " << myWidget->size() << endl;                  bitBlt( ©, TQPoint( 0, 0), p->device(), myWidget->geometry(), TQt::CopyROP );                  // Lighten it slightly                  TQImage lightVersion; @@ -443,12 +443,12 @@ KdmItem::statusChanged()  // BEGIN protected inheritable  TQSize -KdmItem::tqsizeHint() +KdmItem::sizeHint()  {  	if (myWidget)  		return myWidget->size();  	if (myLayoutItem) -		return myLayoutItem->tqsizeHint(); +		return myLayoutItem->sizeHint();  	int w = pos.wType == DTpixel ? kAbs( pos.width ) : -1,  	    h = pos.hType == DTpixel ? kAbs( pos.height ) : -1;  	return TQSize( w, h ); @@ -457,7 +457,7 @@ KdmItem::tqsizeHint()  TQRect  KdmItem::placementHint( const TQRect &parentRect )  { -	TQSize hintedSize = tqsizeHint(); +	TQSize hintedSize = sizeHint();  	TQSize boxHint;  	int x = parentRect.left(), @@ -474,7 +474,7 @@ KdmItem::placementHint( const TQRect &parentRect )  		else {  			if (!boxManager)  				return parentRect; -			boxHint = boxManager->tqsizeHint(); +			boxHint = boxManager->sizeHint();  		}  		kdDebug() << timestamp() << " boxHint " << boxHint << endl;  	} @@ -592,7 +592,7 @@ KdmItem::parseAttribute( const TQString &s, int &val, enum DataType &dType )  	} else {		// int value  		dType = DTpixel;  		TQString sCopy = s; -		if (sCopy.tqat( 0 ) == '-') { +		if (sCopy.at( 0 ) == '-') {  			sCopy.remove( 0, 1 );  			dType = DTnpixel;  		} @@ -616,7 +616,7 @@ KdmItem::parseFont( const TQString &s, TQFont &font )  void  KdmItem::parseColor( const TQString &s, TQColor &color )  { -	if (s.tqat( 0 ) != '#') +	if (s.at( 0 ) != '#')  		return;  	bool ok;  	TQString sCopy = s; | 
