KLDAPWidgets::LdapConfigureWidgetNg Class
The LdapConfigureWidgetNg class Author: Laurent Montel <montel@kde.org>. More...
| Header: | #include <KLDAPWidgets/LdapConfigureWidgetNg> |
| CMake: | find_package(KPim6LdapWidgets REQUIRED)target_link_libraries(mytarget PRIVATE KPim6::LdapWidgets) |
Public Functions
| LdapConfigureWidgetNg(QWidget *parent = nullptr) | |
| virtual | ~LdapConfigureWidgetNg() override |
| bool | enablePlasmaActivities() const |
| KLDAPCore::LdapActivitiesAbstract * | ldapActivitiesAbstract() const |
| void | load() |
| void | save() |
| void | setEnablePlasmaActivities(bool newEnablePlasmaActivities) |
| void | setLdapActivitiesAbstract(KLDAPCore::LdapActivitiesAbstract *newldapActivitiesAbstract) |
Signals
| void | changed(bool) |
Detailed Description
inmodule LdapWidgets
Member Function Documentation
[explicit] LdapConfigureWidgetNg::LdapConfigureWidgetNg(QWidget *parent = nullptr)
Constructs a LdapConfigureWidgetNg with the given parent widget. parent the parent widget
[override virtual noexcept] LdapConfigureWidgetNg::~LdapConfigureWidgetNg()
Destroys the LdapConfigureWidgetNg.
[signal] void LdapConfigureWidgetNg::changed(bool)
Emitted when the configuration has changed. changed true if the configuration has been modified
bool LdapConfigureWidgetNg::enablePlasmaActivities() const
Returns whether Plasma Activities support is enabled. Returns true if Plasma Activities is enabled, false otherwise
See also setEnablePlasmaActivities().
KLDAPCore::LdapActivitiesAbstract *LdapConfigureWidgetNg::ldapActivitiesAbstract() const
Returns the LDAP Activities Abstract instance. Returns the LDAP Activities Abstract instance, or nullptr if not set
See also setLdapActivitiesAbstract().
void LdapConfigureWidgetNg::load()
Loads the configuration.
void LdapConfigureWidgetNg::save()
Saves the current configuration.
void LdapConfigureWidgetNg::setEnablePlasmaActivities(bool newEnablePlasmaActivities)
Sets whether Plasma Activities support is enabled. newEnablePlasmaActivities true to enable Plasma Activities, false to disable
See also enablePlasmaActivities().
void LdapConfigureWidgetNg::setLdapActivitiesAbstract(KLDAPCore::LdapActivitiesAbstract *newldapActivitiesAbstract)
Sets the LDAP Activities Abstract instance. newldapActivitiesAbstract the LDAP Activities Abstract instance to set
See also ldapActivitiesAbstract().