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

#line 184 "sip/qlayout.sip"
#include <qabstractlayout.h>
#line 30 "sipqtQLayoutItem.h"

#include "sipqtQSize.h"
#include "sipqtQRect.h"
#include "sipqtQWidget.h"
#include "sipqtQLayoutIterator.h"
#include "sipqtQLayout.h"
#include "sipqtQSpacerItem.h"


extern SIP_IMPORT sipLazyAttrDef sipClassAttrTab_QLayoutItem;

extern SIP_IMPORT const void *sipCast_QLayoutItem Py_PROTO((const void *,PyObject *));
extern SIP_IMPORT PyObject *sipNew_QLayoutItem Py_PROTO((PyObject *,PyObject *));


class SIP_IMPORT sipQLayoutItem : public QLayoutItem
{
public:
	sipQLayoutItem(int);
	sipQLayoutItem(const QLayoutItem&);
	~sipQLayoutItem();
	void setAlignment(int);
	static void sipVH_setAlignment(const sipMethodCache *,sipThisType *,int);
	QSpacerItem * spacerItem();
	static QSpacerItem * sipVH_spacerItem(const sipMethodCache *,sipThisType *);
	QLayout * layout();
	static QLayout * sipVH_layout(const sipMethodCache *,sipThisType *);
	QLayoutIterator iterator();
	static QLayoutIterator sipVH_iterator(const sipMethodCache *,sipThisType *);
	QWidget * widget();
	static QWidget * sipVH_widget(const sipMethodCache *,sipThisType *);
	void invalidate();
	static void sipVH_invalidate(const sipMethodCache *,sipThisType *);
	int heightForWidth(int) const;
	static int sipVH_heightForWidth(const sipMethodCache *,sipThisType *,int);
	bool hasHeightForWidth() const;
	static bool sipVH_hasHeightForWidth(const sipMethodCache *,sipThisType *);
	bool isEmpty() const;
	static bool sipVH_isEmpty(const sipMethodCache *,sipThisType *);
	QRect geometry() const;
	static QRect sipVH_geometry(const sipMethodCache *,sipThisType *);
	void setGeometry(const QRect&);
	static void sipVH_setGeometry(const sipMethodCache *,sipThisType *,const QRect&);
	QSizePolicy::ExpandData expanding() const;
	static QSizePolicy::ExpandData sipVH_expanding(const sipMethodCache *,sipThisType *);
	QSize maximumSize() const;
	static QSize sipVH_maximumSize(const sipMethodCache *,sipThisType *);
	QSize minimumSize() const;
	static QSize sipVH_minimumSize(const sipMethodCache *,sipThisType *);
	QSize sizeHint() const;
	static QSize sipVH_sizeHint(const sipMethodCache *,sipThisType *);

	sipThisType *sipPyThis;

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

	sipMethodCache sipPyMethods[15];
};

extern SIP_IMPORT QLayoutItem *sipForceConvertTo_QLayoutItem Py_PROTO((PyObject *,int *));

#endif
