/***************************************************************************
                            qt_QLayout.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QLAYOUT
#define QT_QLAYOUT

#include <qtc/qtc_types.h>

/**

* $Id: qt_QLayout.h,v 1.3 2001/11/21 23:26:17 rdale Exp $
*
* Definition of QWidget class
*
* Created : 931029
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the kernel module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id:  qt/qwidget.
*/

#define QLAYOUT_QWIDGETSIZE_MAX 32767
#define QLAYOUT_unlimited	QLAYOUT_QWIDGETSIZE_MAX
#define QLAYOUT_FreeResize	0
#define QLAYOUT_Minimum	1
#define QLAYOUT_Fixed	2
void qt_del_QLayout( qt_QLayout* p );
int qt_QLayout_margin(qt_QLayout* instPointer);
int qt_QLayout_spacing(qt_QLayout* instPointer);
void qt_QLayout_setMargin(qt_QLayout* instPointer,int arg1);
void qt_QLayout_setSpacing(qt_QLayout* instPointer,int arg1);
int qt_QLayout_defaultBorder(qt_QLayout* instPointer);
void qt_QLayout_freeze(qt_QLayout* instPointer,int w, int h);
void qt_QLayout_freeze1(qt_QLayout* instPointer);
void qt_QLayout_setResizeMode(qt_QLayout* instPointer,int arg1);
int qt_QLayout_resizeMode(qt_QLayout* instPointer);
void qt_QLayout_setMenuBar(qt_QLayout* instPointer,qt_QMenuBar * w);
qt_QMenuBar * qt_QLayout_menuBar(qt_QLayout* instPointer);
qt_QWidget * qt_QLayout_mainWidget(qt_QLayout* instPointer);
int qt_QLayout_isTopLevel(qt_QLayout* instPointer);
void qt_QLayout_setAutoAdd(qt_QLayout* instPointer,int arg1);
int qt_QLayout_autoAdd(qt_QLayout* instPointer);
void qt_QLayout_invalidate(qt_QLayout* instPointer);
qt_QRect* qt_QLayout_geometry(qt_QLayout* instPointer);
int qt_QLayout_activate(qt_QLayout* instPointer);
void qt_QLayout_add(qt_QLayout* instPointer,qt_QWidget * w);
void qt_QLayout_addItem(qt_QLayout* instPointer,qt_QLayoutItem* arg1);
int qt_QLayout_expanding(qt_QLayout* instPointer);
qt_QSize * qt_QLayout_minimumSize(qt_QLayout* instPointer);
qt_QSize * qt_QLayout_maximumSize(qt_QLayout* instPointer);
void qt_QLayout_setGeometry(qt_QLayout* instPointer,qt_QRect* arg1);
qt_QLayoutIterator* qt_QLayout_iterator(qt_QLayout* instPointer);
int qt_QLayout_isEmpty(qt_QLayout* instPointer);
int qt_QLayout_totalHeightForWidth(qt_QLayout* instPointer,int w);
qt_QSize * qt_QLayout_totalMinimumSize(qt_QLayout* instPointer);
qt_QSize * qt_QLayout_totalMaximumSize(qt_QLayout* instPointer);
qt_QSize * qt_QLayout_totalSizeHint(qt_QLayout* instPointer);
qt_QLayout * qt_QLayout_layout(qt_QLayout* instPointer);
int qt_QLayout_supportsMargin(qt_QLayout* instPointer);
void qt_QLayout_setEnabled(qt_QLayout* instPointer,int arg1);
int qt_QLayout_isEnabled(qt_QLayout* instPointer);

/** Casts a 'qt_QLayout *' to a 'qt_QLayoutItem*' */
qt_QLayoutItem* qt_QLayout_QLayoutItem(qt_QLayout* instPointer);

/** Casts a 'qt_QLayout *' to a 'qt_QObject *' */
qt_QObject * qt_QLayout_QObject(qt_QLayout* instPointer);

#endif
