org.kde.koala
public class KDEDesktopMimeType extends KMimeType
UNKNOWN: Mimetype for a .desktop file.
Field Summary | |
---|---|
static int | ST_MOUNT |
static int | ST_UNMOUNT |
static int | ST_USER_DEFINED |
Constructor Summary | |
---|---|
protected | KDEDesktopMimeType(Class dummy) |
KDEDesktopMimeType(KDesktopFile config)
Construct a desktop mimetype and take all information from a desktop file. | |
KDEDesktopMimeType(QDataStream _str, int offset) \internal @short \internal |
Method Summary | |
---|---|
String | comment(String _url, boolean _is_local) |
String | comment(KURL _url, boolean _is_local) |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
String | icon(String _url, boolean _is_local) |
String | icon(KURL _url, boolean _is_local) |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QPixmap | pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path) |
QPixmap | pixmap(KURL _url, int _group, int _force_size, int _state) |
QPixmap | pixmap(KURL _url, int _group, int _force_size) |
QPixmap | pixmap(KURL _url, int _group) |
QPixmap | pixmap(int group, int force_size, int state, StringBuffer path) |
QPixmap | pixmap(int group, int force_size, int state) |
QPixmap | pixmap(int group, int force_size) |
QPixmap | pixmap(int group) |
static int | run(KURL _url, boolean _is_local)
Invokes the default action for the desktop entry. |
protected static int | runApplication(KURL _url, String _serviceFile) |
protected static int | runFSDevice(KURL _url, KSimpleConfig cfg) |
protected static int | runLink(KURL _url, KSimpleConfig cfg) |
protected static int | runMimeType(KURL _url, KSimpleConfig cfg) |
Parameters: config the desktop configuration file that describes the mime type
UNKNOWN: Construct a desktop mimetype and take all information from a desktop file.
Parameters: _url the url to run _is_local true if the URL is local, false otherwise
Returns: true on success and false on failure.
See Also: KRun
UNKNOWN: Invokes the default action for the desktop entry.