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 Slots

Protected Members


Detailed Description

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

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

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

Parameters:

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

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

Parameters:

 KOpenWithDlg ( const QString& serviceType, const QString& value, QWidget *parent = 0L )

Create a dialog to select a service for a given service type. Note that this dialog doesn't apply to URLs.

Parameters:

KOpenWithDlg ()

Destructor

QString  text ()

Returns: the text the user entered

KService::Ptr  service ()

Returns: the chosen service in the application tree Can be null, if the user typed some text and didn't select a service.

void  slotClear ()

[slot]

The slot for clearing the edit widget

void  slotSelected ( const QString&_name, const QString& _exec )

[slot]

void  slotHighlighted ( const QString& _name, const QString& _exec )

[slot]

void  slotTerminalToggled (bool)

[slot]

void  slotDbClick ()

[slot]

void  slotOK ()

[slot]

void  accept ()

[protected virtual slot]

Reimplemented from QDialog::accept() to save history of the combobox

void  setServiceType ( const KURL::List& _urls )

[protected]

Determine service type from URLs

void  init ( const QString& text, const QString& value )

[protected]

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

Parameters:

KURLRequester * edit

[protected]

QString m_command

[protected]

KApplicationTree* m_pTree

[protected]

QLabel * label

[protected]

QString qName

[protected]

QString qServiceType

[protected]

bool m_terminaldirty

[protected]

QCheckBox * terminal

[protected]

QCheckBox * remember

[protected]

QPushButton * ok

[protected]

QPushButton * clear

[protected]

QPushButton * cancel

[protected]

KService::Ptr m_pService

[protected]

KOpenWithDlgPrivate * d

[protected]