Search for usage in LXR

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
Detailsoperator= (const Details &other)

Detailed Description

Class used for passing details around.

Radek Novacek rnova.nosp@m.cek@.nosp@m.redha.nosp@m.t.co.nosp@m.m

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]

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

Creates Details object from PolkitDetails.

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

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

◆ Details() [3/3]

PolkitQt1::Details::Details ( const Details & other)

Copy constructor.

◆ ~Details()

PolkitQt1::Details::~Details ( )

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

Member Function Documentation

◆ insert()

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

Inserts key key with value value.

keyA key.
valueA value.

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

◆ keys()

QStringList PolkitQt1::Details::keys ( ) const

Gets a list of all keys.

List of all keys.

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

◆ lookup()

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

Get the value for key.

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

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

◆ operator=()

Details & PolkitQt1::Details::operator= ( const Details & other)

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 Jun 14 2024 11:56:38 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.