KIO::OpenWith
KIO::OpenWith Class Reference
#include <openwith.h>
Static Public Member Functions | |
static AcceptResult | accept (KService::Ptr &service, const QString &typedExec, bool remember, const QString &mimeType, bool openInTerminal, bool lingerTerminal, bool saveNewApps) |
Detailed Description
Core class for open with style dialog handling.
This only implements core functionality. For an actual open with implementation see KOpenWithDialog. For a way to trigger open with dialogs see OpenUrlJob and OpenWithHandlerInterface.
Definition at line 26 of file openwith.h.
Member Function Documentation
◆ accept()
|
static |
Accept an openwith request with the provided arguments as context.
This function may have side effects to do with accepting, such as setting the default application for the mimetype if remember
is true.
- Returns
- an AcceptResult
Definition at line 66 of file openwith.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.