// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:04 2003
//
// Copyright (c) 2003
// 	Riverbank Computing Limited <info@riverbankcomputing.co.uk>
// 
// This file is part of PyQt.
// 
// This copy of PyQt is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation; either version 2, or (at your option) any later
// version.
// 
// PyQt is supplied in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
// details.
// 
// You should have received a copy of the GNU General Public License along with
// PyQt; see the file LICENSE.  If not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#ifndef _qtQListView_h
#define	_qtQListView_h

#line 292 "sip/qlistview.sip"
#include <qlistview.h>
#line 30 "sipqtQListView.h"

#include "sipqtQScrollView.h"
#include "sipqtQWidget.h"
#include "sipqtQListViewItem.h"
#include "sipqtQHeader.h"
#include "sipqtQString.h"
#include "sipqtQIconSet.h"
#include "sipqtQPoint.h"
#include "sipqtQRect.h"
#include "sipqtQFont.h"
#include "sipqtQPalette.h"
#include "sipqtQObject.h"
#include "sipqtQEvent.h"
#include "sipqtQSize.h"
#include "sipqtQDropEvent.h"
#include "sipqtQMouseEvent.h"
#include "sipqtQContextMenuEvent.h"
#include "sipqtQDragEnterEvent.h"
#include "sipqtQDragMoveEvent.h"
#include "sipqtQDragLeaveEvent.h"
#include "sipqtQDragObject.h"
#include "sipqtQFocusEvent.h"
#include "sipqtQKeyEvent.h"
#include "sipqtQResizeEvent.h"
#include "sipqtQShowEvent.h"
#include "sipqtQPainter.h"
#include "sipqtQStyle.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QListView;

