tdemditaskbar.h
void setText(const TQString &)
Sets the text and avoids any abbreviation.
Definition tdemditaskbar.cpp:99
TQString actualText() const
text() returns the possibly abbreviated text including the dots in it.
Definition tdemditaskbar.cpp:136
KMdiTaskBarButton(KMdiTaskBar *pTaskBar, KMdiChildView *win_ptr)
Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus.
Definition tdemditaskbar.cpp:62
void fitText(const TQString &, int newWidth)
Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new b...
Definition tdemditaskbar.cpp:105
void mousePressEvent(TQMouseEvent *)
Reimplemented from its base class to catch right and left mouse button clicks.
Definition tdemditaskbar.cpp:76
void buttonTextChanged(int)
Emitted when the button text has changed.
void rightMouseButtonClicked(KMdiChildView *)
Internally connected with KMdiMainFrm::taskbarButtonRightClicked.
void leftMouseButtonClicked(KMdiChildView *)
Internally connected with KMdiMainFrm::activateView.
TQString m_actualText
Internally we must remember the real text because the button text can be abbreviated.
Definition tdemditaskbar.h:114
TQPtrList< KMdiTaskBarButton > * m_pButtonList
A list of taskbar buttons.
Definition tdemditaskbar.h:197
KMdiTaskBar(KMdiMainFrm *parent, TQMainWindow::ToolBarDock dock)
Constructor (NoFocus, minimum width = 1, an internal TQPtrList of taskbar buttons (autodelete)).
Definition tdemditaskbar.cpp:147
KMdiChildView * m_pCurrentFocusedWindow
The MDI view belonging to the currently pressed taskbar button.
Definition tdemditaskbar.h:205
KMdiTaskBarButton * getNextWindowButton(bool bRight, KMdiChildView *win_ptr)
Returns the neighbor taskbar button of the taskbar button of the MDI view given by parameter bRight s...
Definition tdemditaskbar.cpp:252
TQLabel * m_pStretchSpace
A stretchable widget used as 'space' at the end of a half filled taskbar.
Definition tdemditaskbar.h:209
KMdiTaskBarButton * getButton(KMdiChildView *win_ptr)
Get the button belonging to the MDI view given as parameter.
Definition tdemditaskbar.cpp:242
KMdiTaskBarButton * addWinButton(KMdiChildView *win_ptr)
Add a new KMdiTaskBarButton .
Definition tdemditaskbar.cpp:168
void removeWinButton(KMdiChildView *win_ptr, bool haveToLayoutTaskBar=true)
Removes a KMdiTaskBarButton and deletes it.
Definition tdemditaskbar.cpp:202
KMdiMainFrm * m_pFrm
The belonging MDI mainframe (parent widget of this).
Definition tdemditaskbar.h:201
Trinity API Reference