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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQWidget;

/**

 The items are painted using the respective font itself, so the user
 can easily choose a font based on its look. This can be turned off
 globally if the user wishes so.
		@author Malte Starostik <malte@kde.org>

		@short A combobox that lists the available fonts.

*/
public class TDEFontCombo extends KComboBox  {
	protected TDEFontCombo(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		 Constructor
			@param parent The parent widget
			@param name The object name for the widget
		     		@short    Constructor
	*/
	public TDEFontCombo(TQWidget parent, String name) {
		super((Class) null);
		newTDEFontCombo(parent,name);
	}
	private native void newTDEFontCombo(TQWidget parent, String name);
	public TDEFontCombo(TQWidget parent) {
		super((Class) null);
		newTDEFontCombo(parent);
	}
	private native void newTDEFontCombo(TQWidget parent);
	/**
		 Constructor that takes an already initialzed font list
			@param fonts A list of fonts to show
			@param parent The parent widget
			@param name The object name for the widget
		     		@short    Constructor that takes an already initialzed font list
	*/
	public TDEFontCombo(String[] fonts, TQWidget parent, String name) {
		super((Class) null);
		newTDEFontCombo(fonts,parent,name);
	}
	private native void newTDEFontCombo(String[] fonts, TQWidget parent, String name);
	public TDEFontCombo(String[] fonts, TQWidget parent) {
		super((Class) null);
		newTDEFontCombo(fonts,parent);
	}
	private native void newTDEFontCombo(String[] fonts, TQWidget parent);
	/**
		 Sets the font list.
			@param fonts Font list to show
		     		@short    Sets the font list.
	*/
	public native void setFonts(String[] fonts);
	/**
		 Sets the currently selected font.
			@param family Font to select.
		     		@short    Sets the currently selected font.
	*/
	public native void setCurrentFont(String family);
	/**
				@return the currently selected font.

		@short
	*/
	public native String currentFont();
	/**
		 Sets the listed fonts to bold or normal.
			@param bold Set to true to display fonts in bold
		     		@short    Sets the listed fonts to bold or normal.
	*/
	public native void setBold(boolean bold);
	/**
		 Returns the current bold status.
				@return true if fonts are bold

		@short    Returns the current bold status.
	*/
	public native boolean bold();
	/**
		 Sets the listed fonts to italic or regular.
			@param italic Set to true to display fonts italic
		     		@short    Sets the listed fonts to italic or regular.
	*/
	public native void setItalic(boolean italic);
	/**
		 Returns the current italic status
				@return True if fonts are italic

		@short    Returns the current italic status
	*/
	public native boolean italic();
	/**
		 Sets the listed fonts to underlined or not underlined
			@param underline Set to true to display fonts underlined
		     		@short    Sets the listed fonts to underlined or not underlined
	*/
	public native void setUnderline(boolean underline);
	/**
		 Returns the current underline status
				@return True if fonts are underlined

		@short    Returns the current underline status
	*/
	public native boolean underline();
	/**
		 Sets the listed fonts to striked out or not
			@param strikeOut Set to true to display fonts striked out
		     		@short    Sets the listed fonts to striked out or not
	*/
	public native void setStrikeOut(boolean strikeOut);
	/**
		 Returns the current strike out status
				@return True if fonts are striked out

		@short    Returns the current strike out status
	*/
	public native boolean strikeOut();
	/**
		 Sets the listed fonts' size
			@param size Set to the point size to display the fonts in
		     		@short    Sets the listed fonts' size
	*/
	public native void setSize(int size);
	/**
		 Returns the current font size
				@return The point size of the fonts

		@short    Returns the current font size
	*/
	public native int pointSize();
	public native void setCurrentItem(int i);
	/**
		 Returns the user's setting of whether the items should be painted
		 in the respective fonts or not
				@return True if the respective fonts are used for painting

		@short    Returns the user's setting of whether the items should be painted  in the respective fonts or not
	*/
	public static native boolean displayFonts();
	/**
		 Updated the combo's listBox() to reflect changes made to the
		 fonts' attributed
		     		@short    Updated the combo's listBox() to reflect changes made to the  fonts' attributed
	*/
	protected native void updateFonts();
	/**
			 Listens to highlighted(int)
		     		@short
	*/
	protected native void slotModified(int i);
	/** 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();
}
