KIO Namespace
The KIO namespace includes the following elements from module KIOGui. The full namespace is documented in module KIOCore here.
Classes
class | ApplicationLauncherJob |
class | CommandLauncherJob |
class | DndPopupMenuPlugin |
class | FavIconRequestJob |
class | OpenFileManagerWindowJob |
class | OpenOrExecuteFileInterface |
class | OpenUrlJob |
class | OpenWithHandlerInterface |
class | PreviewJob |
class | ThumbnailCreator |
class | ThumbnailRequest |
class | ThumbnailResult |
Functions
KIO::PreviewJob * | filePreview(const KFileItemList &items, const QSize &size, const QStringList *enabledPlugins = nullptr) |
KIO::OpenFileManagerWindowJob * | highlightInFileManager(const QList<QUrl> &urls, const QByteArray &asn = QByteArray()) |
Classes
class ApplicationLauncherJob
ApplicationLauncherJob runs an application and watches it while running. More...
class CommandLauncherJob
CommandLauncherJob runs a command and watches it while running. More...
class DndPopupMenuPlugin
Base class for drag and drop popup menus. More...
class FavIconRequestJob
FavIconRequestJob handles the retrieval of a favicon (either from the local cache or from the internet). More...
class OpenFileManagerWindowJob
Open a File Manager Window. More...
class OpenOrExecuteFileInterface
The OpenOrExecuteFileInterface class allows OpenUrlJob to ask the user about how to handle various types of executable files, basically whether to run/execute the file, or in the case of text-based ones (shell scripts and .desktop files) open them as text. More...
class OpenUrlJob
OpenUrlJob finds out the right way to "open" a URL. More...
class OpenWithHandlerInterface
The OpenWithHandlerInterface class allows OpenUrlJob to prompt the user about which application to use to open URLs that do not have an associated application (via the "Open With" dialog). More...
class PreviewJob
KIO Job to get a thumbnail picture. More...
class ThumbnailCreator
Base class for thumbnail generator plugins. More...
class ThumbnailRequest
Encapsulates the input data for a thumbnail request. More...
class ThumbnailResult
Encapsulates the output of a thumbnail request. More...
Function Documentation
KIO::PreviewJob *filePreview(const KFileItemList &items, const QSize &size, const QStringList *enabledPlugins = nullptr)
Creates a PreviewJob to generate a preview image for the given items.
items List of files to create previews for.
size Desired size of the preview.
enabledPlugins If non-zero it defines the list of plugins that are considered for generating the preview. If enabledPlugins is zero the plugins specified in the KConfigGroup "PreviewSettings" are used.
KIO::OpenFileManagerWindowJob *highlightInFileManager(const QList<QUrl> &urls, const QByteArray &asn = QByteArray())
Convenience method for creating a job to highlight a certain file or folder.
It will create a job for a given URL(s) and automatically start it.