kgpg
KGpgGroupNode.cpp
Go to the documentation of this file.
117 KGpgGroupNode::KGpgGroupNode(KGpgRootNode *parent, const QString &name, const QStringList &members)
127 KGpgGroupNode::KGpgGroupNode(KGpgRootNode *parent, const QString &name, const KGpgKeyNode::List &members)
QIODevice * device() const
static QString gpgConfigPath()
Get The path of the gpg configuration file.
Definition: kgpgsettings.h:288
QString readLine(qint64 maxlen)
bool resize(qint64 sz)
const QObjectList & children() const
void removeAt(int i)
QString simplified() const
void setFileName(const QString &name)
QString join(const QString &separator) const
bool exists() const
QString & remove(int position, int n)
virtual KGpgNode * getChild(const int index) const
Returns the child node at the given index.
Definition: KGpgExpandableNode.cpp:41
KGpgGroupNode(KGpgRootNode *parent, const QString &name, const QStringList &members)
Definition: KGpgGroupNode.cpp:117
int count(const T &value) const
void append(const T &value)
bool atEnd() const
void setDevice(QIODevice *device)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
static QStringList readGroups()
get all groups from GnuPG config file
Definition: KGpgGroupNode.cpp:255
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual KgpgCore::KgpgItemType getType() const
Returns the item type of this object.
Definition: KGpgGroupNode.cpp:148
The abstract base class for all classes that may have child objects.
Definition: KGpgExpandableNode.h:34
QString & replace(int position, int n, QChar after)
QString mid(int position, int n) const
QList< T > mid(int pos, int length) const
QString section(QChar sep, int start, int end, QFlags< QString::SectionFlag > flags) const
virtual void readChildren()
reimplemented in every base class to read in the child data
Definition: KGpgGroupNode.cpp:168
bool seek(qint64 pos)
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.