/***************************************************************************
                            qt_QMainWindow.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_QMAINWINDOW
#define QT_QMAINWINDOW

#include <qtc/qtc_types.h>

/**

* $Id: qt_QMainWindow.h,v 1.2 2001/11/21 23:26:17 rdale Exp $
*
* Definition of QToolBar class
*
* Created : 980306
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the widgets 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/qtoolbar.
*/
#define QMAINWINDOW_OnlyToolBars	0
#define QMAINWINDOW_NoToolBars	1
#define QMAINWINDOW_AllDockWindows	2
qt_QMainWindow * qt_new_QMainWindow(qt_QWidget * parent, char* name, int f);
void qt_del_QMainWindow( qt_QMainWindow* p );
qt_QMenuBar * qt_QMainWindow_menuBar(qt_QMainWindow* instPointer);
qt_QStatusBar* qt_QMainWindow_statusBar(qt_QMainWindow* instPointer);
qt_QToolTipGroup * qt_QMainWindow_toolTipGroup(qt_QMainWindow* instPointer);
void qt_QMainWindow_setCentralWidget(qt_QMainWindow* instPointer,qt_QWidget * arg1);
qt_QWidget * qt_QMainWindow_centralWidget(qt_QMainWindow* instPointer);
void qt_QMainWindow_setDockEnabled(qt_QMainWindow* instPointer,int dock, int enable);
int qt_QMainWindow_isDockEnabled(qt_QMainWindow* instPointer,int dock);
int qt_QMainWindow_isDockEnabled1(qt_QMainWindow* instPointer,qt_QDockArea* area);
void qt_QMainWindow_setDockEnabled1(qt_QMainWindow* instPointer,qt_QDockWindow* tb, int dock, int enable);
int qt_QMainWindow_isDockEnabled2(qt_QMainWindow* instPointer,qt_QDockWindow* tb, int dock);
int qt_QMainWindow_isDockEnabled3(qt_QMainWindow* instPointer,qt_QDockWindow* tb, qt_QDockArea* area);
void qt_QMainWindow_addDockWindow(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2, int newLine);
void qt_QMainWindow_addDockWindow1(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, qt_QString * label, int arg2, int newLine);
void qt_QMainWindow_moveDockWindow(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2);
void qt_QMainWindow_moveDockWindow1(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2, int nl, int index, int extraOffset);
void qt_QMainWindow_removeDockWindow(qt_QMainWindow* instPointer,qt_QDockWindow* arg1);
void qt_QMainWindow_show(qt_QMainWindow* instPointer);
qt_QSize * qt_QMainWindow_sizeHint(qt_QMainWindow* instPointer);
qt_QSize * qt_QMainWindow_minimumSizeHint(qt_QMainWindow* instPointer);
int qt_QMainWindow_rightJustification(qt_QMainWindow* instPointer);
int qt_QMainWindow_usesBigPixmaps(qt_QMainWindow* instPointer);
int qt_QMainWindow_usesTextLabel(qt_QMainWindow* instPointer);
int qt_QMainWindow_dockWindowsMovable(qt_QMainWindow* instPointer);
int qt_QMainWindow_opaqueMoving(qt_QMainWindow* instPointer);
int qt_QMainWindow_eventFilter(qt_QMainWindow* instPointer,qt_QObject * arg1, qt_QEvent * arg2);
int qt_QMainWindow_getLocation(qt_QMainWindow* instPointer,qt_QDockWindow* tb, int dock, int index, int nl, int extraOffset);
void qt_QMainWindow_lineUpDockWindows(qt_QMainWindow* instPointer,int keepNewLines);
int qt_QMainWindow_isDockMenuEnabled(qt_QMainWindow* instPointer);
int qt_QMainWindow_hasDockWindow(qt_QMainWindow* instPointer,qt_QDockWindow* dw);
void qt_QMainWindow_addToolBar(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2, int newLine);
void qt_QMainWindow_addToolBar1(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, qt_QString * label, int arg2, int newLine);
void qt_QMainWindow_moveToolBar(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2);
void qt_QMainWindow_moveToolBar1(qt_QMainWindow* instPointer,qt_QDockWindow* arg1, int arg2, int nl, int index, int extraOffset);
void qt_QMainWindow_removeToolBar(qt_QMainWindow* instPointer,qt_QDockWindow* arg1);
int qt_QMainWindow_toolBarsMovable(qt_QMainWindow* instPointer);
void qt_QMainWindow_lineUpToolBars(qt_QMainWindow* instPointer,int keepNewLines);
qt_QDockArea* qt_QMainWindow_dockingArea(qt_QMainWindow* instPointer,qt_QPoint* p);
qt_QDockArea* qt_QMainWindow_leftDock(qt_QMainWindow* instPointer);
qt_QDockArea* qt_QMainWindow_rightDock(qt_QMainWindow* instPointer);
qt_QDockArea* qt_QMainWindow_topDock(qt_QMainWindow* instPointer);
qt_QDockArea* qt_QMainWindow_bottomDock(qt_QMainWindow* instPointer);
int qt_QMainWindow_isCustomizable(qt_QMainWindow* instPointer);
int qt_QMainWindow_appropriate(qt_QMainWindow* instPointer,qt_QDockWindow* dw);
qt_QPopupMenu* qt_QMainWindow_createDockWindowMenu(qt_QMainWindow* instPointer,int dockWindows);
void qt_QMainWindow_setRightJustification(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_setUsesBigPixmaps(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_setUsesTextLabel(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_setDockWindowsMovable(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_setOpaqueMoving(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_setDockMenuEnabled(qt_QMainWindow* instPointer,int arg1);
void qt_QMainWindow_whatsThis(qt_QMainWindow* instPointer);
void qt_QMainWindow_setAppropriate(qt_QMainWindow* instPointer,qt_QDockWindow* dw, int a);
void qt_QMainWindow_customize(qt_QMainWindow* instPointer);
void qt_QMainWindow_setToolBarsMovable(qt_QMainWindow* instPointer,int arg1);
int qt_QMainWindow_event(qt_QMainWindow* instPointer,qt_QEvent * arg1);
void qt_QMainWindow_styleChange(qt_QMainWindow* instPointer,qt_QStyle* arg1);
void qt_QMainWindow_setUpLayout(qt_QMainWindow* instPointer);
int qt_QMainWindow_showDockMenu(qt_QMainWindow* instPointer,qt_QPoint* globalPos);
void qt_QMainWindow_menuAboutToShow(qt_QMainWindow* instPointer);

#endif
