KConfigGui

KConfigGui Namespace Reference

Functions

KCONFIGGUI_EXPORT bool hasSessionConfig ()
 
KCONFIGGUI_EXPORT KConfigsessionConfig ()
 
KCONFIGGUI_EXPORT QString sessionConfigName ()
 
KCONFIGGUI_EXPORT void setSessionConfig (const QString &id, const QString &key)
 

Detailed Description

Interface-related functions.

Function Documentation

bool KConfigGui::hasSessionConfig ( )

Indicates if a session config has been created for that application (i.e. if sessionConfig() got called at least once)

Returns
true if a sessionConfig object was created, false otherwise

Definition at line 46 of file kconfiggui.cpp.

KConfig * KConfigGui::sessionConfig ( )

Returns the current application session config object.

Returns
A pointer to the application's instance specific KConfig object.
See also
KConfig

Definition at line 21 of file kconfiggui.cpp.

QString KConfigGui::sessionConfigName ( )

Returns the name of the application session.

Returns
the application session name
Deprecated:
since 5.11, use sessionConfig()->name()

Definition at line 52 of file kconfiggui.cpp.

void KConfigGui::setSessionConfig ( const QString id,
const QString key 
)

Replaces the current application session config object.

Parameters
idnew session id
keynew session key
Since
5.11

Definition at line 35 of file kconfiggui.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue May 11 2021 22:47:52 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.