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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQIconViewItem;
import org.trinitydesktop.qt.TQFont;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragMoveEvent;
import org.trinitydesktop.qt.TQDragEnterEvent;
import org.trinitydesktop.qt.TQDragLeaveEvent;
import org.trinitydesktop.qt.TQFocusEvent;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQWheelEvent;
import org.trinitydesktop.qt.TQIconView;

/**

 This Widget extends the functionality of TQIconView to honor the system
 wide settings for Single Click/Double Click mode, Auto Selection and
 Change Cursor over Link.
 There is a new signal executed(). It gets connected to either
 TQIconView.clicked() or TQIconView.doubleClicked() depending on the KDE
 wide Single Click/Double Click settings. It is strongly recommended that
 you use this signal instead of the above mentioned. This way you don't
 need to care about the current settings.
 If you want to get informed when the user selects something connect to the
 TQIconView.selectionChanged() signal.
 See {@link TDEIconViewSignals} for signals emitted by TDEIconView
		@short A variant of TQIconView that honors KDE's system-wide settings.

*/
public class TDEIconView extends TQIconView  {
	protected TDEIconView(Class dummy){super((Class) null);}
	/**
		 TDEIconView has two different operating modes. Execute mode is depending
		 on the configuration of single-click or double-click where the signal
		 executed() will be emitted upon click/double-click.
		 In Select mode, this signal will not be emitted.
			 Default is Execute mode.
		   		@short    TDEIconView has two different operating modes.
	*/
	public static final int Execute = 0;
	public static final int Select = 1;

	public native TQMetaObject metaObject();
	public native String className();
	public TDEIconView(TQWidget parent, String name, int f) {
		super((Class) null);
		newTDEIconView(parent,name,f);
	}
	private native void newTDEIconView(TQWidget parent, String name, int f);
	public TDEIconView(TQWidget parent, String name) {
		super((Class) null);
		newTDEIconView(parent,name);
	}
	private native void newTDEIconView(TQWidget parent, String name);
	public TDEIconView(TQWidget parent) {
		super((Class) null);
		newTDEIconView(parent);
	}
	private native void newTDEIconView(TQWidget parent);
	public TDEIconView() {
		super((Class) null);
		newTDEIconView();
	}
	private native void newTDEIconView();
	/**
		 Sets the mode to Execute or Select.

			<li>
			In Execute mode, the signal executed()
			 will be emitted when the user clicks/double-clicks an item.
			</li>

			<li>
			Select mode is
			 the normal TQIconView mode.
			</li>
				 Default is Execute.
		   		@short    Sets the mode to Execute or Select.
	*/
	public native void setMode(int m);
	/**
				@return the current Mode, either Execute or Select.

		@short
	*/
	public native int mode();
	/**
		 Reimplemented for internal purposes
		   		@short    Reimplemented for internal purposes
	*/
	public native void setFont(TQFont arg1);
	/**
		 Set the maximum number of lines that will be used to display icon text.
		 Setting this value will enable word-wrap, too.
			@param n Number of lines
		    		@short    Set the maximum number of lines that will be used to display icon text.
	*/
	public native void setIconTextHeight(int n);
	/**
				@return The height of icon text in lines

		@short
	*/
	public native int iconTextHeight();
	/**
		 Reimplemented for held() signal behavior internal purposes
		   		@short    Reimplemented for held() signal behavior internal purposes
	*/
	public native void takeItem(TQIconViewItem item);
	protected native void emitExecute(TQIconViewItem item, TQPoint pos);
	protected native void updateDragHoldItem(TQDropEvent e);
	protected native void focusOutEvent(TQFocusEvent fe);
	protected native void leaveEvent(TQEvent e);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void contentsMouseReleaseEvent(TQMouseEvent e);
	protected native void contentsDragEnterEvent(TQDragEnterEvent e);
	protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
	protected native void contentsDragMoveEvent(TQDragMoveEvent e);
	protected native void contentsDropEvent(TQDropEvent e);
	protected native void wheelEvent(TQWheelEvent e);
	/**
		 This method allows to handle correctly cases where a subclass
		 needs the held() signal to not be triggered without calling
		 a TDEIconView.contentsDragEvent() method (which have side effects
		 because they forward to TQIconView).
		   		@short    This method allows to handle correctly cases where a subclass  needs the held() signal to not be triggered without calling  a TDEIconView.contentsDrag Event() method (which have side effects  because they forward to TQIconView).
	*/
	protected native void cancelPendingHeldSignal();
	protected native void slotOnItem(TQIconViewItem item);
	protected native void slotOnViewport();
	protected native void slotSettingsChanged(int arg1);
	/**
		 Auto selection happend.
		   		@short    Auto selection happend.
	*/
	protected native void slotAutoSelect();
	/** 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();
}
