class KOpenWithHandler

This class handles the displayOpenWithDialog call, made by KRun when it has no idea what to do with a URL. More...

Definition#include <krun.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

This class handles the displayOpenWithDialog call, made by KRun when it has no idea what to do with a URL. The default implementation is to print a huge fat warning This behaviour is overriden by KFileOpenWithHandler, in libkfile, which displays the real open-with dialog box.

If you use KRun you _need_ to create an instance of KFileOpenWithHandler (except if you can make sure you only use it for executables or Type=Application desktop files)

bool  displayOpenWithDialog ( const KURL::List& urls )

[virtual]

Opens an open-with dialog box for urls

Returns: true if the operation succeeded

KOpenWithHandler *  getOpenWithHandler ()

[static]

Call this to get the (only) instance of KOpenWithHandler


Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:52 2000, using kdoc 2.0a35.