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 );
44 void setAppsOnly(
bool a );
46 bool isAppsOnly()
const;
49 void nextPrev(
bool next = TRUE);
54 void handleMouseEvent( XEvent* );
56 Workspace* workspace()
const;
61 void showEvent( TQShowEvent* );
62 void hideEvent( TQHideEvent* );
63 void drawContents( TQPainter * );
66 void createClientList(ClientList &list,
int desktop , Client *start,
bool chain);
70 Client* current_client;
78 TQTimer delayedShowTimer;
80 bool options_traverse_all;
81 Window outline_left, outline_right, outline_top, outline_bottom;
88 inline Workspace* TabBox::workspace()
const
98 inline TabBox::Mode TabBox::mode()
const
108 inline bool TabBox::isAppsOnly()
const