KSandbox

KSandbox Namespace Reference

Functions

KCOREADDONS_EXPORT bool isFlatpak ()
 
KCOREADDONS_EXPORT bool isInside ()
 
KCOREADDONS_EXPORT bool isSnap ()
 

Detailed Description

Utility functions for use inside application sandboxes such as flatpak or snap.

Since
5.95

Function Documentation

◆ isFlatpak()

bool KSandbox::isFlatpak ( )
Returns
whether the application is inside a flatpak sandbox

Definition at line 14 of file ksandbox.cpp.

◆ isInside()

bool KSandbox::isInside ( )
Returns
whether the application is inside one of the supported sandboxes

Definition at line 8 of file ksandbox.cpp.

◆ isSnap()

bool KSandbox::isSnap ( )
Returns
whether the application is inside a snap sandbox

Definition at line 20 of file ksandbox.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:20:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.