17 #include <tqvaluelist.h>
22 namespace KWinInternal
28 class TabBox :
public TQFrame
32 TabBox( Workspace *ws,
const char *name=0 );
35 Client* currentClient();
36 void setCurrentClient( Client* c );
42 enum Mode { DesktopMode, DesktopListMode, WindowsMode };
43 void setMode( Mode mode );
47 void nextPrev(
bool next = TRUE);
52 void handleMouseEvent( XEvent* );
54 Workspace* workspace()
const;
59 void showEvent( TQShowEvent* );
60 void hideEvent( TQHideEvent* );
61 void drawContents( TQPainter * );
64 void createClientList(ClientList &list,
int desktop , Client *start,
bool chain);
68 Client* current_client;
75 TQTimer delayedShowTimer;
77 bool options_traverse_all;
78 Window outline_left, outline_right, outline_top, outline_bottom;
85 inline Workspace* TabBox::workspace()
const
95 inline TabBox::Mode TabBox::mode()
const