summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KMdiTaskBarButton.java
blob: 1566cf5eca1fdda9a73db0af44fa1ed02547db5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQMouseEvent;
import org.kde.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();
}