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 );
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_
KMdiChildView * m_pCurrentFocusedWindow
The MDI view belonging to the currently pressed taskbar button.
Base class for all your special view windows.
Base class for all your special main frames.
TQLabel * m_pStretchSpace
A stretchable widget used as 'space' at the end of a half filled taskbar.
bool isSwitchedOn() const
KMdiMainFrm * m_pFrm
The belonging MDI mainframe (parent widget of this)
TQPtrList< KMdiTaskBarButton > * m_pButtonList
A list of taskbar buttons.