12#include "kleo_export.h"
49 AnyMatchContext = Appearance | Filtering
54 virtual bool matches(
const GpgME::Key &key,
MatchContexts ctx)
const = 0;
55 virtual bool matches(
const GpgME::UserID &userID,
MatchContexts ctx)
const = 0;
57 virtual unsigned int specificity()
const = 0;
63 virtual QColor fgColor()
const = 0;
64 virtual QColor bgColor()
const = 0;
65 virtual QString name()
const = 0;
66 virtual QString icon()
const = 0;
67 virtual QString description()
const = 0;
73 FontDescription(
const FontDescription &other);
74 FontDescription &operator=(
const FontDescription &other)
76 FontDescription copy(other);
82 static FontDescription create(
bool bold,
bool italic,
bool strikeOut);
83 static FontDescription create(
const QFont &font,
bool bold,
bool italic,
bool strikeOut);
87 FontDescription resolve(
const FontDescription &other)
const;
89 void swap(FontDescription &other)
91 std::swap(this->d, other.d);
96 std::unique_ptr<Private> d;
99 virtual FontDescription fontDescription()
const = 0;
An abstract base class key filters.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:14 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.