org.kde.koala

Class KMdiTaskBarButton

public class KMdiTaskBarButton extends QPushButton

It's a special kind of QPushButton catching mouse clicks. And you have the ability to abbreviate the text that it fits in the button. See KMdiTaskBarButtonSignals for signals emitted by KMdiTaskBarButton

UNKNOWN: Internal class.

Constructor Summary
protected KMdiTaskBarButton(Class dummy)
KMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr)
Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus
Method Summary
StringactualText()
text() returns the possibly abbreviated text including the dots in it.
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
voidfitText(String arg1, int newWidth)
Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text.
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
protected voidmousePressEvent(QMouseEvent arg1)
Reimplemented from its base class to catch right and left mouse button clicks
voidsetNewText(String arg1)
A slot version of setText
voidsetText(String arg1)
Sets the text and avoids any abbreviation.

Constructor Detail

KMdiTaskBarButton

protected KMdiTaskBarButton(Class dummy)

KMdiTaskBarButton

public KMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr)
Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus

UNKNOWN: Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus

Method Detail

actualText

public String actualText()
text() returns the possibly abbreviated text including the dots in it. But actualText() returns the full text.

UNKNOWN: text() returns the possibly abbreviated text including the dots in it.

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

fitText

public void fitText(String arg1, int newWidth)
Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text.

UNKNOWN: Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text.

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

mousePressEvent

protected void mousePressEvent(QMouseEvent arg1)
Reimplemented from its base class to catch right and left mouse button clicks

UNKNOWN: Reimplemented from its base class to catch right and left mouse button clicks

setNewText

public void setNewText(String arg1)
A slot version of setText

UNKNOWN: A slot version of setText

setText

public void setText(String arg1)
Sets the text and avoids any abbreviation. Memorizes that text in m_actualText, too.

UNKNOWN: Sets the text and avoids any abbreviation.