summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KURLRequesterDlg.java
blob: 93c33f6c9e014b4cb96df04b4c468de3afcec391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQWidget;

/**

 Dialog in which a user can enter a filename or url. It is a dialog
 encapsulating KURLRequester. The API is derived from
 KFileDialog.
		@author Wilco Greven <greven@kde.org>
 
		@short Simple dialog to enter a filename/url.

*/
public class KURLRequesterDlg extends KDialogBase  {
	protected KURLRequesterDlg(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KURLRequesterDlg.
			@param url The url of the directory to start in. Use null
		               to start in the current working directory, or the last
		               directory where a file has been selected.
			@param parent The parent object of this widget.
			@param name The name of this widget.
			@param modal Specifies whether the dialog should be opened as modal
		               or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, TQWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, TQWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,parent,name);
	}
	private native void newKURLRequesterDlg(String url, TQWidget parent, String name);
	/**	
		 Constructs a KURLRequesterDlg.
			@param url The url of the directory to start in. Use null
		               to start in the current working directory, or the last
		               directory where a file has been selected.
			@param text Text of the label
			@param parent The parent object of this widget.
			@param name The name of this widget.
			@param modal Specifies whether the dialog should be opened as modal
		                  or not.
		     		@short    Constructs a KURLRequesterDlg.
	*/
	public KURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name,modal);
	}
	private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name, boolean modal);
	public KURLRequesterDlg(String url, String text, TQWidget parent, String name) {
		super((Class) null);
		newKURLRequesterDlg(url,text,parent,name);
	}
	private native void newKURLRequesterDlg(String url, String text, TQWidget parent, String name);
	/**	
		 Returns the fully qualified filename.
		     		@short    Returns the fully qualified filename.
	*/
	public native KURL selectedURL();
	/**	
		 Returns a pointer to the file dialog used by the KURLRequester.
		     		@short    Returns a pointer to the file dialog used by the KURLRequester.
	*/
	public native KFileDialog fileDialog();
	/**	
		 Returns a pointer to the KURLRequester.
		     		@short    Returns a pointer to the KURLRequester.
	*/
	public native KURLRequester urlRequester();
	/**	
		 Creates a modal dialog, executes it and returns the selected URL.
			@param url This specifies the initial path of the input line.
			@param parent The widget the dialog will be centered on initially.
			@param caption The caption to use for the dialog.
		     		@short    Creates a modal dialog, executes it and returns the selected URL.
	*/
	public static native KURL getURL(String url, TQWidget parent, String caption);
	public static native KURL getURL(String url, TQWidget parent);
	public static native KURL getURL(String url);
	public static native KURL getURL();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}