KIO Namespace

The KIO namespace includes the following elements from module KIOGui. The full namespace is documented in module KIOCore here.

Classes

Functions

QProcessEnvironment discreteGpuEnvironment()
KIO::PreviewJob *filePreview(const KFileItemList &items, const QSize &size, const QStringList *enabledPlugins = nullptr)
bool hasDiscreteGpu()
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

class FavIconRequestJob

class OpenFileManagerWindowJob

class OpenOrExecuteFileInterface

class OpenUrlJob

OpenUrlJob finds out the right way to "open" a URL. More...

class OpenWithHandlerInterface

class PreviewJob

KIO Job to get a thumbnail picture. More...

class ThumbnailCreator

class ThumbnailResult

Function Documentation

QProcessEnvironment KIO::discreteGpuEnvironment()

Environment variables that make a process run with the discrete GPU.

KIO::PreviewJob *KIO::filePreview(const KFileItemList &items, const QSize &size, const QStringList *enabledPlugins = nullptr)

Creates a PreviewJob to generate a preview image for the given items. @param items List of files to create previews for. @param size Desired size of the preview. @param 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.

bool KIO::hasDiscreteGpu()

Detects whether the system has a discrete GPU.

KIO::OpenFileManagerWindowJob *KIO::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.

@since 5.24