From f57854f6f46452c0858e394f8ae67aad8f1d3703 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 11 Apr 2011 18:21:58 +0000 Subject: [PATCH] Specify namespace when using WFlags git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227664 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/lib/kdecoration.cpp | 4 ++-- kwin/lib/kdecoration.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kwin/lib/kdecoration.cpp b/kwin/lib/kdecoration.cpp index 7b1ef93e1..ee8eb866d 100644 --- a/kwin/lib/kdecoration.cpp +++ b/kwin/lib/kdecoration.cpp @@ -57,7 +57,7 @@ const KDecorationOptions* KDecoration::options() return options_; } -void KDecoration::createMainWidget( WFlags flags ) +void KDecoration::createMainWidget( TQt::WFlags flags ) { // FRAME check flags? setMainWidget( new TQWidget( initialParentWidget(), "decoration widget", initialWFlags() | flags )); @@ -76,7 +76,7 @@ TQWidget* KDecoration::initialParentWidget() const return bridge_->initialParentWidget(); } -WFlags KDecoration::initialWFlags() const +TQt::WFlags KDecoration::initialWFlags() const { return bridge_->initialWFlags(); } diff --git a/kwin/lib/kdecoration.h b/kwin/lib/kdecoration.h index 7ce588142..61c3d924f 100644 --- a/kwin/lib/kdecoration.h +++ b/kwin/lib/kdecoration.h @@ -695,7 +695,7 @@ class KWIN_EXPORT KDecoration * flags that affect widget drawing are allowed. Window type flags * like WX11BypassWM or WStyle_NoBorder are forbidden. */ - void createMainWidget( WFlags flags = 0 ); + void createMainWidget( TQt::WFlags flags = 0 ); /** * The parent widget that should be used for the main widget. */ @@ -706,7 +706,7 @@ class KWIN_EXPORT KDecoration * that affect widget drawing are allowed. Window type flags like WX11BypassWM * or WStyle_NoBorder are forbidden. */ - WFlags initialWFlags() const; + TQt::WFlags initialWFlags() const; /** * This function is only allowed to be called once from animateMinimize(). * It can be used if the window should be shown or hidden at a specific