Browse Source

Specify namespace when using WFlags

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227664 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
tpearson 9 years ago
parent
commit
f57854f6f4
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      kwin/lib/kdecoration.cpp
  2. +2
    -2
      kwin/lib/kdecoration.h

+ 2
- 2
kwin/lib/kdecoration.cpp View File

@@ -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();
}


+ 2
- 2
kwin/lib/kdecoration.h View File

@@ -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


Loading…
Cancel
Save