Logo Search packages:      
Sourcecode: kcm-tablet version File versions  Download package

KConfigGroup ProfileManagement::availableProfiles (  ) 

Returns the KConfigGroup with all available profiles for the current tablet device

This is used to fill the combobox with the profile names, create/delete profiles and to update the configuration if something changed.

Returns:
the profile group object that holds all profile information.

Definition at line 158 of file profilemanagement.cpp.

References m_deviceName.

Referenced by Wacom::TabletWidget::addProfile(), Wacom::TabletWidget::delProfile(), and Wacom::TabletWidget::loadTabletInformation().

{
    KSharedConfig::Ptr profilesConfig = KSharedConfig::openConfig("tabletprofilesrc", KConfig::SimpleConfig);

    return KConfigGroup(profilesConfig, m_deviceName);
}


Generated by  Doxygen 1.6.0   Back to index