Pimcommon
recentaddresswidget.cpp
75 connect(mListView, &QListWidget::itemSelectionChanged, this, &RecentAddressWidget::updateButtonState);
76 connect(mListView, &QListWidget::customContextMenuRequested, this, &RecentAddressWidget::slotCustomContextMenuRequested);
134 i18np("Do you want to remove this email address?", "Do you want to remove %1 email addresses?", selectedItems.count()),
static RecentAddresses * self(KConfig *config=nullptr)
Definition recentaddresses.cpp:26
QString i18np(const char *singular, const char *plural, const TYPE &arg...)
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void catchReturnKey(QObject *lineEdit)
ButtonCode questionTwoActions(QWidget *parent, const QString &text, const QString &title, const KGuiItem &primaryAction, const KGuiItem &secondaryAction, const QString &dontAskAgainName=QString(), Options options=Notify)
KGuiItem remove()
KGuiItem cancel()
const QList< QKeySequence > & shortcut(StandardShortcut id)
void clicked(bool checked)
ExtendedSelection
void addLayout(QLayout *layout, int stretch)
QPoint pos()
KeyPress
Type type() const const
QIcon fromTheme(const QString &name)
ClearAndSelect
void clear()
void returnPressed()
text
void textChanged(const QString &text)
qsizetype count() const const
bool isEmpty() const const
void addItems(const QStringList &labels)
void clear()
count
void setCurrentRow(int row)
void insertItem(int row, QListWidgetItem *item)
QListWidgetItem * item(int row) const const
QListWidgetItem * itemAt(const QPoint &p) const const
void itemSelectionChanged()
int row(const QListWidgetItem *item) const const
QList< QListWidgetItem * > selectedItems() const const
QListWidgetItem * takeItem(int row)
QString text() const const
void activated()
bool isEmpty() const const
QString trimmed() const const
CustomContextMenu
Key_Delete
void keyEvent(KeyAction action, QWidget *widget, Qt::Key key, Qt::KeyboardModifiers modifier, int delay)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
void customContextMenuRequested(const QPoint &pos)
void setEnabled(bool)
pos
void setFocus()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:46:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:46:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.