00001 /* 00002 =. This file is part of the OPIE Project 00003 .=l. Copyright (C) 2005 Michael 'Mickey' Lauer <mickey@Vanille.de> 00004 .>+-= 00005 _;:, .> :=|. This library is free software; you can 00006 .> <`_, > . <= redistribute it and/or modify it under 00007 :`=1 )Y*s>-.-- : the terms of the GNU Library General Public 00008 .="- .-=="i, .._ License as published by the Free Software 00009 - . .-<_> .<> Foundation; version 2 of the License. 00010 ._= =} : 00011 .%`+i> _;_. 00012 .i_,=:_. -<s. This library is distributed in the hope that 00013 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00014 : .. .:, . . . without even the implied warranty of 00015 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00016 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00017 ..}^=.= = ; Library General Public License for more 00018 ++= -. .` .: details. 00019 : = ...= . :.=- 00020 -. .:....=;==+<; You should have received a copy of the GNU 00021 -_. . . )=. = Library General Public License along with 00022 -- :-=` this library; see the file COPYING.LIB. 00023 If not, write to the Free Software Foundation, 00024 Inc., 59 Temple Place - Suite 330, 00025 Boston, MA 02111-1307, USA. 00026 00027 */ 00028 00029 #ifndef OLAYOUT_H 00030 #define OLAYOUT_H 00031 00032 /* QT */ 00033 00034 #include <qlayout.h> 00035 00036 namespace Opie { 00037 namespace Ui { 00038 00039 class OAutoBoxLayout : public QBoxLayout 00040 { 00041 Q_OBJECT 00042 public: 00043 OAutoBoxLayout( QWidget *parent, int border=0, int space = -1, const char *name=0 ); 00044 OAutoBoxLayout( QLayout *parentLayout, int space = -1, const char *name=0 ); 00045 OAutoBoxLayout( int space = -1, const char *name=0 ); 00046 ~OAutoBoxLayout(); 00047 00048 private: 00049 void fixDirection(); 00050 }; 00051 00052 }; // namespace Ui 00053 }; // namespace Opie 00054 00055 #endif 00056 00057
1.4.2