class KOpenWithDlg

"Open with" dialog box. More...

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

Public Methods

Public Slots

Protected Methods

Protected Members


Detailed Description

"Open with" dialog box. Used automatically by KRun, and used by libkonq.

 KOpenWithDlg ( const KURL::List& urls, QWidget *parent = (QWidget*)0 )

Create a dialog that asks for a application to open a given URL(s) with.

Parameters:
urlsis the URL that should be opened
parentparent widget

 KOpenWithDlg ( const KURL::List& urls, const QString&text, const QString&value, QWidget *parent )

Create a dialog that asks for a application to open a given URL(s) with.

Parameters:
urlsis the URL that should be opened
textappears as a label on top of the entry box.
valueis the initial value of the line
parentparent widget

KOpenWithDlg ()

Destructor

QString  text ()

Returns: the text the user entered

KService::Ptr  service ()

Returns: the chosen service in the application tree

void  slotClear ()

[slot]

The slot for clearing the edit widget

void  init ( const KURL::List&, const QString&, const QString& )

[protected]

Create a dialog that asks for a application to open a given URL(s) with.

Parameters:
urlsis the URL that should be opened
parentparent widget