kleopatra
#include <config-kleopatra.h>
#include "appearanceconfigwidget.h"
#include "ui_appearanceconfigwidget.h"
#include "tooltippreferences.h"
#include "libkleo/kleo/cryptobackendfactory.h"
#include "libkleo/kleo/keyfiltermanager.h"
#include "libkleo/kleo/dn.h"
#include "libkleo/ui/dnattributeorderconfigwidget.h"
#include <kicondialog.h>
#include <kconfig.h>
#include <klocale.h>
#include <kconfiggroup.h>
#include <QColor>
#include <QFont>
#include <QString>
#include <QRegExp>
#include <QApplication>
#include <QColorDialog>
#include <QFontDialog>
#include <boost/range.hpp>
#include <boost/bind.hpp>
#include <algorithm>
#include <cassert>
#include "moc_appearanceconfigwidget.cpp"
Go to the source code of this file.
|  | 
| enum | { HasNameRole = Qt::UserRole + 0x1234, 
HasFontRole, 
IconNameRole, 
MayChangeNameRole,
 MayChangeForegroundRole, 
MayChangeBackgroundRole, 
MayChangeFontRole, 
MayChangeItalicRole,
 MayChangeBoldRole, 
MayChangeStrikeOutRole, 
MayChangeIconRole, 
EndDummy
 }
 | 
|  | 
|  | 
| static void | apply_config (const KConfigGroup &group, QListWidgetItem *item) | 
|  | 
| static QVariant | brush2color (const QVariant &v) | 
|  | 
| static void | erase_if_allowed (QListWidgetItem *item, int role, int allowRole) | 
|  | 
| static void | erase_if_allowed (QListWidgetItem *item, const int role[], size_t numRoles, const int allowRole[], size_t numAllowRoles) | 
|  | 
| static bool | is (const QListWidgetItem *item, bool(QFont::*func)() const ) | 
|  | 
| static bool | is_bold (const QListWidgetItem *item) | 
|  | 
| static bool | is_italic (const QListWidgetItem *item) | 
|  | 
| static bool | is_strikeout (const QListWidgetItem *item) | 
|  | 
| static void | kiosk_enable (QWidget *w, const QListWidgetItem *item, int allowRole) | 
|  | 
| static void | save_to_config (const QListWidgetItem *item, KConfigGroup &group) | 
|  | 
| static void | set (QListWidgetItem *item, bool on, void(QFont::*func)(bool)) | 
|  | 
| static void | set_bold (QListWidgetItem *item, bool on) | 
|  | 
| static void | set_default_appearance (QListWidgetItem *item) | 
|  | 
| static void | set_italic (QListWidgetItem *item, bool on) | 
|  | 
| static void | set_strikeout (QListWidgetItem *item, bool on) | 
|  | 
| static QFont | tryToFindFontFor (const QListWidgetItem *item) | 
|  | 
| static void | writeOrDelete (KConfigGroup &group, const char *key, const QVariant &value) | 
|  | 
| Enumerator | 
|---|
| HasNameRole | Records that the user has assigned a name (to avoid comparing with i18n-strings)  | 
| HasFontRole | Records that the user has chosen completely different font (as opposed to italic/bold/strikeout)  | 
| IconNameRole | Records the name of the icon (since QIcon won't give it out again, once set)  | 
| MayChangeNameRole |  | 
| MayChangeForegroundRole |  | 
| MayChangeBackgroundRole |  | 
| MayChangeFontRole |  | 
| MayChangeItalicRole |  | 
| MayChangeBoldRole |  | 
| MayChangeStrikeOutRole |  | 
| MayChangeIconRole |  | 
| EndDummy |  | 
Definition at line 80 of file appearanceconfigwidget.cpp.
 
 
  
  | 
        
          | static void apply_config | ( | const KConfigGroup & | group, |  
          |  |  | QListWidgetItem * | item |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void erase_if_allowed | ( | QListWidgetItem * | item, |  
          |  |  | int | role, |  
          |  |  | int | allowRole |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void erase_if_allowed | ( | QListWidgetItem * | item, |  
          |  |  | const int | role[], |  
          |  |  | size_t | numRoles, |  
          |  |  | const int | allowRole[], |  
          |  |  | size_t | numAllowRoles |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static bool is | ( | const QListWidgetItem * | item, |  
          |  |  | bool(QFont::*)() const | func |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void save_to_config | ( | const QListWidgetItem * | item, |  
          |  |  | KConfigGroup & | group |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void set | ( | QListWidgetItem * | item, |  
          |  |  | bool | on, |  
          |  |  | void(QFont::*)(bool) | func |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | static void writeOrDelete | ( | KConfigGroup & | group, |  
          |  |  | const char * | key, |  
          |  |  | const QVariant & | value |  
          |  | ) |  |  |  | static | 
 
 
 
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.