/***************************************************************************
                            QBoxLayout.h -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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 QBOXLAYOUT_H
#define QBOXLAYOUT_H

#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <qtobjc/QLayout.h>

@interface QBoxLayout : QLayout 
- initWithWidget: (QWidget *)parent int: (int)arg1 border: (int)border spacing: (int)spacing name: (NSString *)name;
- initWithWidget: (QWidget *)parent int: (int)arg1 ;
- initWithLayout: (QLayout *)parentLayout int: (int)arg1 spacing: (int)spacing name: (NSString *)name;
- initWithLayout: (QLayout *)parentLayout int: (int)arg1 ;
- initWithInt: (int)arg1 spacing: (int)spacing name: (NSString *)name;
- initWithInt: (int)arg1 ;
- (void) dealloc;
- addLayoutItem: (QLayoutItem*)arg1;
- (int) direction;
- setDirection: (int)arg1;
- addSpacing: (int)size;
- addStretch: (int)stretch;
- addStretch;
- addWidget: (QWidget *)arg1 stretch: (int)stretch alignment: (int)alignment;
- addWidget: (QWidget *)arg1 ;
- addLayout: (QLayout *)layout stretch: (int)stretch;
- addLayout: (QLayout *)layout ;
- addStrut: (int)arg1;
- insertSpacing: (int)index size: (int)size;
- insertStretch: (int)index stretch: (int)stretch;
- insertStretch: (int)index ;
- insertWidget: (int)index widget: (QWidget *)widget stretch: (int)stretch alignment: (int)alignment;
- insertWidget: (int)index widget: (QWidget *)widget ;
- insertLayout: (int)index layout: (QLayout *)layout stretch: (int)stretch;
- insertLayout: (int)index layout: (QLayout *)layout ;
- (BOOL) setStretchFactorForWidget: (QWidget *)arg1 stretch: (int)stretch;
- (BOOL) setStretchFactorForLayout: (QLayout *)l stretch: (int)stretch;
- (QSize*) sizeHint;
- (QSize*) minimumSize;
- (QSize*) maximumSize;
- (BOOL) hasHeightForWidth;
- (int) heightForWidth: (int)arg1;
- (int) expanding;
- invalidate;
//- (QLayoutIterator*) iterator;
- setGeometry: (QRect*)arg1;
- (int) findWidget: (QWidget *)w;
- insertIntItem: (int)index layoutitem: (QLayoutItem*)arg1;
+ (int) LeftToRight;
+ (int) RightToLeft;
+ (int) TopToBottom;
+ (int) BottomToTop;
+ (int) Down;
+ (int) Up;
@end

/** Override these methods in subclasses of QBoxLayout to customise event handling behaviour */
@protocol QBoxLayoutEventHandling
- childEvent:(QChildEvent*) e;
- customEvent:(QCustomEvent*) arg1;
- timerEvent:(QTimerEvent*) arg1;
@end


#endif
