PolkitQt1::Details

Search for usage in LXR

PolkitQt1::Details Class Reference

#include <Details>

Public Member Functions

 Details ()
 
 Details (PolkitDetails *pkDetails)
 
void insert (const QString &key, const QString &value)
 
QStringList keys () const
 
QString lookup (const QString &key) const
 
Detailsoperator= (const Details &other)
 

Detailed Description

Class used for passing details around.

Author
Radek Novacek rnova[email protected][email protected][email protected]redha[email protected]t.co[email protected]m

Definition at line 34 of file polkitqt1-details.h.

Constructor & Destructor Documentation

PolkitQt1::Details::Details ( )

Creates a new Details object.

Definition at line 39 of file polkitqt1-details.cpp.

PolkitQt1::Details::Details ( PolkitDetails *  pkDetails)
explicit

Creates Details object from PolkitDetails.

Warning
Use this only if you are completely aware of what are you doing!
Parameters
pkDetailsPolkitDetails object

Definition at line 46 of file polkitqt1-details.cpp.

Member Function Documentation

void PolkitQt1::Details::insert ( const QString key,
const QString value 
)

Inserts key key with value value.

Parameters
keyA key.
valueA value.

Definition at line 77 of file polkitqt1-details.cpp.

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.

QString PolkitQt1::Details::lookup ( const QString key) const

Get the value for key.

Parameters
keyA key
Returns
Value of the key key, otherwise empty QString.

Definition at line 67 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-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:06:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.