1 /********************************************************************
2 KWin - the KDE window manager
3 This file is part of the KDE project.
5 Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
6 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 *********************************************************************/
34 class EffectWindowGroupImpl
;
39 Group( Window leader
, Workspace
* workspace
);
41 Window
leader() const;
42 const Client
* leaderClient() const;
43 Client
* leaderClient();
44 const ClientList
& members() const;
46 QPixmap
miniIcon() const;
47 void addMember( Client
* member
);
48 void removeMember( Client
* member
);
49 void gotLeader( Client
* leader
);
51 Workspace
* workspace();
52 bool groupEvent( XEvent
* e
);
53 void updateUserTime( Time time
= CurrentTime
);
54 Time
userTime() const;
57 EffectWindowGroupImpl
* effectGroup();
60 void startupIdChanged();
62 Client
* leader_client
;
64 Workspace
* _workspace
;
65 NETWinInfo2
* leader_info
;
68 EffectWindowGroupImpl
* effect_group
;
71 inline Window
Group::leader() const
76 inline const Client
* Group::leaderClient() const
81 inline Client
* Group::leaderClient()
86 inline const ClientList
& Group::members() const
91 inline Workspace
* Group::workspace()
96 inline Time
Group::userTime() const
102 EffectWindowGroupImpl
* Group::effectGroup()