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.
163 lines
5.7 KiB
163 lines
5.7 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 java.util.ArrayList;
|
|
import org.kde.qt.TQWidget;
|
|
import org.kde.qt.TQDialog;
|
|
|
|
/**
|
|
|
|
"Open with" dialog box.
|
|
Used automatically by KRun, and used by libkonq.
|
|
@author David Faure <faure@kde.org>
|
|
|
|
@short "Open with" dialog box.
|
|
|
|
*/
|
|
public class KOpenWithDlg extends TQDialog {
|
|
protected KOpenWithDlg(Class dummy){super((Class) null);}
|
|
public native TQMetaObject metaObject();
|
|
public native String className();
|
|
/**
|
|
Create a dialog that asks for a application to open a given
|
|
URL(s) with.
|
|
@param urls the URLs that should be opened. The list can be empty,
|
|
if the dialog is used to choose an application but not for some particular URLs.
|
|
@param parent parent widget
|
|
@short Create a dialog that asks for a application to open a given URL(s) with.
|
|
*/
|
|
public KOpenWithDlg(ArrayList urls, TQWidget parent) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(urls,parent);
|
|
}
|
|
private native void newKOpenWithDlg(ArrayList urls, TQWidget parent);
|
|
public KOpenWithDlg(ArrayList urls) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(urls);
|
|
}
|
|
private native void newKOpenWithDlg(ArrayList urls);
|
|
/**
|
|
Create a dialog that asks for a application to open a given
|
|
URL(s) with.
|
|
@param urls is the URL that should be opened
|
|
@param text appears as a label on top of the entry box.
|
|
@param value is the initial value of the line
|
|
@param parent parent widget
|
|
@short Create a dialog that asks for a application to open a given URL(s) with.
|
|
*/
|
|
public KOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(urls,text,value,parent);
|
|
}
|
|
private native void newKOpenWithDlg(ArrayList urls, String text, String value, TQWidget parent);
|
|
public KOpenWithDlg(ArrayList urls, String text, String value) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(urls,text,value);
|
|
}
|
|
private native void newKOpenWithDlg(ArrayList urls, String text, String value);
|
|
/**
|
|
Create a dialog to select a service for a given service type.
|
|
Note that this dialog doesn't apply to URLs.
|
|
@param serviceType the service type we want to choose an application for.
|
|
@param value is the initial value of the line
|
|
@param parent parent widget
|
|
@short Create a dialog to select a service for a given service type.
|
|
*/
|
|
public KOpenWithDlg(String serviceType, String value, TQWidget parent) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(serviceType,value,parent);
|
|
}
|
|
private native void newKOpenWithDlg(String serviceType, String value, TQWidget parent);
|
|
public KOpenWithDlg(String serviceType, String value) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(serviceType,value);
|
|
}
|
|
private native void newKOpenWithDlg(String serviceType, String value);
|
|
/**
|
|
Create a dialog to select an application
|
|
Note that this dialog doesn't apply to URLs.
|
|
@param parent parent widget
|
|
@short Create a dialog to select an application Note that this dialog doesn't apply to URLs.
|
|
*/
|
|
public KOpenWithDlg(TQWidget parent) {
|
|
super((Class) null);
|
|
newKOpenWithDlg(parent);
|
|
}
|
|
private native void newKOpenWithDlg(TQWidget parent);
|
|
public KOpenWithDlg() {
|
|
super((Class) null);
|
|
newKOpenWithDlg();
|
|
}
|
|
private native void newKOpenWithDlg();
|
|
/**
|
|
@return the text the user entered
|
|
|
|
@short
|
|
*/
|
|
public native String text();
|
|
/**
|
|
Hide the "Do not &close when command exits" Checkbox
|
|
@short Hide the "Do not &close when command exits" Checkbox
|
|
*/
|
|
public native void hideNoCloseOnExit();
|
|
/**
|
|
Hide the "Run in &terminal" Checkbox
|
|
@short Hide the "Run in &terminal" Checkbox
|
|
*/
|
|
public native void hideRunInTerminal();
|
|
/**
|
|
@return the chosen service in the application tree
|
|
Can be null, if the user typed some text and didn't select a service.
|
|
|
|
@short
|
|
*/
|
|
// KService::Ptr service(); >>>> NOT CONVERTED
|
|
/**
|
|
Set whether a new .desktop file should be created if the user selects an
|
|
application for which no corresponding .desktop file can be found.
|
|
Regardless of this setting a new .desktop file may still be created if
|
|
the user has chosen to remember the file association.
|
|
The default is false: no .desktop files are created.
|
|
@short Set whether a new .
|
|
*/
|
|
public native void setSaveNewApplications(boolean b);
|
|
/**
|
|
The slot for clearing the edit widget
|
|
@short The slot for clearing the edit widget
|
|
*/
|
|
public native void slotClear();
|
|
public native void slotSelected(String _name, String _exec);
|
|
public native void slotHighlighted(String _name, String _exec);
|
|
public native void slotTextChanged();
|
|
public native void slotTerminalToggled(boolean arg1);
|
|
public native void slotDbClick();
|
|
public native void slotOK();
|
|
/**
|
|
Determine service type from URLs
|
|
@short Determine service type from URLs
|
|
*/
|
|
protected native void setServiceType(ArrayList _urls);
|
|
/**
|
|
Create a dialog that asks for a application to open a given
|
|
URL(s) with.
|
|
@param text appears as a label on top of the entry box.
|
|
@param value is the initial value of the line
|
|
@short Create a dialog that asks for a application to open a given URL(s) with.
|
|
*/
|
|
protected native void init(String text, String value);
|
|
/**
|
|
Reimplemented from TQDialog.accept() to save history of the combobox
|
|
@short Reimplemented from TQDialog.accept() to save history of the combobox
|
|
*/
|
|
protected native void accept();
|
|
/** 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();
|
|
}
|