From 6c8d760f1f7b0c1582ba4c7a0263a0ea0049ee21 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- src/kbfxspinxmenu.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kbfxspinxmenu.cpp') 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 -- cgit v1.2.1