extern SIP_IMPORT const void *sipCast_QListView Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QListView Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQListView : public QListView
{
public:
	sipQListView(QWidget *,const char *,unsigned);
	~sipQListView();
	int resolution() const;
	void setResolution(int);
	void customEvent(QCustomEvent *);
	void childEvent(QChildEvent *);
	void timerEvent(QTimerEvent *);
	QVariant property(const char *) const;
	bool setProperty(const char *,const QVariant&);
	void removeChild(QObject *);
	void insertChild(QObject *);
	void setName(const char *);
	bool eventFilter(QObject *,QEvent *);
	bool event(QEvent *);
	void setMicroFocusHint(int,int,int,int,bool,QFont *);
	void setKeyCompression(bool);
	void setWFlags(unsigned);
	void setWState(unsigned);
	void destroy(bool,bool);
	void create(unsigned long,bool,bool);
	void styleChange(QStyle&);
	void updateMask();
	void hideEvent(QHideEvent *);
	void showEvent(QShowEvent *);
	void dropEvent(QDropEvent *);
	void dragLeaveEvent(QDragLeaveEvent *);
	void dragMoveEvent(QDragMoveEvent *);
	void dragEnterEvent(QDragEnterEvent *);
	void wheelEvent(QWheelEvent *);
	bool focusNextPrevChild(bool);
	void windowActivationChange(bool);
	void fontChange(const QFont&);
	void paletteChange(const QPalette&);
	void enabledChange(bool);
	void tabletEvent(QTabletEvent *);
	void imEndEvent(QIMEvent *);
	void imComposeEvent(QIMEvent *);
	void imStartEvent(QIMEvent *);
	void contextMenuEvent(QContextMenuEvent *);
	void closeEvent(QCloseEvent *);
	void resizeEvent(QResizeEvent *);
	void moveEvent(QMoveEvent *);
	void paintEvent(QPaintEvent *);
	void leaveEvent(QEvent *);
	void enterEvent(QEvent *);
	void focusOutEvent(QFocusEvent *);
	void focusInEvent(QFocusEvent *);
	void keyReleaseEvent(QKeyEvent *);
	void keyPressEvent(QKeyEvent *);
	void mouseMoveEvent(QMouseEvent *);
	void mouseDoubleClickEvent(QMouseEvent *);
	void mouseReleaseEvent(QMouseEvent *);
	void mousePressEvent(QMouseEvent *);
	void setGeometry(const QRect&);
	void polish();
	void showNormal();
	void showMaximized();
	void showMinimized();
	void setUpdatesEnabled(bool);
	void setFocus();
	void setMouseTracking(bool);
	void setIconText(const QString&);
	void setIcon(const QPixmap&);
	void setCaption(const QString&);
	void setGeometry(int,int,int,int);
	void resize(int,int);
	void move(int,int);
	void hide();
	void show();
	void setEnabled(bool);
	void adjustSize();
	void setBackgroundOrigin(QWidget::BackgroundOrigin);
	bool customWhatsThis() const;
	void setAutoMask(bool);
	void setAcceptDrops(bool);
	void reparent(QWidget *,unsigned,const QPoint&,bool);
	int heightForWidth(int) const;
	void setSizePolicy(QSizePolicy);
	QSizePolicy sizePolicy() const;
	QSize minimumSizeHint() const;
	bool close(bool);
	void setFocusProxy(QWidget *);
	void setFocusPolicy(QWidget::FocusPolicy);
	void setActiveWindow();
	void setMask(const QRegion&);
	void setMask(const QBitmap&);
	void unsetCursor();
	void setBackgroundMode(Qt::BackgroundMode);
	void setSizeIncrement(int,int);
	void setMaximumSize(int,int);
	void setMinimumSize(int,int);
	QSize sizeHint() const;
	void setCursor(const QCursor&);
	void setPaletteBackgroundPixmap(const QPixmap&);
	void setPaletteBackgroundColor(const QColor&);
	void setErasePixmap(const QPixmap&);
	void setEraseColor(const QColor&);
	void frameChanged();
	void drawContents(QPainter *);
	void drawFrame(QPainter *);
	void setFrameRect(const QRect&);
	void setMidLineWidth(int);
	void setMargin(int);
	void setLineWidth(int);
	void setFrameStyle(int);
	void setVBarGeometry(QScrollBar&,int,int,int,int);
	void setHBarGeometry(QScrollBar&,int,int,int,int);
	void setMargins(int,int,int,int);
	void viewportContextMenuEvent(QContextMenuEvent *);
	void viewportWheelEvent(QWheelEvent *);
	void viewportDropEvent(QDropEvent *);
	void viewportDragLeaveEvent(QDragLeaveEvent *);
	void viewportDragMoveEvent(QDragMoveEvent *);
	void viewportDragEnterEvent(QDragEnterEvent *);
	void viewportMouseMoveEvent(QMouseEvent *);
	void viewportMouseDoubleClickEvent(QMouseEvent *);
	void viewportMouseReleaseEvent(QMouseEvent *);
	void viewportMousePressEvent(QMouseEvent *);
	void viewportResizeEvent(QResizeEvent *);
	void viewportPaintEvent(QPaintEvent *);
	void contentsContextMenuEvent(QContextMenuEvent *);
	void contentsWheelEvent(QWheelEvent *);
	void contentsDropEvent(QDropEvent *);
	void contentsDragLeaveEvent(QDragLeaveEvent *);
	void contentsDragMoveEvent(QDragMoveEvent *);
	void contentsDragEnterEvent(QDragEnterEvent *);
	void contentsMouseMoveEvent(QMouseEvent *);
	void contentsMouseDoubleClickEvent(QMouseEvent *);
	void contentsMouseReleaseEvent(QMouseEvent *);
	void contentsMousePressEvent(QMouseEvent *);
	void drawContentsOffset(QPainter *,int,int,int,int,int,int);
	void drawContents(QPainter *,int,int,int,int);
	void setContentsPos(int,int);
	void resizeContents(int,int);
	void setDragAutoScroll(bool);
	void setCornerWidget(QWidget *);
	void setHScrollBarMode(QScrollView::ScrollBarMode);
	void setVScrollBarMode(QScrollView::ScrollBarMode);
	void moveChild(QWidget *,int,int);
	void addChild(QWidget *,int,int);
	void setResizePolicy(QScrollView::ResizePolicy);
	void paintEmptyArea(QPainter *,const QRect&);
	static void sipVH_paintEmptyArea(const sipMethodCache *,sipThisType *,QPainter *,const QRect&);
	void startDrag();
	static void sipVH_startDrag(const sipMethodCache *,sipThisType *);
	QDragObject * dragObject();
	static QDragObject * sipVH_dragObject(const sipMethodCache *,sipThisType *);
	void clear();
	static void sipVH_clear(const sipMethodCache *,sipThisType *);
	void setDefaultRenameAction(QListView::RenameAction);
	static void sipVH_setDefaultRenameAction(const sipMethodCache *,sipThisType *,QListView::RenameAction);
	void setResizeMode(QListView::ResizeMode);
	static void sipVH_setResizeMode(const sipMethodCache *,sipThisType *,QListView::ResizeMode);
	void setShowToolTips(bool);
	static void sipVH_setShowToolTips(const sipMethodCache *,sipThisType *,bool);
	void setPalette(const QPalette&);
	void setFont(const QFont&);
	void sort();
	static void sipVH_sort(const sipMethodCache *,sipThisType *);
	void setSorting(int,bool);
	static void sipVH_setSorting(const sipMethodCache *,sipThisType *,int,bool);
	void setRootIsDecorated(bool);
	static void sipVH_setRootIsDecorated(const sipMethodCache *,sipThisType *,bool);
	void setItemMargin(int);
	static void sipVH_setItemMargin(const sipMethodCache *,sipThisType *,int);
	void setAllColumnsShowFocus(bool);
	static void sipVH_setAllColumnsShowFocus(const sipMethodCache *,sipThisType *,bool);
	void setCurrentItem(QListViewItem *);
	static void sipVH_setCurrentItem(const sipMethodCache *,sipThisType *,QListViewItem *);
	void setOpen(QListViewItem *,bool);
	static void sipVH_setOpen(const sipMethodCache *,sipThisType *,QListViewItem *,bool);
	void setSelected(QListViewItem *,bool);
	static void sipVH_setSelected(const sipMethodCache *,sipThisType *,QListViewItem *,bool);
	void clearSelection();
	static void sipVH_clearSelection(const sipMethodCache *,sipThisType *);
	void setMultiSelection(bool);
	static void sipVH_setMultiSelection(const sipMethodCache *,sipThisType *,bool);
	void setColumnAlignment(int,int);
	static void sipVH_setColumnAlignment(const sipMethodCache *,sipThisType *,int,int);
	void setColumnWidthMode(int,QListView::WidthMode);
	static void sipVH_setColumnWidthMode(const sipMethodCache *,sipThisType *,int,QListView::WidthMode);
	void setColumnWidth(int,int);
	static void sipVH_setColumnWidth(const sipMethodCache *,sipThisType *,int,int);
	void setColumnText(int,const QIconSet&,const QString&);
	static void sipVH_setColumnText(const sipMethodCache *,sipThisType *,int,const QIconSet&,const QString&);
	void setColumnText(int,const QString&);
	static void sipVH_setColumnText(const sipMethodCache *,sipThisType *,int,const QString&);
	int addColumn(const QIconSet&,const QString&,int);
	static int sipVH_addColumn(const sipMethodCache *,sipThisType *,const QIconSet&,const QString&,int);
	int addColumn(const QString&,int);
	static int sipVH_addColumn(const sipMethodCache *,sipThisType *,const QString&,int);
	void takeItem(QListViewItem *);
	static void sipVH_takeItem(const sipMethodCache *,sipThisType *,QListViewItem *);
	void insertItem(QListViewItem *);
	static void sipVH_insertItem(const sipMethodCache *,sipThisType *,QListViewItem *);
	void setTreeStepSize(int);
	static void sipVH_setTreeStepSize(const sipMethodCache *,sipThisType *,int);

	// There is a public member function for every protected member
	// function visible from this class.

	const QObject * sipProtect_sender();
	void sipProtect_timerEvent(QTimerEvent *);
	void sipProtect_childEvent(QChildEvent *);
	void sipProtect_customEvent(QCustomEvent *);
	bool sipProtect_event(QEvent *);
	void sipProtect_keyReleaseEvent(QKeyEvent *);
	void sipProtect_enterEvent(QEvent *);
	void sipProtect_leaveEvent(QEvent *);
	void sipProtect_moveEvent(QMoveEvent *);
	void sipProtect_closeEvent(QCloseEvent *);
	void sipProtect_imStartEvent(QIMEvent *);
	void sipProtect_imComposeEvent(QIMEvent *);
	void sipProtect_imEndEvent(QIMEvent *);
	void sipProtect_tabletEvent(QTabletEvent *);
	void sipProtect_enabledChange(bool);
	void sipProtect_paletteChange(const QPalette&);
	void sipProtect_resetInputContext();
	unsigned sipProtect_getWFlags();
	void sipProtect_clearWFlags(unsigned);
	void sipProtect_dragEnterEvent(QDragEnterEvent *);
	void sipProtect_dragMoveEvent(QDragMoveEvent *);
	void sipProtect_dragLeaveEvent(QDragLeaveEvent *);
	void sipProtect_dropEvent(QDropEvent *);
	void sipProtect_hideEvent(QHideEvent *);
	void sipProtect_updateMask();
	int sipProtect_metric(int);
	void sipProtect_create(unsigned long,bool,bool);
	void sipProtect_destroy(bool,bool);
	unsigned sipProtect_getWState();
	void sipProtect_setWState(unsigned);
	void sipProtect_clearWState(unsigned);
	void sipProtect_setWFlags(unsigned);
	void sipProtect_setKeyCompression(bool);
	void sipProtect_setMicroFocusHint(int,int,int,int,bool,QFont *);
	void sipProtect_paintEvent(QPaintEvent *);
	void sipProtect_drawFrame(QPainter *);
	void sipProtect_drawContents(QPainter *,int,int,int,int);
	void sipProtect_contentsWheelEvent(QWheelEvent *);
	void sipProtect_viewportPaintEvent(QPaintEvent *);
	void sipProtect_viewportMousePressEvent(QMouseEvent *);
	void sipProtect_viewportMouseReleaseEvent(QMouseEvent *);
	void sipProtect_viewportMouseDoubleClickEvent(QMouseEvent *);
	void sipProtect_viewportMouseMoveEvent(QMouseEvent *);
	void sipProtect_viewportDragEnterEvent(QDragEnterEvent *);
	void sipProtect_viewportDragMoveEvent(QDragMoveEvent *);
	void sipProtect_viewportDragLeaveEvent(QDragLeaveEvent *);
	void sipProtect_viewportDropEvent(QDropEvent *);
	void sipProtect_viewportWheelEvent(QWheelEvent *);
	void sipProtect_viewportContextMenuEvent(QContextMenuEvent *);
	void sipProtect_frameChanged();
	void sipProtect_setMargins(int,int,int,int);
	int sipProtect_leftMargin();
	int sipProtect_topMargin();
	int sipProtect_rightMargin();
	int sipProtect_bottomMargin();
	bool sipProtect_focusNextPrevChild(bool);
	void sipProtect_setHBarGeometry(QScrollBar&,int,int,int,int);
	void sipProtect_setVBarGeometry(QScrollBar&,int,int,int,int);
	void sipProtect_mousePressEvent(QMouseEvent *);
	void sipProtect_mouseReleaseEvent(QMouseEvent *);
	void sipProtect_mouseDoubleClickEvent(QMouseEvent *);
	void sipProtect_mouseMoveEvent(QMouseEvent *);
	void sipProtect_wheelEvent(QWheelEvent *);
	void sipProtect_contextMenuEvent(QContextMenuEvent *);
	void sipProtect_setCachedSizeHint(const QSize&);
	QSize sipProtect_cachedSizeHint();
	void sipProtect_fontChange(const QFont&);
	void sipProtect_contentsMousePressEvent(QMouseEvent *);
	void sipProtect_contentsMouseReleaseEvent(QMouseEvent *);
	void sipProtect_contentsMouseMoveEvent(QMouseEvent *);
	void sipProtect_contentsMouseDoubleClickEvent(QMouseEvent *);
	void sipProtect_contentsContextMenuEvent(QContextMenuEvent *);
	void sipProtect_contentsDragEnterEvent(QDragEnterEvent *);
	void sipProtect_contentsDragMoveEvent(QDragMoveEvent *);
	void sipProtect_contentsDragLeaveEvent(QDragLeaveEvent *);
	void sipProtect_contentsDropEvent(QDropEvent *);
	QDragObject * sipProtect_dragObject();
	void sipProtect_startDrag();
	void sipProtect_focusInEvent(QFocusEvent *);
	void sipProtect_focusOutEvent(QFocusEvent *);
	void sipProtect_keyPressEvent(QKeyEvent *);
	void sipProtect_resizeEvent(QResizeEvent *);
	void sipProtect_viewportResizeEvent(QResizeEvent *);
	void sipProtect_showEvent(QShowEvent *);
	void sipProtect_drawContentsOffset(QPainter *,int,int,int,int,int,int);
	void sipProtect_paintEmptyArea(QPainter *,const QRect&);
	void sipProtect_styleChange(QStyle&);
	void sipProtect_windowActivationChange(bool);
	void sipProtect_updateContents();
	void sipProtect_doAutoScroll();

	// There is a public member function for every Qt signal that can be
	// emitted by this object.  This function is called by Python to emit
	// the signal.

	int sipEmit_destroyed(PyObject *sipArgs);
	int sipEmit_contentsMoving(PyObject *sipArgs);
	int sipEmit_horizontalSliderPressed(PyObject *sipArgs);
	int sipEmit_horizontalSliderReleased(PyObject *sipArgs);
	int sipEmit_verticalSliderPressed(PyObject *sipArgs);
	int sipEmit_verticalSliderReleased(PyObject *sipArgs);
	int sipEmit_selectionChanged(PyObject *sipArgs);
	int sipEmit_currentChanged(PyObject *sipArgs);
	int sipEmit_clicked(PyObject *sipArgs);
	int sipEmit_pressed(PyObject *sipArgs);
	int sipEmit_doubleClicked(PyObject *sipArgs);
	int sipEmit_returnPressed(PyObject *sipArgs);
	int sipEmit_spacePressed(PyObject *sipArgs);
	int sipEmit_rightButtonClicked(PyObject *sipArgs);
	int sipEmit_rightButtonPressed(PyObject *sipArgs);
	int sipEmit_mouseButtonPressed(PyObject *sipArgs);
	int sipEmit_mouseButtonClicked(PyObject *sipArgs);
	int sipEmit_contextMenuRequested(PyObject *sipArgs);
	int sipEmit_onItem(PyObject *sipArgs);
	int sipEmit_onViewport(PyObject *sipArgs);
	int sipEmit_expanded(PyObject *sipArgs);
	int sipEmit_collapsed(PyObject *sipArgs);
	int sipEmit_dropped(PyObject *sipArgs);
	int sipEmit_itemRenamed(PyObject *sipArgs);

	sipThisType *sipPyThis;

private:
	sipQListView(const sipQListView &);
	sipQListView &operator = (const sipQListView &);

	sipMethodCache sipPyMethods[168];
};

extern SIP_IMPORT QListView *sipForceConvertTo_QListView Py_PROTO((PyObject *,int *));

#endif
