KOpenWithDlg Class Reference
"Open with" dialog box. More...
#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.
Constructor & Destructor Documentation
|
Create a dialog that asks for a application to open a given URL(s) with.
Definition at line 340 of file kopenwith.cpp. References QString::arg(), QValueList::count(), QValueList::first(), init(), and setServiceType(). |
|
Create a dialog that asks for a application to open a given URL(s) with.
Definition at line 358 of file kopenwith.cpp. References QValueList::count(), KStringHandler::csqueeze(), QValueList::first(), QString::fromLatin1(), init(), and setServiceType(). |
|
Create a dialog to select a service for a given service type. Note that this dialog doesn't apply to URLs.
Definition at line 370 of file kopenwith.cpp. References QString::arg(), init(), qServiceType, and remember. |
|
Create a dialog to select an application Note that this dialog doesn't apply to URLs.
Definition at line 384 of file kopenwith.cpp. References init(), and qServiceType. |
|
Destructor.
Definition at line 550 of file kopenwith.cpp. References d. |
Member Function Documentation
|
Definition at line 810 of file kopenwith.cpp. References edit, QString::isEmpty(), m_command, and KURLRequester::url. Referenced by KRun::displayOpenWithDialog(), and KFileOpenWithHandler::displayOpenWithDialog(). |
|
Hide the "Do not &close when command exits" Checkbox.
Definition at line 818 of file kopenwith.cpp. References nocloseonexit, and QCheckBox::setChecked(). Referenced by hideRunInTerminal(). |
|
Hide the "Run in &terminal" Checkbox.
Definition at line 825 of file kopenwith.cpp. References hideNoCloseOnExit(), and terminal. |
|
Definition at line 114 of file kopenwith.h. Referenced by KRun::displayOpenWithDialog(), KFileOpenWithHandler::displayOpenWithDialog(), and KCustomMenuEditor::slotNewItem(). |
|
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 620 of file kopenwith.cpp. References d. Referenced by KCustomMenuEditor::slotNewItem(). |
|
The slot for clearing the edit widget.
Definition at line 558 of file kopenwith.cpp. References edit, and KURLRequester::setURL(). Referenced by init(). |
|
Reimplemented from QDialog::accept() to save history of the combobox.
Reimplemented from QDialog. Definition at line 831 of file kopenwith.cpp. References QDialog::accept(), KHistoryCombo::addToHistory(), KURLRequester::comboBox(), KCompletionBase::completionMode(), KGlobal::config(), edit, QString::fromLatin1(), KHistoryCombo::historyItems, KConfigBase::sync(), KURLRequester::url, and KConfigBase::writeEntry(). Referenced by slotOK(). |
|
Determine service type from URLs.
Definition at line 395 of file kopenwith.cpp. References QValueList::count(), KMimeType::findByURL(), QValueList::first(), QString::fromLatin1(), and qServiceType. Referenced by KOpenWithDlg(). |
|
The documentation for this class was generated from the following files: