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