Libkleo
12#include "kleo_export.h"
49 AnyMatchContext = Appearance | Filtering
52 Q_DECLARE_FLAGS(MatchContexts, MatchContext)
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;
59 virtual MatchContexts availableMatchContexts()
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;
102Q_DECLARE_OPERATORS_FOR_FLAGS(KeyFilter::MatchContexts)
108Q_DECLARE_METATYPE(Kleo::KeyFilter::MatchContexts)
An abstract base class key filters.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:11 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.