Kstars
draglistbox.cpp
70 if (!(text == i18n("Ignore") && QString(evt->source()->objectName()) == "FieldList" && evt->source() != this))
87 if (!(text == i18n("Ignore") && QString(evt->source()->objectName()) == "FieldPool" && evt->source() != this))
Extension of KListWidget that allows Drag-and-Drop with other DragListBoxes.
Definition draglistbox.h:23
QString i18n(const char *text, const TYPE &arg...)
virtual void mousePressEvent(QMouseEvent *event) override
virtual void mouseReleaseEvent(QMouseEvent *event) override
Qt::DropAction exec(Qt::DropActions supportedActions)
void setMimeData(QMimeData *data)
void ignore()
QPoint pos() const const
void acceptProposedAction()
const QMimeData * mimeData() const const
QObject * source() const const
void accept()
bool isEmpty() const const
void addItem(QListWidgetItem *item)
count
QListWidgetItem * currentItem() const const
currentRow
QList< QListWidgetItem * > findItems(const QString &text, Qt::MatchFlags flags) const const
void insertItem(int row, QListWidgetItem *item)
QListWidgetItem * item(int row) const const
QListWidgetItem * itemAt(const QPoint &p) const const
virtual QMimeData * mimeData(const QList< QListWidgetItem * > &items) const const
int row(const QListWidgetItem *item) const const
QListWidgetItem * takeItem(int row)
QRect visualItemRect(const QListWidgetItem *item) const const
bool hasText() const const
void setText(const QString &text)
QString text() const const
objectName
int y() const const
Qt::MouseButton button() const const
MatchExactly
LeftButton
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.