PolkitQt1::Details
PolkitQt1::Details Class Reference
#include <Details>
Public Member Functions | |
Details () | |
Details (const Details &other) | |
Details (PolkitDetails *pkDetails) | |
void | insert (const QString &key, const QString &value) |
QStringList | keys () const |
QString | lookup (const QString &key) const |
Details & | operator= (const Details &other) |
Detailed Description
Class used for passing details around.
Definition at line 34 of file polkitqt1-details.h.
Constructor & Destructor Documentation
◆ Details() [1/3]
PolkitQt1::Details::Details | ( | ) |
Creates a new Details object.
Definition at line 39 of file polkitqt1-details.cpp.
◆ Details() [2/3]
|
explicit |
Creates Details object from PolkitDetails.
- Warning
- Use this only if you are completely aware of what are you doing!
- Parameters
-
pkDetails PolkitDetails object
Definition at line 45 of file polkitqt1-details.cpp.
◆ Details() [3/3]
|
default |
Copy constructor.
◆ ~Details()
PolkitQt1::Details::~Details | ( | ) |
Definition at line 55 of file polkitqt1-details.cpp.
Member Function Documentation
◆ insert()
Inserts key key
with value value
.
- Parameters
-
key A key. value A value.
Definition at line 77 of file polkitqt1-details.cpp.
◆ keys()
QStringList PolkitQt1::Details::keys | ( | ) | const |
Gets a list of all keys.
- Returns
- List of all keys.
Definition at line 82 of file polkitqt1-details.cpp.
◆ lookup()
Get the value for key
.
- Parameters
-
key A key
- Returns
- Value of the key
key
, otherwise empty QString.
Definition at line 67 of file polkitqt1-details.cpp.
◆ operator=()
Definition at line 61 of file polkitqt1-details.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 Fri Nov 8 2024 11:49:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.