kleopatra
adduseriddialog.cpp
Go to the documentation of this file.
80 const QString label = /*pgp ?*/ pgpLabel( attr ) /*: Kleo::DNAttributeMapper::instance()->name2label( attr )*/ ;
102 static QLineEdit * adjust_row( QGridLayout * l, int row, const QString & label, const QString & preset, QValidator * validator, bool readonly, bool required ) {
184 QStringList() << QLatin1String("NAME!") << QLatin1String("EMAIL!") << QLatin1String("COMMENT") );
209 validator = regex.isEmpty() ? Validation::pgpComment() : Validation::pgpComment( QRegExp( regex ) ) ;
276 kDebug() << "requirementsAreMet(): checking \"" << key << "\" against \"" << le->text() << "\":";
static QLineEdit * adjust_row(QGridLayout *l, int row, const QString &label, const QString &preset, QValidator *validator, bool readonly, bool required)
Definition: adduseriddialog.cpp:102
void setupUi(QWidget *widget)
QString toUpper() const
static bool has_intermediate_input(const QLineEdit *le)
Definition: adduseriddialog.cpp:263
void getItemPosition(int index, int *row, int *column, int *rowSpan, int *columnSpan)
void push_back(const T &value)
void setText(const QString &)
virtual QWidget * widget()
Definition: signingcertificateselectiondialog.h:41
QString join(const QString &separator) const
QString & remove(int position, int n)
virtual int indexOf(QWidget *widget) const
void setReadOnly(bool)
static QString attributeLabel(const QString &attr, bool pgp)
Definition: adduseriddialog.cpp:77
bool isEmpty() const
QString trimmed() const
QValidator * pgpComment(QObject *parent=0)
Definition: validation.cpp:145
const QValidator * validator() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
void setText(const QString &)
void setName(const QString &name)
Definition: adduseriddialog.cpp:239
virtual State validate(QString &input, int &pos) const =0
void setParent(QObject *parent)
AddUserIDDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: adduseriddialog.cpp:230
void setEmail(const QString &email)
Definition: adduseriddialog.cpp:247
QString name() const
~AddUserIDDialog()
Definition: adduseriddialog.cpp:236
void setComment(const QString &comment)
Definition: adduseriddialog.cpp:255
static bool requirementsAreMet(const QVector< Line > &list, QString &error)
Definition: adduseriddialog.cpp:270
Definition: setinitialpindialog.cpp:61
QString email() const
typedef WindowFlags
bool hasAcceptableInput() const
void show()
cursorPosition
QObject * parent() const
QLayoutItem * itemAtPosition(int row, int column) const
QString comment() const
void setValidator(const QValidator *v)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.