summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-11 18:21:58 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-11 18:21:58 +0000
commitf57854f6f46452c0858e394f8ae67aad8f1d3703 (patch)
treef13fda0b534367e9181207a784f6f0e22435c2c0
parente2830561bd63608ab81bc07760c6efee098e23eb (diff)
downloadtdebase-f57854f6f46452c0858e394f8ae67aad8f1d3703.tar.gz
tdebase-f57854f6f46452c0858e394f8ae67aad8f1d3703.zip
Specify namespace when using WFlags
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227664 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kwin/lib/kdecoration.cpp4
-rw-r--r--kwin/lib/kdecoration.h4
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