MauiKit Accounts
mauiaccounts.cpp
71bool MauiAccounts::addCloudAccount(const QString &server, const QString &user, const QString &password)
73 const QVariantMap account = {{FMH::MODEL_NAME[FMH::MODEL_KEY::SERVER], server}, {FMH::MODEL_NAME[FMH::MODEL_KEY::USER], user}, {FMH::MODEL_NAME[FMH::MODEL_KEY::PASSWORD], password}};
179 if (this->removeCloudAccount(this->m_data.at(index)[FMH::MODEL_KEY::SERVER], this->m_data.at(index)[FMH::MODEL_KEY::USER])) {
189 if (this->removeCloudAccount(this->m_data.at(index)[FMH::MODEL_KEY::SERVER], this->m_data.at(index)[FMH::MODEL_KEY::USER])) {
MauiAccounts class provides an interface to access the system registered accounts,...
Definition mauiaccounts.h:33
void currentAccountIndexChanged(int index)
currentAccountIndexChanged
void currentAccountChanged(QVariantMap account)
currentAccountChanged
void countChanged()
void preListChanged()
void postListChanged()
std::optional< QSqlQuery > query(const QString &queryStatement)
static const QHash< MODEL_KEY, QString > MODEL_NAME
const FMH::MODEL toModel(const QVariantMap &map)
const QVariantMap toMap(const MODEL &model)
const_reference at(qsizetype i) const const
qsizetype size() const const
Q_EMITQ_EMIT
void deleteLater()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:48:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:48:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.