//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.QSize;
import org.kde.qt.QWidget;
import org.kde.qt.QResizeEvent;
import org.kde.qt.QLabel;

/**

 A label class that squeezes its text into the label
 If the text is too long to fit into the label it is divided into
 remaining left and right parts which are separated by three dots.
 Example:
 http://www.kde.org/documentation/index.html could be squeezed to
 http://www.kde...ion/index.html
 \image html ksqueezedtextlabel.png "KSqueezedTextLabel Widget"
		@author Ronny Standtke <Ronny.Standtke@gmx.de>
 
		@short A replacement for QLabel that squeezes its text.

*/
public class KSqueezedTextLabel extends QLabel  {
	protected KSqueezedTextLabel(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Default constructor.
		   		@short    Default constructor.
	*/
	public KSqueezedTextLabel(QWidget parent, String name) {
		super((Class) null);
		newKSqueezedTextLabel(parent,name);
	}
	private native void newKSqueezedTextLabel(QWidget parent, String name);
	public KSqueezedTextLabel(QWidget parent) {
		super((Class) null);
		newKSqueezedTextLabel(parent);
	}
	private native void newKSqueezedTextLabel(QWidget parent);
	public KSqueezedTextLabel(String text, QWidget parent, String name) {
		super((Class) null);
		newKSqueezedTextLabel(text,parent,name);
	}
	private native void newKSqueezedTextLabel(String text, QWidget parent, String name);
	public KSqueezedTextLabel(String text, QWidget parent) {
		super((Class) null);
		newKSqueezedTextLabel(text,parent);
	}
	private native void newKSqueezedTextLabel(String text, QWidget parent);
	public native QSize minimumSizeHint();
	public native QSize sizeHint();
	/**	
		 Overridden for internal reasons; the API remains unaffected.
		   		@short    Overridden for internal reasons; the API remains unaffected.
	*/
	public native void setAlignment(int arg1);
	public native void setText(String arg1);
	/**	
		 used when widget is resized
		   		@short    used when widget is resized
	*/
	protected native void resizeEvent(QResizeEvent arg1);
	/**	
		 does the dirty work
		   		@short    does the dirty work
	*/
	protected native void squeezeTextToLabel();
	/** 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();
}
