kgpg
kgpgfirstassistant.cpp
Go to the documentation of this file.
69 label->setText(i18n("This assistant will first setup some basic configuration options required for KGpg to work properly. Next, it will allow you to create your own key pair, enabling you to encrypt your files and emails."));
96 label->setText(i18n("Unless you want to try some unusual settings, just click on the \"next\" button."));
134 text_optionsfound->setText(i18n("Unless you want to try some unusual settings, just click on the \"next\" button."));
248 if (KMessageBox::questionYesNo(0, i18n("<qt><b>The GnuPG configuration file was not found</b>. Should KGpg try to create a config file ?</qt>"), QString(), KGuiItem(i18n("Create Config")), KGuiItem(i18n("Do Not Create"))) == KMessageBox::Yes) {
257 text_optionsfound->setText(i18n("<qt><b>The GnuPG configuration file was not found</b>.</qt>"));
368 txtGpgVersion->setText(i18n("Your GnuPG version (%1) seems to be too old.<br />Compatibility with versions before 1.4.0 is no longer guaranteed.", m_gpgVersion));
void setVerticalStretch(uchar stretchFactor)
bool getAutoStart() const
check if KGpg autostart should be activated
Definition: kgpgfirstassistant.cpp:349
void setContentsMargins(int left, int top, int right, int bottom)
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
static QString getGpgHome(const QString &binary)
find users GnuPG directory
Definition: gpgproc.cpp:336
void setFrameShape(Shape)
virtual void setVisible(bool visible)
void setAlignment(QFlags< Qt::AlignmentFlag >)
Definition: kgpgkey.h:236
void setSpacing(int spacing)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
KgpgCore::KgpgKeyList readPublicKeys(const QStringList &ids=QStringList())
Definition: kgpginterface.cpp:288
bool isEmpty() const
static int gpgVersion(const QString &vstr)
parse GnuPG version string and return version as number
Definition: gpgproc.cpp:288
bool isEmpty() const
void setScaledContents(bool)
void setText(const QString &)
void setMargin(int margin)
sizePolicy
QString getConfigPath() const
get user selected GnuPG home directory
Definition: kgpgfirstassistant.cpp:333
Definition: kgpgkey.h:293
void setFrameShadow(Shadow)
void setChecked(bool)
bool runKeyGenerate() const
check if key generation dialog should be started
Definition: kgpgfirstassistant.cpp:327
void addLayout(QLayout *layout, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
KgpgCore::KgpgKeyList readSecretKeys(const QStringList &ids=QStringList())
Definition: kgpginterface.cpp:402
static QString gpgVersionString(const QString &binary)
get the GnuPG version string of the given binary
Definition: gpgproc.cpp:300
void addItem(QLayoutItem *item, int row, int column, int rowSpan, int columnSpan, QFlags< Qt::AlignmentFlag > alignment)
int length() const
void setText(const QString &text)
void setHorizontalStretch(uchar stretchFactor)
void setToolTip(const QString &)
void setWordWrap(bool on)
KGpgFirstAssistant(QWidget *parent=0)
constructor of KGpgFirstAssistant
Definition: kgpgfirstassistant.cpp:41
void setSpacing(int spacing)
void setHeightForWidth(bool dependent)
QString getGpgSetting(const QString &name, const QString &configfile)
Definition: kgpginterface.cpp:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 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:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.