// C++ interface header file.
//
// Generated by SIP 3.7 (build 102) on Fri Jul 25 00:26:05 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 _qtQIconViewItem_h
#define	_qtQIconViewItem_h

#line 102 "sip/qiconview.sip"
#include <qiconview.h>
#line 30 "sipqtQIconViewItem.h"

#include "sipqtQt.h"
#include "sipqtQIconView.h"
#include "sipqtQString.h"
#include "sipqtQPixmap.h"
#include "sipqtQPicture.h"
#include "sipqtQPoint.h"
#include "sipqtQRect.h"
#include "sipqtQSize.h"
#include "sipqtQMimeSource.h"
#include "sipqtQPainter.h"
#include "sipqtQColorGroup.h"
#include "sipqtQDropEvent.h"
#include "sipqtQValueList.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QIconViewItem;

extern SIP_IMPORT const void *sipCast_QIconViewItem Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QIconViewItem Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQIconViewItem : public QIconViewItem
{
public:
	sipQIconViewItem(QIconView *);
	sipQIconViewItem(QIconView *,QIconViewItem *);
	sipQIconViewItem(QIconView *,const QString&);
	sipQIconViewItem(QIconView *,QIconViewItem *,const QString&);
	sipQIconViewItem(QIconView *,const QString&,const QPixmap&);
	sipQIconViewItem(QIconView *,QIconViewItem *,const QString&,const QPixmap&);
	sipQIconViewItem(QIconView *,const QString&,const QPicture&);
	sipQIconViewItem(QIconView *,QIconViewItem *,const QString&,const QPicture&);
	sipQIconViewItem(const QIconViewItem&);
	~sipQIconViewItem();
	void dragLeft();
	static void sipVH_dragLeft(const sipMethodCache *,sipThisType *);
	void dragEntered();
	static void sipVH_dragEntered(const sipMethodCache *,sipThisType *);
	void dropped(QDropEvent *,const QValueList<QIconDragItem>&);
	static void sipVH_dropped(const sipMethodCache *,sipThisType *,QDropEvent *,const QValueList<QIconDragItem>&);
	void paintFocus(QPainter *,const QColorGroup&);
	static void sipVH_paintFocus(const sipMethodCache *,sipThisType *,QPainter *,const QColorGroup&);
	void paintItem(QPainter *,const QColorGroup&);
	static void sipVH_paintItem(const sipMethodCache *,sipThisType *,QPainter *,const QColorGroup&);
	void calcRect(const QString&);
	static void sipVH_calcRect(const sipMethodCache *,sipThisType *,const QString&);
	void removeRenameBox();
	static void sipVH_removeRenameBox(const sipMethodCache *,sipThisType *);
	int rtti() const;
	static int sipVH_rtti(const sipMethodCache *,sipThisType *);
	void setKey(const QString&);
	static void sipVH_setKey(const sipMethodCache *,sipThisType *,const QString&);
	void setPixmap(const QPixmap&,bool,bool);
	static void sipVH_setPixmap(const sipMethodCache *,sipThisType *,const QPixmap&,bool,bool);
	void setText(const QString&,bool,bool);
	static void sipVH_setText(const sipMethodCache *,sipThisType *,const QString&,bool,bool);
	void setPicture(const QPicture&);
	static void sipVH_setPicture(const sipMethodCache *,sipThisType *,const QPicture&);
	void setPixmap(const QPixmap&);
	static void sipVH_setPixmap(const sipMethodCache *,sipThisType *,const QPixmap&);
	void setText(const QString&);
	static void sipVH_setText(const sipMethodCache *,sipThisType *,const QString&);
	int compare(QIconViewItem *) const;
	static int sipVH_compare(const sipMethodCache *,sipThisType *,QIconViewItem *);
	bool acceptDrop(const QMimeSource *) const;
	static bool sipVH_acceptDrop(const sipMethodCache *,sipThisType *,const QMimeSource *);
	void moveBy(const QPoint&);
	static void sipVH_moveBy(const sipMethodCache *,sipThisType *,const QPoint&);
	bool move(const QPoint&);
	static bool sipVH_move(const sipMethodCache *,sipThisType *,const QPoint&);
	void moveBy(int,int);
	static void sipVH_moveBy(const sipMethodCache *,sipThisType *,int,int);
	bool move(int,int);
	static bool sipVH_move(const sipMethodCache *,sipThisType *,int,int);
	void repaint();
	static void sipVH_repaint(const sipMethodCache *,sipThisType *);
	void setSelectable(bool);
	static void sipVH_setSelectable(const sipMethodCache *,sipThisType *,bool);
	void setSelected(bool);
	static void sipVH_setSelected(const sipMethodCache *,sipThisType *,bool);
	void setSelected(bool,bool);
	static void sipVH_setSelected(const sipMethodCache *,sipThisType *,bool,bool);
	QString key() const;
	static QString sipVH_key(const sipMethodCache *,sipThisType *);
	QPicture * picture() const;
	static QPicture * sipVH_picture(const sipMethodCache *,sipThisType *);
	QPixmap * pixmap() const;
	static QPixmap * sipVH_pixmap(const sipMethodCache *,sipThisType *);
	QString text() const;
	static QString sipVH_text(const sipMethodCache *,sipThisType *);
	void setDropEnabled(bool);
	static void sipVH_setDropEnabled(const sipMethodCache *,sipThisType *,bool);
	void setDragEnabled(bool);
	static void sipVH_setDragEnabled(const sipMethodCache *,sipThisType *,bool);
	void setRenameEnabled(bool);
	static void sipVH_setRenameEnabled(const sipMethodCache *,sipThisType *,bool);

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

	void sipProtect_removeRenameBox();
	void sipProtect_calcRect(const QString&);
	void sipProtect_paintItem(QPainter *,const QColorGroup&);
	void sipProtect_paintFocus(QPainter *,const QColorGroup&);
	void sipProtect_dropped(QDropEvent *,const QValueList<QIconDragItem>&);
	void sipProtect_dragEntered();
	void sipProtect_dragLeft();
	void sipProtect_setItemRect(const QRect&);
	void sipProtect_setTextRect(const QRect&);
	void sipProtect_setPixmapRect(const QRect&);
	void sipProtect_calcTmpText();
	QString sipProtect_tempText();

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[31];
};

extern SIP_IMPORT QIconViewItem *sipForceConvertTo_QIconViewItem Py_PROTO((PyObject *,int *));

#endif
