diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | e496df8f5591fcd687776f2444c5d15c990cf097 (patch) | |
tree | bacb860d03e31119cd063bf464e7e3bed7305480 /src | |
parent | 1b1434087ce89c423991391aaa13036869c7444d (diff) | |
download | kbfx-e496df8f5591fcd687776f2444c5d15c990cf097.tar.gz kbfx-e496df8f5591fcd687776f2444c5d15c990cf097.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/applications/kbfx@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r-- | src/kbfxspinxmenu.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kbfxspinxmenu.cpp b/src/kbfxspinxmenu.cpp index 6af42ef..ed9924d 100644 --- a/src/kbfxspinxmenu.cpp +++ b/src/kbfxspinxmenu.cpp @@ -232,36 +232,36 @@ KbfxSpinxMenuWidget::changeHeight (int het) void KbfxSpinxMenuWidget::createMask () { - TQPixmap tqmaskpng = ( *KbfxPlasmaPixmapProvider::pixmap ( "tqmask" ) ); - TQImage rawimg = tqmaskpng.convertToImage (); + TQPixmap maskpng = ( *KbfxPlasmaPixmapProvider::pixmap ( "tqmask" ) ); + TQImage rawimg = maskpng.convertToImage (); rawimg = rawimg.smoothScale ( ConfigInit ().m_userMenuWidth, ConfigInit ().m_userMenuHeight, TQ_ScaleFree ); - tqmaskpng.convertFromImage ( rawimg ); + maskpng.convertFromImage ( rawimg ); - setMinimumWidth ( tqmaskpng.width () ); - setMinimumHeight ( tqmaskpng.height () ); -// setMaximumWidth ( tqmaskpng.width () ); -// setMaximumHeight ( tqmaskpng.height () ); - if ( !tqmaskpng.tqmask () ) + setMinimumWidth ( maskpng.width () ); + setMinimumHeight ( maskpng.height () ); +// setMaximumWidth ( maskpng.width () ); +// setMaximumHeight ( maskpng.height () ); + if ( !maskpng.tqmask () ) if ( rawimg.hasAlphaBuffer () ) { TQBitmap bm; bm.convertFromImage(rawimg.createAlphaMask ()); - tqmaskpng.setMask ( bm ); + maskpng.setMask ( bm ); } else { TQBitmap bm; bm.convertFromImage(rawimg.createHeuristicMask ()); - // tqmaskpng.setMask ( bm ); + // maskpng.setMask ( bm ); } - if ( tqmaskpng.tqmask () && m_parent ) - m_parent->setMask ( *tqmaskpng.tqmask () ); + if ( maskpng.tqmask () && m_parent ) + m_parent->setMask ( *maskpng.tqmask () ); } void |