libkleo
cryptoconfigmodule.cpp File Reference
#include "cryptoconfigmodule.h"
#include "cryptoconfigmodule_p.h"
#include "directoryserviceswidget.h"
#include "kdhorizontalline.h"
#include "filenamerequester.h"
#include "kleo/cryptoconfig.h"
#include <klineedit.h>
#include <klocale.h>
#include <kdebug.h>
#include <knuminput.h>
#include <kiconloader.h>
#include <kglobal.h>
#include <kcomponentdata.h>
#include <kicon.h>
#include <kurlrequester.h>
#include <QApplication>
#include <QLabel>
#include <QLayout>
#include <QPushButton>
#include <QRegExp>
#include <QPixmap>
#include <QVBoxLayout>
#include <QList>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QScrollArea>
#include <QDesktopWidget>
#include <QCheckBox>
#include <QStyle>
#include <QComboBox>
#include <cassert>
#include "cryptoconfigmodule.moc"
#include "cryptoconfigmodule_p.moc"

Go to the source code of this file.
Typedefs | |
| typedef CryptoConfigEntryGUI *(* | constructor )(CryptoConfigModule *, Kleo::CryptoConfigEntry *, const QString &, QGridLayout *, QWidget *) |
Functions | |
| template<typename T_Widget> | |
| CryptoConfigEntryGUI * | _create (CryptoConfigModule *m, Kleo::CryptoConfigEntry *e, const QString &n, QGridLayout *l, QWidget *p) |
| static const KPageView::FaceType | determineJanusFace (const Kleo::CryptoConfig *config) |
| KIcon | loadIcon (const QString &s) |
| static KUrl::List | string2urls (const QString &str) |
| static KUrl::List | strings2urls (const QStringList &strs) |
| static QString | urls2string (const KUrl::List &urls) |
| static QStringList | urls2strings (const KUrl::List &urls) |
Variables | |
| struct { | |
| const char * label | |
| const char * name | |
| } | debugLevels [] |
| static const constructor | listWidgets [CryptoConfigEntry::NumArgType] |
| static const unsigned int | numDebugLevels = sizeof debugLevels / sizeof *debugLevels |
| static const unsigned int | numWidgetsByEntryName = sizeof widgetsByEntryName / sizeof *widgetsByEntryName |
| static const constructor | scalarWidgets [CryptoConfigEntry::NumArgType] |
| static struct WidgetsByEntryName | widgetsByEntryName [] |
Typedef Documentation
| typedef CryptoConfigEntryGUI*(* constructor)(CryptoConfigModule *, Kleo::CryptoConfigEntry *, const QString &, QGridLayout *, QWidget *) |
Definition at line 304 of file cryptoconfigmodule.cpp.
Function Documentation
| CryptoConfigEntryGUI* @116::_create | ( | CryptoConfigModule * | m, | |
| Kleo::CryptoConfigEntry * | e, | |||
| const QString & | n, | |||
| QGridLayout * | l, | |||
| QWidget * | p | |||
| ) | [inline, static] |
Definition at line 308 of file cryptoconfigmodule.cpp.
| static const KPageView::FaceType determineJanusFace | ( | const Kleo::CryptoConfig * | config | ) | [static] |
Definition at line 89 of file cryptoconfigmodule.cpp.
| KIcon loadIcon | ( | const QString & | s | ) | [inline] |
Definition at line 84 of file cryptoconfigmodule.cpp.
| static KUrl::List string2urls | ( | const QString & | str | ) | [static] |
Definition at line 896 of file cryptoconfigmodule.cpp.
| static KUrl::List strings2urls | ( | const QStringList & | strs | ) | [static] |
Definition at line 799 of file cryptoconfigmodule.cpp.
| static QString urls2string | ( | const KUrl::List & | urls | ) | [static] |
Definition at line 900 of file cryptoconfigmodule.cpp.
| static QStringList urls2strings | ( | const KUrl::List & | urls | ) | [static] |
Definition at line 807 of file cryptoconfigmodule.cpp.
Variable Documentation
struct { ... } debugLevels[] [static] |
| const char* label |
Definition at line 441 of file cryptoconfigmodule.cpp.
const constructor listWidgets[CryptoConfigEntry::NumArgType] [static] |
Initial value:
{
&_create<CryptoConfigEntrySpinBox>,
0,
&_create<CryptoConfigEntryLineEdit>,
&_create<CryptoConfigEntryLineEdit>,
0,
0,
&_create<CryptoConfigEntryLDAPURL>,
0,
}
Definition at line 322 of file cryptoconfigmodule.cpp.
| const char* name |
Definition at line 442 of file cryptoconfigmodule.cpp.
const unsigned int numDebugLevels = sizeof debugLevels / sizeof *debugLevels [static] |
Definition at line 450 of file cryptoconfigmodule.cpp.
const unsigned int numWidgetsByEntryName = sizeof widgetsByEntryName / sizeof *widgetsByEntryName [static] |
Definition at line 320 of file cryptoconfigmodule.cpp.
const constructor scalarWidgets[CryptoConfigEntry::NumArgType] [static] |
Initial value:
{
&_create<CryptoConfigEntryCheckBox>,
&_create<CryptoConfigEntryLineEdit>,
&_create<CryptoConfigEntrySpinBox>,
&_create<CryptoConfigEntrySpinBox>,
&_create<CryptoConfigEntryPath>,
&_create<CryptoConfigEntryURL>,
0,
&_create<CryptoConfigEntryDirPath>,
}
Definition at line 335 of file cryptoconfigmodule.cpp.
struct WidgetsByEntryName widgetsByEntryName[] [static] |
KDE 4.2 API Reference