KIdentityManagement
identitycombo.h
28 explicit IdentityCombo(KIdentityManagementCore::IdentityManager *manager, QWidget *parent = nullptr);
58 [[nodiscard]] KIdentityManagementCore::IdentityActivitiesAbstract *identityActivitiesAbstract() const;
60 void setIdentityActivitiesAbstract(KIdentityManagementCore::IdentityActivitiesAbstract *newIdentityActivitiesAbstract);
Manages the list of identities.
Definition identitymanager.h:26
void setIdentityActivitiesAbstract(KIdentityManagementCore::IdentityActivitiesAbstract *newIdentityActivitiesAbstract)
Definition identitycombo.cpp:73
bool enablePlasmaActivities() const
Definition identitycombo.cpp:78
void identityChanged(KIdentityManagementCore::Identity::Id uoid)
Really emitted whenever the current identity changes.
bool isDefaultIdentity() const
Return whether the current identity is the default identity.
Definition identitycombo.cpp:102
void setEnablePlasmaActivities(bool newEnablePlasmaActivities)
Definition identitycombo.cpp:83
void setShowDefault(bool showDefault)
Show (default) on the default identity. By default this behavior is disabled.
Definition identitycombo.cpp:194
KIdentityManagementCore::IdentityActivitiesAbstract * identityActivitiesAbstract() const
Definition identitycombo.cpp:68
KIdentityManagementCore::IdentityManager * identityManager() const
Returns the IdentityManager used in this combo box.
Definition identitycombo.cpp:189
IdentityCombo(KIdentityManagementCore::IdentityManager *manager, QWidget *parent=nullptr)
IdentityCombo contructor.
Definition identitycombo.cpp:54
void setCurrentIdentity(const KIdentityManagementCore::Identity &identity)
Set the current identity.
Definition identitycombo.cpp:107
void slotIdentityManagerChanged()
Connected to IdentityManager::changed(). Reloads the list of identities.
Definition identitycombo.cpp:160
KIdentityManagementCore::Identity::Id currentIdentity() const
Return the current identity id.
Definition identitycombo.cpp:95
QComboBox(QWidget *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:27 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:51:27 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.