/***************************************************************************
                            KAboutContainer.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

  KAboutContainer can be used to make a application specific AboutDialog.
 
 See {@link KAboutContainerSignals} for signals emitted by KAboutContainer.

 See {@link KAboutContainerEventHandling} for event handlers to override in subclasses of KAboutContainer.

 @short 
  KAboutContainer can be used to make a application specific AboutDialog.
*/
public class KAboutContainer extends QFrame  {
	protected KAboutContainer(Class dummy){super((Class) null);}

	private native void newKAboutContainer( QWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment);
	public KAboutContainer( QWidget parent, String name, int margin, int spacing, int childAlignment, int innerAlignment) {
		super((Class) null);
		newKAboutContainer( parent, name, margin, spacing, childAlignment, innerAlignment);
	}
	private native void newKAboutContainer();
	public KAboutContainer() {
		super((Class) null);
		newKAboutContainer();
	}
	public native void addWidget( QWidget widget);
	public native void addPerson( String name, String email, String url, String task, boolean showHeader, boolean showframe, boolean showBold);
	public native void addPerson( String name, String email, String url, String task);
	public native void addTitle( String title, int alignment, boolean showframe, boolean showBold);
	public native void addTitle( String title);
	public native void addImage( String fileName, int alignment);
	public native void addImage( String fileName);
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	protected native void childEvent( QChildEvent e);
}
