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

import java.util.ArrayList;
import org.trinitydesktop.qt.Qt;

/**
 See {@link TQListViewSignals} for signals emitted by TQListView
*/
public class TQListView extends TQScrollView  {
	protected TQListView(Class dummy){super((Class) null);}
	public static final int Manual = 0;
	public static final int Maximum = 1;

	public static final int Single = 0;
	public static final int Multi = 1;
	public static final int Extended = 2;
	public static final int NoSelection = 3;

	public static final int NoColumn = 0;
	public static final int AllColumns = 1;
	public static final int LastColumn = 2;

	public static final int Accept = 0;
	public static final int Reject = 1;

	public native TQMetaObject metaObject();
	public native String className();
	public TQListView(TQWidget parent, String name, int f) {
		super((Class) null);
		newTQListView(parent,name,f);
	}
	private native void newTQListView(TQWidget parent, String name, int f);
	public TQListView(TQWidget parent, String name) {
		super((Class) null);
		newTQListView(parent,name);
	}
	private native void newTQListView(TQWidget parent, String name);
	public TQListView(TQWidget parent) {
		super((Class) null);
		newTQListView(parent);
	}
	private native void newTQListView(TQWidget parent);
	public TQListView() {
		super((Class) null);
		newTQListView();
	}
	private native void newTQListView();
	public native int treeStepSize();
	public native void setTreeStepSize(int arg1);
	public native void insertItem(TQListViewItem arg1);
	public native void takeItem(TQListViewItem arg1);
	public native void removeItem(TQListViewItem item);
	public native TQHeader header();
	public native int addColumn(String label, int size);
	public native int addColumn(String label);
	public native int addColumn(TQIconSet iconset, String label, int size);
	public native int addColumn(TQIconSet iconset, String label);
	public native void removeColumn(int index);
	public native void setColumnText(int column, String label);
	public native void setColumnText(int column, TQIconSet iconset, String label);
	public native String columnText(int column);
	public native void setColumnWidth(int column, int width);
	public native int columnWidth(int column);
	public native void setColumnWidthMode(int column, int arg2);
	public native int columnWidthMode(int column);
	public native int columns();
	public native void setColumnAlignment(int arg1, int arg2);
	public native int columnAlignment(int arg1);
	public native void show();
	public native TQListViewItem itemAt(TQPoint screenPos);
	public native TQRect itemRect(TQListViewItem arg1);
	public native int itemPos(TQListViewItem arg1);
	public native void ensureItemVisible(TQListViewItem arg1);
	public native void repaintItem(TQListViewItem arg1);
	public native void setMultiSelection(boolean enable);
	public native boolean isMultiSelection();
	public native void setSelectionMode(int mode);
	public native int selectionMode();
	public native void clearSelection();
	public native void setSelected(TQListViewItem arg1, boolean arg2);
	public native void setSelectionAnchor(TQListViewItem arg1);
	public native boolean isSelected(TQListViewItem arg1);
	public native TQListViewItem selectedItem();
	public native void setOpen(TQListViewItem arg1, boolean arg2);
	public native boolean isOpen(TQListViewItem arg1);
	public native void setCurrentItem(TQListViewItem arg1);
	public native TQListViewItem currentItem();
	public native TQListViewItem firstChild();
	public native TQListViewItem lastItem();
	public native int childCount();
	public native void setAllColumnsShowFocus(boolean arg1);
	public native boolean allColumnsShowFocus();
	public native void setItemMargin(int arg1);
	public native int itemMargin();
	public native void setRootIsDecorated(boolean arg1);
	public native boolean rootIsDecorated();
	public native void setSorting(int column, boolean ascending);
	public native void setSorting(int column);
	public native int sortColumn();
	public native void setSortColumn(int column);
	public native int sortOrder();
	public native void setSortOrder(int order);
	public native void sort();
	public native void setFont(TQFont arg1);
	public native void setPalette(TQPalette arg1);
	public native boolean eventFilter(TQObject o, TQEvent arg2);
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native void setShowSortIndicator(boolean show);
	public native boolean showSortIndicator();
	public native void setShowToolTips(boolean b);
	public native boolean showToolTips();
	public native void setResizeMode(int m);
	public native int resizeMode();
	public native TQListViewItem findItem(String text, int column, int compare);
	public native TQListViewItem findItem(String text, int column);
	public native void setDefaultRenameAction(int a);
	public native int defaultRenameAction();
	public native boolean isRenaming();
	public native void hideColumn(int column);
	public native void clear();
	public native void invertSelection();
	public native void selectAll(boolean select);
	public native void triggerUpdate();
	public native void setContentsPos(int x, int y);
	public native void adjustColumn(int col);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void contentsMousePressEvent(TQMouseEvent e);
	protected native void contentsMouseReleaseEvent(TQMouseEvent e);
	protected native void contentsMouseMoveEvent(TQMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(TQMouseEvent e);
	protected native void contentsContextMenuEvent(TQContextMenuEvent e);
	protected native void contentsDragEnterEvent(TQDragEnterEvent e);
	protected native void contentsDragMoveEvent(TQDragMoveEvent e);
	protected native void contentsDragLeaveEvent(TQDragLeaveEvent e);
	protected native void contentsDropEvent(TQDropEvent e);
	protected native TQDragObject dragObject();
	protected native void startDrag();
	protected native void focusInEvent(TQFocusEvent e);
	protected native void focusOutEvent(TQFocusEvent e);
	protected native void keyPressEvent(TQKeyEvent e);
	protected native void resizeEvent(TQResizeEvent e);
	protected native void viewportResizeEvent(TQResizeEvent e);
	public native void showEvent(TQShowEvent arg1);
	protected native void drawContentsOffset(TQPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
	protected native void paintEmptyArea(TQPainter arg1, TQRect arg2);
	public native void styleChange(TQStyle arg1);
	protected native void windowActivationChange(boolean arg1);
	public native void updateContents();
	protected native void doAutoScroll();
	/** 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();
	public native ArrayList itemList();

}
