kgpg
keytreeview.cpp
Go to the documentation of this file.
102 selectionModel()->setCurrentIndex(idx, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows);
135 Qt::SortOrder order = cg.readEntry("SortAscending", true) ? Qt::AscendingOrder : Qt::DescendingOrder;
166 if (KMessageBox::questionYesNo(this, i18n("<p>Do you want to import file <b>%1</b> into your key ring?</p>",
const QMimeData * mimeData() const
const QByteArray & getOutputData() const
return the data read from standard output
Definition: kgpgexport.cpp:117
void setMimeData(QMimeData *data)
QItemSelectionModel * selectionModel() const
KGpgNode * nodeForIndex(const QModelIndex &index) const
Definition: keylistproxymodel.cpp:484
virtual void contentsDropEvent(QDropEvent *e)
Definition: keytreeview.cpp:162
void setDragDropMode(DragDropMode behavior)
QList< KGpgNode * > selectedNodes(bool *psame=NULL, KgpgCore::KgpgItemType *pt=NULL) const
Definition: keytreeview.cpp:45
int waitForFinished(const int msecs=-1)
blocks until the transaction is complete
Definition: kgpgtransaction.cpp:681
virtual void contentsDragMoveEvent(QDragMoveEvent *e)
Definition: keytreeview.cpp:156
bool isAutoRepeat() const
void sortByColumn(int column, Qt::SortOrder order)
int width() const
Qt::DropAction exec(QFlags< Qt::DropAction > supportedActions)
void importDrop(const KUrl::List &urls)
virtual KgpgCore::KgpgItemType getType() const =0
Returns the item type of this object.
int columnWidth(int column) const
void setColumnWidth(int column, int width)
QString number(int n, int base)
void returnPressed()
void setAccepted(bool accepted)
void resizeColumnToContents(int column)
bool isEmpty() const
virtual void select(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
virtual int columnCount(const QModelIndex &parent) const
void setText(const QString &text)
void setEditTriggers(QFlags< QAbstractItemView::EditTrigger > triggers)
T & first()
void setAcceptDrops(bool on)
int key() const
The abstract base class for all classes representing keyring data.
Definition: KGpgNode.h:42
State state() const
Definition: keylistproxymodel.h:30
typedef DropActions
virtual void setModel(QAbstractItemModel *model)
virtual int columnCount(const QModelIndex &parent) const =0
typedef ConstIterator
virtual QModelIndexList selectedIndexes() const
QString fromLatin1(const char *str, int size)
void setCurrentIndex(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
QModelIndex nodeIndex(KGpgNode *node)
Definition: keylistproxymodel.cpp:492
KeyTreeView(QWidget *parent=0, KeyListProxyModel *model=0)
Definition: keytreeview.cpp:34
QHeaderView * header() const
QAbstractItemModel * model() const
virtual void keyPressEvent(QKeyEvent *event)
virtual void keyPressEvent(QKeyEvent *event)
Definition: keytreeview.cpp:214
void setDragEnabled(bool enable)
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.