diff options
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/KMdiTaskBarButton.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KMdiTaskBarButton.java | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KMdiTaskBarButton.java b/tdejava/koala/org/trinitydesktop/koala/KMdiTaskBarButton.java new file mode 100644 index 00000000..49591ed3 --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/KMdiTaskBarButton.java @@ -0,0 +1,62 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.koala; + +import org.trinitydesktop.qt.Qt; +import org.trinitydesktop.qt.TQMetaObject; +import org.trinitydesktop.qt.QtSupport; +import org.trinitydesktop.qt.TQMouseEvent; +import org.trinitydesktop.qt.TQPushButton; + +/** + + It's a special kind of TQPushButton catching mouse clicks. + And you have the ability to abbreviate the text that it fits in the button. + See {@link KMdiTaskBarButtonSignals} for signals emitted by KMdiTaskBarButton + @short Internal class. + +*/ +public class KMdiTaskBarButton extends TQPushButton { + protected KMdiTaskBarButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus + @short Constructor (sets to toggle button, adds a tooltip (caption) and sets to NoFocus + */ + public KMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr) { + super((Class) null); + newKMdiTaskBarButton(pTaskBar,win_ptr); + } + private native void newKMdiTaskBarButton(KMdiTaskBar pTaskBar, KMdiChildView win_ptr); + /** + text() returns the possibly abbreviated text including the dots in it. But actualText() returns the full text. + @short text() returns the possibly abbreviated text including the dots in it. + */ + public native String actualText(); + /** + Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text. + @short Given the parameter newWidth this function possibly abbreviates the parameter string and sets a new button text. + */ + public native void fitText(String arg1, int newWidth); + /** + Sets the text and avoids any abbreviation. Memorizes that text in m_actualText, too. + @short Sets the text and avoids any abbreviation. + */ + public native void setText(String arg1); + /** + A slot version of setText + @short A slot version of setText + */ + public native void setNewText(String arg1); + /** + Reimplemented from its base class to catch right and left mouse button clicks + @short Reimplemented from its base class to catch right and left mouse button clicks + */ + protected native void mousePressEvent(TQMouseEvent arg1); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |