KOpenWithDlg Class Reference
#include <kopenwith.h>
Inheritance diagram for KOpenWithDlg:

Detailed Description
"Open with" dialog box.Used automatically by KRun, and used by libkonq.
- Author:
- David Faure <faure@kde.org>
Definition at line 46 of file kopenwith.h.
Public Slots | |
| void | slotClear () |
| void | slotSelected (const QString &_name, const QString &_exec) |
| void | slotHighlighted (const QString &_name, const QString &_exec) |
| void | slotTextChanged () |
| void | slotTerminalToggled (bool) |
| void | slotDbClick () |
| void | slotOK () |
Public Member Functions | |
| KOpenWithDlg (const KURL::List &urls, QWidget *parent=0L) | |
| KOpenWithDlg (const KURL::List &urls, const QString &text, const QString &value, QWidget *parent=0L) | |
| KOpenWithDlg (const QString &serviceType, const QString &value, QWidget *parent=0L) | |
| KOpenWithDlg (QWidget *parent=0L) | |
| ~KOpenWithDlg () | |
| QString | text () const |
| void | hideNoCloseOnExit () |
| void | hideRunInTerminal () |
| KService::Ptr | service () const |
| void | setSaveNewApplications (bool b) |
Protected Slots | |
| virtual void | accept () |
Protected Member Functions | |
| void | setServiceType (const KURL::List &_urls) |
| void | init (const QString &text, const QString &value) |
Protected Attributes | |
| KURLRequester * | edit |
| QString | m_command |
| KApplicationTree * | m_pTree |
| QLabel * | label |
| QString | qName |
| QString | qServiceType |
| bool | m_terminaldirty |
| QCheckBox * | terminal |
| QCheckBox * | remember |
| QCheckBox * | nocloseonexit |
| QPushButton * | UNUSED |
| QPushButton * | UNUSED2 |
| KService::Ptr | m_pService |
| KOpenWithDlgPrivate * | d |
Constructor & Destructor Documentation
|
||||||||||||
|
Create a dialog that asks for a application to open a given URL(s) with.
Definition at line 319 of file kopenwith.cpp. |
|
||||||||||||||||||||
|
Create a dialog that asks for a application to open a given URL(s) with.
Definition at line 337 of file kopenwith.cpp. |
|
||||||||||||||||
|
Create a dialog to select a service for a given service type. Note that this dialog doesn't apply to URLs.
Definition at line 349 of file kopenwith.cpp. |
|
|
Create a dialog to select an application Note that this dialog doesn't apply to URLs.
Definition at line 363 of file kopenwith.cpp. |
|
|
Destructor.
Definition at line 529 of file kopenwith.cpp. |
Member Function Documentation
|
|
Reimplemented from QDialog::accept() to save history of the combobox.
Definition at line 810 of file kopenwith.cpp. |
|
|
Hide the "Do not &close when command exits" Checkbox.
Definition at line 797 of file kopenwith.cpp. |
|
|
Hide the "Run in &terminal" Checkbox.
Definition at line 804 of file kopenwith.cpp. |
|
||||||||||||
|
Create a dialog that asks for a application to open a given URL(s) with.
Definition at line 386 of file kopenwith.cpp. |
|
|
Definition at line 114 of file kopenwith.h. |
|
|
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.
Definition at line 599 of file kopenwith.cpp. |
|
|
Determine service type from URLs.
Definition at line 374 of file kopenwith.cpp. |
|
|
The slot for clearing the edit widget.
Definition at line 537 of file kopenwith.cpp. |
|
|
Definition at line 789 of file kopenwith.cpp. |
The documentation for this class was generated from the following files:

