8#include "clientpidmap.h"
9#include "parametermap_p.h"
14using namespace KContacts;
23 Private(
const Private &other)
26 mParamMap = other.mParamMap;
27 clientpidmap = other.clientpidmap;
30 ParameterMap mParamMap;
34ClientPidMap::ClientPidMap()
44ClientPidMap::ClientPidMap(
const QString &clientpidmap)
47 d->clientpidmap = clientpidmap;
50ClientPidMap::~ClientPidMap()
54void ClientPidMap::setClientPidMap(
const QString &clientpidmap)
56 d->clientpidmap = clientpidmap;
59QString ClientPidMap::clientPidMap()
const
61 return d->clientpidmap;
64bool ClientPidMap::isValid()
const
66 return !d->clientpidmap.isEmpty();
69void ClientPidMap::setParams(
const ParameterMap ¶ms)
71 d->mParamMap = params;
74ParameterMap ClientPidMap::params()
const
79bool ClientPidMap::operator==(
const ClientPidMap &other)
const
81 return (d->mParamMap == other.d->mParamMap) && (d->clientpidmap == other.clientPidMap());
84bool ClientPidMap::operator!=(
const ClientPidMap &other)
const
86 return !(other == *
this);
98QString ClientPidMap::toString()
const
101 str += QStringLiteral(
" clientpidmap: %1\n").
arg(d->clientpidmap);
102 str += d->mParamMap.toString();
109 return s << clientpidmap.d->mParamMap << clientpidmap.d->clientpidmap;
114 s >> clientpidmap.d->mParamMap >> clientpidmap.d->clientpidmap;
QString arg(Args &&... args) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:51:07 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.