28 #ifndef _TDEMDITASKBAR_H_
29 #define _TDEMDITASKBAR_H_
31 #include <tdetoolbar.h>
32 #include <tqptrlist.h>
35 #include <tqpushbutton.h>
37 #include "tdemdidefines.h"
43 class KMdiTaskBarButtonPrivate;
67 TQString actualText()
const;
71 void fitText(
const TQString&,
int newWidth );
75 void setText(
const TQString& );
92 void buttonTextChanged(
int );
97 void setNewText(
const TQString& );
102 void mousePressEvent( TQMouseEvent* );
117 KMdiTaskBarButtonPrivate *d;
121 class KMdiTaskBarPrivate;
151 void removeWinButton(
KMdiChildView *win_ptr,
bool haveToLayoutTaskBar =
true );
164 void switchOn(
bool bOn );
168 bool isSwitchedOn()
const
170 return m_bSwitchedOn;
176 void resizeEvent( TQResizeEvent* );
185 void layoutTaskBar(
int taskBarWidth = 0 );
210 bool m_layoutIsPending;
214 KMdiTaskBarPrivate *d;
217 #endif //_TDEMDITASKBAR_H_