You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
4.8 KiB
107 lines
4.8 KiB
//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;
|
|
|
|
/**
|
|
|
|
A dialog that allows editing entries of a KURLBar ( KURLBarItem).
|
|
The dialog offers to configure a given url, description and icon.
|
|
See the class-method getInformation() for easy usage.
|
|
@author Carsten Pfeiffer <pfeiffer@kde.org>
|
|
|
|
@short A dialog that allows editing entries of a KURLBar ( KURLBarItem).
|
|
|
|
*/
|
|
public class KURLBarItemDialog extends KDialogBase {
|
|
protected KURLBarItemDialog(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Constructs a KURLBarItemDialog.
|
|
<code>allowGlobal</code> if you set this to true, the dialog will have a checkbox
|
|
for the user to decide if he wants the entry to be
|
|
available globally or just for the current application.
|
|
<code>url</code> the url of the item
|
|
<code>description</code> a short, translated description of the item
|
|
<code>icon</code> an icon for the item
|
|
<code>appLocal</code> tells whether the item should be local for this application
|
|
or be available globally
|
|
<code>iconSize</code> determines the size of the icon that is shown/selectable
|
|
<code>parent</code> the parent-widget for the dialog
|
|
If you leave the icon empty, the default icon for the given url will be
|
|
used (KMimeType.pixmapForURL()).
|
|
@short Constructs a KURLBarItemDialog.
|
|
*/
|
|
public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name) {
|
|
super((Class) null);
|
|
newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent,name);
|
|
}
|
|
private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent, String name);
|
|
public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent) {
|
|
super((Class) null);
|
|
newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize,parent);
|
|
}
|
|
private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize, TQWidget parent);
|
|
public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize) {
|
|
super((Class) null);
|
|
newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal,iconSize);
|
|
}
|
|
private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal, int iconSize);
|
|
public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal) {
|
|
super((Class) null);
|
|
newKURLBarItemDialog(allowGlobal,url,description,icon,appLocal);
|
|
}
|
|
private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon, boolean appLocal);
|
|
public KURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon) {
|
|
super((Class) null);
|
|
newKURLBarItemDialog(allowGlobal,url,description,icon);
|
|
}
|
|
private native void newKURLBarItemDialog(boolean allowGlobal, KURL url, String description, String icon);
|
|
/**
|
|
@return the configured url
|
|
|
|
@short
|
|
*/
|
|
public native KURL url();
|
|
/**
|
|
@return the configured description
|
|
|
|
@short
|
|
*/
|
|
public native String description();
|
|
/**
|
|
@return the configured icon
|
|
|
|
@short
|
|
*/
|
|
public native String iconName();
|
|
/**
|
|
@return whether the item should be local to the application or global.
|
|
If allowGlobal was set to false in the constructor, this will always
|
|
return true.
|
|
|
|
@short
|
|
*/
|
|
public native boolean applicationLocal();
|
|
public native void urlChanged(String arg1);
|
|
/**
|
|
A convenience method to show the dialog and retrieve all the
|
|
properties via the given parameters. The parameters are used to
|
|
initialize the dialog and then return the user-configured values.
|
|
See the KURLBarItem constructor for the parameter description.
|
|
@short A convenience method to show the dialog and retrieve all the properties via the given parameters.
|
|
*/
|
|
public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize, TQWidget parent);
|
|
public static native boolean getInformation(boolean allowGlobal, KURL url, StringBuffer description, StringBuffer icon, boolean appLocal, int iconSize);
|
|
/** 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();
|
|
}
|