Damn, I hate keeping BC in an application.

svn path=/trunk/kdebase/kwin/; revision=184470
This commit is contained in:
Luboš Luňák 2002-10-18 11:13:30 +00:00
parent 1371ab7064
commit a508895993
2 changed files with 5 additions and 0 deletions

View file

@ -3055,6 +3055,10 @@ bool Client::isTopMenu() const
return windowType() == NET::TopMenu;
}
bool Client::isMenu() const
{
return windowType() == NET::Menu;
}
bool Client::isToolbar() const
{

View file

@ -161,6 +161,7 @@ public:
bool isTool() const; // KDE4 remove me
bool isToolbar() const;
bool isTopMenu() const;
bool isMenu() const;
bool isNormalWindow() const; // normal as in 'NET::Normal or NET::Unknown non-transient'
bool isDialog() const;