diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:53 -0600 |
commit | 7d07294e82b3eb432ae53752adb84b909211ac57 (patch) | |
tree | 6822a123e605f68057fa53a7c9ed43aa7d3dbe73 /client/imageholder.cpp | |
parent | 7b745a9472f418920ad89f0cd28d3e94de40bee2 (diff) | |
download | twin-style-crystal-7d07294e82b3eb432ae53752adb84b909211ac57.tar.gz twin-style-crystal-7d07294e82b3eb432ae53752adb84b909211ac57.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 7b745a9472f418920ad89f0cd28d3e94de40bee2.
Diffstat (limited to 'client/imageholder.cpp')
-rw-r--r-- | client/imageholder.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/imageholder.cpp b/client/imageholder.cpp index 8d8934f..4d026cf 100644 --- a/client/imageholder.cpp +++ b/client/imageholder.cpp @@ -63,12 +63,12 @@ void QImageHolder::setUserdefinedPictures( TQImage act,TQImage inact) if (!act.isNull()) { act=act.smoothScale(w,h); - img_active=ApplyEffect(act,&::factory->active,factory->options()->colorGroup(KDecoration::ColorTitleBar, true)); + img_active=ApplyEffect(act,&::factory->active,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, true)); }else img_active=NULL; if (!inact.isNull()) { inact=inact.smoothScale(w,h); - img_inactive=ApplyEffect(inact,&::factory->inactive,factory->options()->colorGroup(KDecoration::ColorTitleBar, false)); + img_inactive=ApplyEffect(inact,&::factory->inactive,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, false)); }else img_inactive=NULL; userdefinedActive=(img_active!=NULL); @@ -83,22 +83,22 @@ void QImageHolder::Init() rootpixmap=new KMyRootPixmap(NULL/*,this*/); rootpixmap->start(); - rootpixmap->repaint(true); + rootpixmap->tqrepaint(true); connect( rootpixmap,TQT_SIGNAL(backgroundUpdated(const TQImage*)),this, TQT_SLOT(BackgroundUpdated(const TQImage*))); connect(kapp, TQT_SIGNAL(backgroundChanged(int)),TQT_SLOT(handleDesktopChanged(int))); initialized=true; } -void QImageHolder::repaint(bool force) +void QImageHolder::tqrepaint(bool force) { Init(); - if (rootpixmap)rootpixmap->repaint(force); + if (rootpixmap)rootpixmap->tqrepaint(force); } void QImageHolder::handleDesktopChanged(int) { - repaint(true); + tqrepaint(true); } void QImageHolder::CheckSanity() @@ -160,11 +160,11 @@ void QImageHolder::BackgroundUpdated(const TQImage *src) TQImage tmp=src->copy(); if (!userdefinedInactive) - img_inactive=ApplyEffect(tmp,&::factory->inactive,factory->options()->colorGroup(KDecoration::ColorTitleBar, false)); + img_inactive=ApplyEffect(tmp,&::factory->inactive,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, false)); tmp=src->copy(); if (!userdefinedActive) - img_active=ApplyEffect(tmp,&::factory->active,factory->options()->colorGroup(KDecoration::ColorTitleBar, true)); + img_active=ApplyEffect(tmp,&::factory->active,factory->options()->tqcolorGroup(KDecoration::ColorTitleBar, true)); } emit repaintNeeded(); |