//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQEvent;

/**

 The KParts.OpenURLEvent event informs that a given part has opened a given URL.
 Applications can use this event to send this information to interested plugins.
 The event should be sent before opening the URL in the part, so that the plugins
 can use part().url() to get the old URL.
 		@short    The KParts.OpenURLEvent event informs that a given part has opened a given URL.

*/
public class OpenURLEvent extends Event  {
	protected OpenURLEvent(Class dummy){super((Class) null);}
	public OpenURLEvent(ReadOnlyPart part, KURL url, URLArgs args) {
		super((Class) null);
		newOpenURLEvent(part,url,args);
	}
	private native void newOpenURLEvent(ReadOnlyPart part, KURL url, URLArgs args);
	public OpenURLEvent(ReadOnlyPart part, KURL url) {
		super((Class) null);
		newOpenURLEvent(part,url);
	}
	private native void newOpenURLEvent(ReadOnlyPart part, KURL url);
	public native ReadOnlyPart part();
	public native KURL url();
	public native URLArgs args();
	public static native boolean test(TQEvent event);
}
