/***************************************************************************
                            KAboutWidget.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;

/**

 KAboutWidget is the main widget for KAboutDialog.

 It has a minimum size set.
 
 See {@link KAboutWidgetSignals} for signals emitted by KAboutWidget.

 See {@link KAboutWidgetEventHandling} for event handlers to override in subclasses of KAboutWidget.

 @short 
 KAboutWidget is the main widget for KAboutDialog.
*/
public class KAboutWidget extends QWidget  {
	protected KAboutWidget(Class dummy){super((Class) null);}

	private native void newKAboutWidget( QWidget parent, String name);

/** 
 The Qt constructor.
   
*/
	public KAboutWidget( QWidget parent, String name) {
		super((Class) null);
		newKAboutWidget( parent, name);
	}
	private native void newKAboutWidget();
	public KAboutWidget() {
		super((Class) null);
		newKAboutWidget();
	}

/** 
 Adjust the minimum size (after setting the properties of the image and
 the labels.
   
*/
	public native void adjust();

/** 
 Sets the image as the application logo.
   
*/
	public native void setLogo( QPixmap arg1);

/**  Sets the author's name and email address. 
*/
	public native void setAuthor( String name, String email, String url, String work);

/**  Sets the maintainers name and email address. 
*/
	public native void setMaintainer( String name, String email, String url, String work);

/**  Shows this person as one of the major contributors. 
*/
	public native void addContributor( String name, String email, String url, String work);

/**  Sets the text describing the version. 
*/
	public native void setVersion( String name);

/**  The resize event. 
*/
	protected native void resizeEvent( QResizeEvent arg1);

/**  Catches the signals from the contributors elements. 
*/
	protected native void sendEmailSlot( String name, String email);

/**  Catches the clicked URLs. 
*/
	protected native void openURLSlot( String url);
}
