[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kwin_composite
From: Luboš Luňák <l.lunak () kde ! org>
Date: 2007-04-16 11:48:15
Message-ID: 1176724095.027655.17293.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 654513 by lunakl:
Get window class.
M +5 -0 effects.cpp
M +1 -0 effects.h
M +1 -0 lib/kwineffects.h
--- branches/work/kwin_composite/effects.cpp #654512:654513
@@ -664,6 +664,11 @@
return "";
}
+QString EffectWindowImpl::windowClass() const
+ {
+ return toplevel->resourceName() + ' ' + toplevel->resourceClass();
+ }
+
QPixmap EffectWindowImpl::icon() const
{
if( Client* c = dynamic_cast<Client*>( toplevel ))
--- branches/work/kwin_composite/effects.h #654512:654513
@@ -127,6 +127,7 @@
virtual double opacity() const;
virtual QString caption() const;
virtual QPixmap icon() const;
+ virtual QString windowClass() const;
virtual const EffectWindowGroup* group() const;
virtual int x() const;
--- branches/work/kwin_composite/lib/kwineffects.h #654512:654513
@@ -281,6 +281,7 @@
virtual QString caption() const = 0;
virtual QPixmap icon() const = 0;
+ virtual QString windowClass() const = 0;
virtual const EffectWindowGroup* group() const = 0;
virtual bool isDesktop() const = 0;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic