summaryrefslogtreecommitdiffstats
path: root/src/kbfxtooltip.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21 (patch)
tree32289f314009a269903735db89973ac343e2bb64 /src/kbfxtooltip.cpp
parent055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (diff)
downloadkbfx-6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21.tar.gz
kbfx-6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxtooltip.cpp')
-rw-r--r--src/kbfxtooltip.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/kbfxtooltip.cpp b/src/kbfxtooltip.cpp
index 28a4167..d09c927 100644
--- a/src/kbfxtooltip.cpp
+++ b/src/kbfxtooltip.cpp
@@ -23,8 +23,8 @@
#include "kbfxtooltip.h"
-KbfxToolTip::KbfxToolTip ( TQWidget * tqparent, const char *name, WFlags fl ) :
- TQWidget ( tqparent, name,
+KbfxToolTip::KbfxToolTip ( TQWidget * parent, const char *name, WFlags fl ) :
+ TQWidget ( parent, name,
fl | WStyle_Customize | WRepaintNoErase | WStyle_NoBorder |
WDestructiveClose | TQt::WPaintDesktop | TQt::WType_Popup | TQt::
WPaintClever | TQt::WNoAutoErase | TQt::WResizeNoErase | TQt::
@@ -41,7 +41,7 @@ KbfxToolTip::KbfxToolTip ( TQWidget * tqparent, const char *name, WFlags fl ) :
TQImage ( ConfigInit ().m_SpinxTooltipWindow )
: TQImage ( ConfigInit ().m_SpinxTooltipWindowDefault );
- tooltip_tqmask = ( KbfxPlasmaPixmapProvider::PixmapPathCheck ( ConfigInit().m_SpinxTooltipMask ) ) ?
+ tooltip_mask = ( KbfxPlasmaPixmapProvider::PixmapPathCheck ( ConfigInit().m_SpinxTooltipMask ) ) ?
TQImage ( ConfigInit().m_SpinxTooltipMask )
: TQImage ( ConfigInit().m_SpinxTooltipMaskDefault );
@@ -114,10 +114,10 @@ KbfxToolTip::setAnimationImage ( TQString path )
_agent->resize ( 100, 100 );
_agent_anim = new TQMovie ( path );
- TQPixmap agent_tqmask = _agent_anim->framePixmap ();
- _agent->setBackgroundPixmap ( agent_tqmask );
- if ( agent_tqmask.tqmask () )
- _agent->setMask ( *agent_tqmask.tqmask () );
+ TQPixmap agent_mask = _agent_anim->framePixmap ();
+ _agent->setBackgroundPixmap ( agent_mask );
+ if ( agent_mask.mask () )
+ _agent->setMask ( *agent_mask.mask () );
_agent->tqrepaint ();
/*FIXME:Need to remove Hard Coded Values */
@@ -135,7 +135,7 @@ KbfxToolTip::setBackground ( TQPixmap bg )
{
( bg.isNull () ) ?
- _bg = tooltip_tqmask
+ _bg = tooltip_mask
: _bg = bg.convertToImage ();
/* animation check : Auto streatch */
@@ -150,8 +150,8 @@ KbfxToolTip::setBackground ( TQPixmap bg )
this->setBackgroundPixmap ( pm );
TQPixmap m_tmp ( _bg );
- if ( m_tmp.tqmask () )
- this->setMask ( ( *m_tmp.tqmask () ) );
+ if ( m_tmp.mask () )
+ this->setMask ( ( *m_tmp.mask () ) );
this->resize ( _bg.width (), _bg.height () );
_maxW = _bg.width ();
}
@@ -196,10 +196,10 @@ KbfxToolTip::logoMove ()
p.end ();
}
- TQPixmap agent_tqmask = _agent_anim->framePixmap ();
- _agent->setBackgroundPixmap ( agent_tqmask );
- if ( agent_tqmask.tqmask () )
- _agent->setMask ( *agent_tqmask.tqmask () );
+ TQPixmap agent_mask = _agent_anim->framePixmap ();
+ _agent->setBackgroundPixmap ( agent_mask );
+ if ( agent_mask.mask () )
+ _agent->setMask ( *agent_mask.mask () );
_agent->tqrepaint ();
}