// 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 _qtQListBoxItem_h
#define	_qtQListBoxItem_h

#line 441 "sip/qlistbox.sip"
#include <qlistbox.h>
#line 30 "sipqtQListBoxItem.h"

#include "sipqtQListBox.h"
#include "sipqtQString.h"
#include "sipqtQPixmap.h"
#include "sipqtQPainter.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QListBoxItem;

extern SIP_IMPORT const void *sipCast_QListBoxItem Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QListBoxItem Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQListBoxItem : public QListBoxItem
{
public:
	sipQListBoxItem(QListBox *);
	sipQListBoxItem(QListBox *,QListBoxItem *);
	~sipQListBoxItem();
	void setText(const QString&);
	static void sipVH_setText(const sipMethodCache *,sipThisType *,const QString&);
	void paint(QPainter *);
	static void sipVH_paint(const sipMethodCache *,sipThisType *,QPainter *);
	int rtti() const;
	static int sipVH_rtti(const sipMethodCache *,sipThisType *);
	int width(const QListBox *) const;
	static int sipVH_width(const sipMethodCache *,sipThisType *,const QListBox *);
	int height(const QListBox *) const;
	static int sipVH_height(const sipMethodCache *,sipThisType *,const QListBox *);
	const QPixmap * pixmap() const;
	static const QPixmap * sipVH_pixmap(const sipMethodCache *,sipThisType *);
	QString text() const;
	static QString sipVH_text(const sipMethodCache *,sipThisType *);

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

	void sipProtect_setText(const QString&);
	void sipProtect_setCustomHighlighting(bool);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[7];
};

extern SIP_IMPORT QListBoxItem *sipForceConvertTo_QListBoxItem Py_PROTO((PyObject *,int *));

#endif
