summaryrefslogtreecommitdiffstats
path: root/client/crystalclient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/crystalclient.cc')
-rw-r--r--client/crystalclient.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/client/crystalclient.cc b/client/crystalclient.cc
index e8780aa..6b3ac65 100644
--- a/client/crystalclient.cc
+++ b/client/crystalclient.cc
@@ -257,8 +257,8 @@ bool CrystalFactory::readConfig()
animateHover=config.readBoolEntry("AnimateHover",true);
tintButtons=config.readBoolEntry("TintButtons",false);
menuImage=config.readBoolEntry("MenuImage",true);
- tqrepaintMode=config.readNumEntry("RepaintMode",1);
- tqrepaintTime=config.readNumEntry("RepaintTime",200);
+ repaintMode=config.readNumEntry("RepaintMode",1);
+ repaintTime=config.readNumEntry("RepaintTime",200);
buttontheme=config.readNumEntry("ButtonTheme",8);
@@ -801,7 +801,7 @@ void CrystalClient::init()
connect( this, TQT_SIGNAL( keepAboveChanged( bool )), TQT_SLOT( keepAboveChange( bool )));
connect( this, TQT_SIGNAL( keepBelowChanged( bool )), TQT_SLOT( keepBelowChange( bool )));
- if (::factory->transparency)connect ( ::factory->image_holder,TQT_SIGNAL(tqrepaintNeeded()),this,TQT_SLOT(Repaint()));
+ if (::factory->transparency)connect ( ::factory->image_holder,TQT_SIGNAL(repaintNeeded()),this,TQT_SLOT(Repaint()));
if (::factory->transparency)connect ( &timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(Repaint()));
updateLayout();
@@ -1457,18 +1457,18 @@ void CrystalClient::resizeEvent(TQResizeEvent *e)
if (widget()->isShown())
{
if (!::factory->transparency) ;
- else if (::factory->tqrepaintMode==1)
+ else if (::factory->repaintMode==1)
{
if (!timer.isActive())timer.start(0,true);
// Repaint();
}
// tqrepaint only every xxx ms
- else if (::factory->tqrepaintMode==3 || !timer.isActive())
+ else if (::factory->repaintMode==3 || !timer.isActive())
{
// Repaint only, when mode!=fade || amount<100
WND_CONFIG* wnd=isActive()?&::factory->active:&::factory->inactive;
if (wnd->mode!=0 || wnd->amount<100)
- timer.start(::factory->tqrepaintTime,true);
+ timer.start(::factory->repaintTime,true);
}
}
if (e->size()!=e->oldSize())
@@ -1482,17 +1482,17 @@ void CrystalClient::moveEvent(TQMoveEvent *)
if (widget()->isShown())
{
if (!::factory->transparency) return;
- else if (::factory->tqrepaintMode==1)
+ else if (::factory->repaintMode==1)
{
Repaint();
}
// tqrepaint every xxx ms, so constant moving does not take too much CPU
- else if (::factory->tqrepaintMode==3 || !timer.isActive())
+ else if (::factory->repaintMode==3 || !timer.isActive())
{
// Repaint only, when mode!=fade || value<100, because otherwise it is a plain color
WND_CONFIG* wnd=isActive()?&::factory->active:&::factory->inactive;
if (wnd->mode!=0 || wnd->amount<100)
- timer.start(::factory->tqrepaintTime,true);
+ timer.start(::factory->repaintTime,true);
}
}
}