summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/kopetelistviewitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitd0be1721b4656109c9e21cc0ecb6f23b343b7c26 (patch)
tree211c399f4274325783e6f9995153aac359876116 /kopete/libkopete/ui/kopetelistviewitem.cpp
parent1fff1cf07591b1226eb568e95283091eedbeff1d (diff)
downloadtdenetwork-d0be1721b4656109c9e21cc0ecb6f23b343b7c26.tar.gz
tdenetwork-d0be1721b4656109c9e21cc0ecb6f23b343b7c26.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/ui/kopetelistviewitem.cpp')
-rw-r--r--kopete/libkopete/ui/kopetelistviewitem.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp
index 6e6aad72..1f23da15 100644
--- a/kopete/libkopete/ui/kopetelistviewitem.cpp
+++ b/kopete/libkopete/ui/kopetelistviewitem.cpp
@@ -1227,17 +1227,17 @@ class Item::Private
{
public:
Private( Item *item )
- : tqlayoutAnimateTimer( theLayoutAnimateTimer(), item, TQT_SLOT( slotLayoutAnimateItems() ) )
+ : layoutAnimateTimer( theLayoutAnimateTimer(), item, TQT_SLOT( slotLayoutAnimateItems() ) )
, animateLayout( true ), opacity( 1.0 )
, visibilityTimer( theVisibilityTimer(), item, TQT_SLOT( slotUpdateVisibility() ) )
, visibilityLevel( 0 ), visibilityTarget( false ), searchMatch( true )
{
}
- TQTimer tqlayoutTimer;
+ TQTimer layoutTimer;
- //TQTimer tqlayoutAnimateTimer;
- SharedTimerRef tqlayoutAnimateTimer;
+ //TQTimer layoutAnimateTimer;
+ SharedTimerRef layoutAnimateTimer;
SharedTimer &theLayoutAnimateTimer()
{
static SharedTimer timer( 10 );
@@ -1245,8 +1245,8 @@ public:
}
bool animateLayout;
- int tqlayoutAnimateSteps;
- static const int tqlayoutAnimateStepsTotal = 10;
+ int layoutAnimateSteps;
+ static const int layoutAnimateStepsTotal = 10;
float opacity;
@@ -1306,8 +1306,8 @@ void Item::setEffects( bool animation, bool fading, bool folding )
void Item::initLVI()
{
connect( listView()->header(), TQT_SIGNAL( sizeChange( int, int, int ) ), TQT_SLOT( slotColumnResized() ) );
- connect( &d->tqlayoutTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutItems() ) );
- //connect( &d->tqlayoutAnimateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutAnimateItems() ) );
+ connect( &d->layoutTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutItems() ) );
+ //connect( &d->layoutAnimateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutAnimateItems() ) );
//connect( &d->visibilityTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotUpdateVisibility() ) );
setVisible( false );
setTargetVisibility( true );
@@ -1323,13 +1323,13 @@ void Item::slotColumnResized()
void Item::scheduleLayout()
{
// perform a delayed tqlayout in order to speed it all up
- if ( ! d->tqlayoutTimer.isActive() )
- d->tqlayoutTimer.start( 30, true );
+ if ( ! d->layoutTimer.isActive() )
+ d->layoutTimer.start( 30, true );
}
void Item::slotLayoutItems()
{
- d->tqlayoutTimer.stop();
+ d->layoutTimer.stop();
for ( uint n = 0; n < components(); ++n )
{
@@ -1347,14 +1347,14 @@ void Item::slotLayoutItems()
if ( Private::animateChanges && d->animateLayout && !d->visibilityTimer.isActive() )
{
- d->tqlayoutAnimateTimer.start();
- //if ( !d->tqlayoutAnimateTimer.isActive() )
- // d->tqlayoutAnimateTimer.start( 10 );
- d->tqlayoutAnimateSteps = 0;
+ d->layoutAnimateTimer.start();
+ //if ( !d->layoutAnimateTimer.isActive() )
+ // d->layoutAnimateTimer.start( 10 );
+ d->layoutAnimateSteps = 0;
}
else
{
- d->tqlayoutAnimateSteps = Private::tqlayoutAnimateStepsTotal;
+ d->layoutAnimateSteps = Private::layoutAnimateStepsTotal;
d->animateLayout = true;
}
slotLayoutAnimateItems();
@@ -1362,11 +1362,11 @@ void Item::slotLayoutItems()
void Item::slotLayoutAnimateItems()
{
- if ( ++d->tqlayoutAnimateSteps >= Private::tqlayoutAnimateStepsTotal )
- d->tqlayoutAnimateTimer.stop();
+ if ( ++d->layoutAnimateSteps >= Private::layoutAnimateStepsTotal )
+ d->layoutAnimateTimer.stop();
- const int s = Private::tqlayoutAnimateStepsTotal;
- const int p = TQMIN( d->tqlayoutAnimateSteps, s );
+ const int s = Private::layoutAnimateStepsTotal;
+ const int p = TQMIN( d->layoutAnimateSteps, s );
updateAnimationPosition( p, s );
setHeight(0);
@@ -1457,7 +1457,7 @@ void Item::slotUpdateVisibility()
void Item::tqrepaint()
{
// if we're about to retqlayout, don't bother painting yet.
- if ( d->tqlayoutTimer.isActive() )
+ if ( d->layoutTimer.isActive() )
return;
listView()->repaintItem( this );
}