Specify namespace when using WFlags

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227664 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent e2830561bd
commit f57854f6f4

@ -57,7 +57,7 @@ const KDecorationOptions* KDecoration::options()
return options_; return options_;
} }
void KDecoration::createMainWidget( WFlags flags ) void KDecoration::createMainWidget( TQt::WFlags flags )
{ {
// FRAME check flags? // FRAME check flags?
setMainWidget( new TQWidget( initialParentWidget(), "decoration widget", initialWFlags() | flags )); setMainWidget( new TQWidget( initialParentWidget(), "decoration widget", initialWFlags() | flags ));
@ -76,7 +76,7 @@ TQWidget* KDecoration::initialParentWidget() const
return bridge_->initialParentWidget(); return bridge_->initialParentWidget();
} }
WFlags KDecoration::initialWFlags() const TQt::WFlags KDecoration::initialWFlags() const
{ {
return bridge_->initialWFlags(); return bridge_->initialWFlags();
} }

@ -695,7 +695,7 @@ class KWIN_EXPORT KDecoration
* flags that affect widget drawing are allowed. Window type flags * flags that affect widget drawing are allowed. Window type flags
* like WX11BypassWM or WStyle_NoBorder are forbidden. * 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. * 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 * that affect widget drawing are allowed. Window type flags like WX11BypassWM
* or WStyle_NoBorder are forbidden. * or WStyle_NoBorder are forbidden.
*/ */
WFlags initialWFlags() const; TQt::WFlags initialWFlags() const;
/** /**
* This function is only allowed to be called once from animateMinimize(). * 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 * It can be used if the window should be shown or hidden at a specific

Loading…
Cancel
Save