diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21 (patch) | |
tree | 32289f314009a269903735db89973ac343e2bb64 /src/kbfxspinxmenu.cpp | |
parent | 055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (diff) | |
download | kbfx-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/kbfxspinxmenu.cpp')
-rw-r--r-- | src/kbfxspinxmenu.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kbfxspinxmenu.cpp b/src/kbfxspinxmenu.cpp index 6f1ab9a..3dd3432 100644 --- a/src/kbfxspinxmenu.cpp +++ b/src/kbfxspinxmenu.cpp @@ -21,12 +21,12 @@ #include "kbfxspinxmenu.h" -KbfxSpinxMenuWidget::KbfxSpinxMenuWidget ( TQWidget * tqparent, const char *name, +KbfxSpinxMenuWidget::KbfxSpinxMenuWidget ( TQWidget * parent, const char *name, WFlags fl ) : - TQWidget ( tqparent, "MenuWidget", + TQWidget ( parent, "MenuWidget", fl | TQt::WStyle_Customize | TQt::WStyle_NoBorder | TQt::WStyle_StaysOnTop ) { - m_parent = tqparent; + m_parent = parent; TQString _name=name; init(); @@ -232,7 +232,7 @@ KbfxSpinxMenuWidget::changeHeight (int het) void KbfxSpinxMenuWidget::createMask () { - TQPixmap maskpng = ( *KbfxPlasmaPixmapProvider::pixmap ( "tqmask" ) ); + TQPixmap maskpng = ( *KbfxPlasmaPixmapProvider::pixmap ( "mask" ) ); TQImage rawimg = maskpng.convertToImage (); rawimg = @@ -246,7 +246,7 @@ KbfxSpinxMenuWidget::createMask () setMinimumHeight ( maskpng.height () ); // setMaximumWidth ( maskpng.width () ); // setMaximumHeight ( maskpng.height () ); - if ( !maskpng.tqmask () ) + if ( !maskpng.mask () ) if ( rawimg.hasAlphaBuffer () ) { TQBitmap bm; @@ -260,8 +260,8 @@ KbfxSpinxMenuWidget::createMask () // maskpng.setMask ( bm ); } - if ( maskpng.tqmask () && m_parent ) - m_parent->setMask ( *maskpng.tqmask () ); + if ( maskpng.mask () && m_parent ) + m_parent->setMask ( *maskpng.mask () ); } void |