Libkleo
            
 
   14#include "kleo_export.h" 
   16#include "dnattributes.h" 
   28class KLEO_DEPRECATED_EXPORT DN
 
   33    using const_iterator = AttributeList::const_iterator;
 
   37    explicit DN(
const char *utf8DN);
 
   41    const DN &operator=(
const DN &other);
 
   45        return Kleo::DNAttributes::order();
 
   47    static void setAttributeOrder(
const QStringList &order)
 
   49        return Kleo::DNAttributes::setOrder(order);
 
   54        return Kleo::DNAttributes::defaultOrder();
 
   59        return Kleo::DNAttributes::names();
 
   63        return Kleo::DNAttributes::nameToLabel(name);
 
   88    void append(
const Attribute &attr);
 
   90    const_iterator begin() 
const;
 
   91    const_iterator end() 
const;
 
 
  101class KLEO_EXPORT 
DN::Attribute
 
  104    using List = DN::AttributeList;
 
  107        : mName(name.toUpper())
 
  111    Attribute(
const Attribute &other)
 
  112        : mName(other.name())
 
  113        , mValue(other.value())
 
  117    const Attribute &operator=(
const Attribute &other)
 
  119        if (
this != &other) {
 
  120            mName = other.name();
 
  121            mValue = other.value();
 
  126    const QString &name()
 const 
  130    const QString &value()
 const 
  135    void setValue(
const QString &value)
 
static QString escape(const QString &value)
 
QStringList prettyAttributes() const
Returns the non-empty attributes formatted as {NAME=value} and reordered according to the settings in...
 
  
 
  This file is part of the KDE documentation.
  Documentation copyright © 1996-2025 The KDE developers.
  Generated on Fri May 2 2025 11:54:06 by
  
doxygen 1.13.2 written
  by 
Dimitri van Heesch, © 1997-2006
  
  KDE's Doxygen guidelines are available online.