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

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

/**
 See {@link QListViewSignals} for signals emitted by QListView
*/
public class QListView extends QScrollView  {
	protected QListView(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 QMetaObject metaObject();
	public native String className();
	public QListView(QWidget parent, String name, int f) {
		super((Class) null);
		newQListView(parent,name,f);
	}
	private native void newQListView(QWidget parent, String name, int f);
	public QListView(QWidget parent, String name) {
		super((Class) null);
		newQListView(parent,name);
	}
	private native void newQListView(QWidget parent, String name);
	public QListView(QWidget parent) {
		super((Class) null);
		newQListView(parent);
	}
	private native void newQListView(QWidget parent);
	public QListView() {
		super((Class) null);
		newQListView();
	}
	private native void newQListView();
	public native int treeStepSize();
	public native void setTreeStepSize(int arg1);
	public native void insertItem(QListViewItem arg1);
	public native void takeItem(QListViewItem arg1);
	public native void removeItem(QListViewItem item);
	public native QHeader header();
	public native int addColumn(String label, int size);
	public native int addColumn(String label);
	public native int addColumn(QIconSet iconset, String label, int size);
	public native int addColumn(QIconSet iconset, String label);
	public native void removeColumn(int index);
	public native void setColumnText(int column, String label);
	public native void setColumnText(int column, QIconSet 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 QListViewItem itemAt(QPoint screenPos);
	public native QRect itemRect(QListViewItem arg1);
	public native int itemPos(QListViewItem arg1);
	public native void ensureItemVisible(QListViewItem arg1);
	public native void repaintItem(QListViewItem 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(QListViewItem arg1, boolean arg2);
	public native void setSelectionAnchor(QListViewItem arg1);
	public native boolean isSelected(QListViewItem arg1);
	public native QListViewItem selectedItem();
	public native void setOpen(QListViewItem arg1, boolean arg2);
	public native boolean isOpen(QListViewItem arg1);
	public native void setCurrentItem(QListViewItem arg1);
	public native QListViewItem currentItem();
	public native QListViewItem firstChild();
	public native QListViewItem 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(QFont arg1);
	public native void setPalette(QPalette arg1);
	public native boolean eventFilter(QObject o, QEvent arg2);
	public native QSize sizeHint();
	public native QSize 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 QListViewItem findItem(String text, int column, int compare);
	public native QListViewItem 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(QMouseEvent e);
	protected native void contentsMouseReleaseEvent(QMouseEvent e);
	protected native void contentsMouseMoveEvent(QMouseEvent e);
	protected native void contentsMouseDoubleClickEvent(QMouseEvent e);
	protected native void contentsContextMenuEvent(QContextMenuEvent e);
	protected native void contentsDragEnterEvent(QDragEnterEvent e);
	protected native void contentsDragMoveEvent(QDragMoveEvent e);
	protected native void contentsDragLeaveEvent(QDragLeaveEvent e);
	protected native void contentsDropEvent(QDropEvent e);
	protected native QDragObject dragObject();
	protected native void startDrag();
	protected native void focusInEvent(QFocusEvent e);
	protected native void focusOutEvent(QFocusEvent e);
	protected native void keyPressEvent(QKeyEvent e);
	protected native void resizeEvent(QResizeEvent e);
	protected native void viewportResizeEvent(QResizeEvent e);
	public native void showEvent(QShowEvent arg1);
	protected native void drawContentsOffset(QPainter arg1, int ox, int oy, int cx, int cy, int cw, int ch);
	protected native void paintEmptyArea(QPainter arg1, QRect arg2);
	public native void styleChange(QStyle 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();

}
