KTextAddons
translatorconfigurelanguagelistwidget.cpp
18TranslatorConfigureLanguageListWidget::TranslatorConfigureLanguageListWidget(const QString &labelText, QWidget *parent)
57void TranslatorConfigureLanguageListWidget::addItem(const QString &translatedStr, const QString &languageCode)
84 item->setCheckState(list.contains(item->data(LanguageCode).toString()) ? Qt::Checked : Qt::Unchecked);
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void catchReturnKey(QObject *lineEdit)
KIOCORE_EXPORT QStringList list(const QString &fileClass)
void textChanged(const QString &text)
void append(QList< T > &&value)
Qt::CheckState checkState() const const
virtual QVariant data(int role) const const
Qt::ItemFlags flags() const const
void setCheckState(Qt::CheckState state)
virtual void setData(const QVariant &value, int role)
void setEditable(bool editable)
void setFlags(Qt::ItemFlags flags)
void setText(const QString &text)
void appendRow(QStandardItem *item)
void clear()
QStandardItem * item(int row, int column) const const
virtual int rowCount(const QModelIndex &parent) const const override
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
CaseInsensitive
Unchecked
ItemIsUserCheckable
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 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:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.