/***************************************************************************
                            QToolBar.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 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 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

/**
 See {@link QToolBarSignals} for signals emitted by QToolBar.

 See {@link QToolBarEventHandling} for event handlers to override in subclasses of QToolBar.

*/
public class QToolBar extends QDockWindow  {
	protected QToolBar(Class dummy){super((Class) null);}

	private native void newQToolBar( String label, QMainWindow arg1, int arg2, boolean newLine, String name);
	public QToolBar( String label, QMainWindow arg1, int arg2, boolean newLine, String name) {
		super((Class) null);
		newQToolBar( label, arg1, arg2, newLine, name);
	}
	private native void newQToolBar( String label, QMainWindow arg1);
	public QToolBar( String label, QMainWindow arg1) {
		super((Class) null);
		newQToolBar( label, arg1);
	}
	private native void newQToolBar( String label, QMainWindow arg1, QWidget arg2, boolean newLine, String name, int f);
	public QToolBar( String label, QMainWindow arg1, QWidget arg2, boolean newLine, String name, int f) {
		super((Class) null);
		newQToolBar( label, arg1, arg2, newLine, name, f);
	}
	private native void newQToolBar( String label, QMainWindow arg1, QWidget arg2);
	public QToolBar( String label, QMainWindow arg1, QWidget arg2) {
		super((Class) null);
		newQToolBar( label, arg1, arg2);
	}
	private native void newQToolBar( QMainWindow parent, String name);
	public QToolBar( QMainWindow parent, String name) {
		super((Class) null);
		newQToolBar( parent, name);
	}
	public QToolBar( QMainWindow parent) {
		this( parent, null);
	}
	private native void newQToolBar();
	public QToolBar() {
		super((Class) null);
		newQToolBar();
	}
	protected native void finalize() throws InternalError;
	public native void addSeparator();
	public native void show();
	public native void hide();
	public native QMainWindow mainWindow();
	public native void setStretchableWidget( QWidget arg1);
	public native boolean event( QEvent e);
	public native void setLabel( String arg1);
	public native String label();
	public native void clear();
	public native QSize minimumSize();
	public native QSize minimumSizeHint();
	public native void setOrientation( int o);
	public native void setMinimumSize( int minw, int minh);
	protected native void styleChange( QStyle arg1);
}
