◆ IccProfilesMenuAction() [1/2]
Digikam::IccProfilesMenuAction::IccProfilesMenuAction |
( |
const QIcon & |
icon, |
|
|
const QString & |
text, |
|
|
QObject *const |
parent |
|
) |
| |
◆ IccProfilesMenuAction() [2/2]
Digikam::IccProfilesMenuAction::IccProfilesMenuAction |
( |
const QString & |
text, |
|
|
QObject *const |
parent |
|
) |
| |
◆ addProfile()
void Digikam::IccProfilesMenuAction::addProfile |
( |
const IccProfile & |
profile, |
|
|
const QString & |
description = QString() |
|
) |
| |
Add the given profile with the given description, or, if null, a standard description. Does not test for duplicity, does not sort into existing profiles.
References m_parent, and slotTriggered().
Referenced by addProfiles().
◆ addProfiles()
void Digikam::IccProfilesMenuAction::addProfiles |
( |
const QList< IccProfile > & |
profile | ) |
|
Checks the given profiles for validity, creates a suitable description (ICC profile description, file path), removes duplicates (in newly added list) by file path, sorts them and adds them in sorted order.
References addProfile().
Referenced by replaceProfiles().
◆ disableIfEmpty()
void Digikam::IccProfilesMenuAction::disableIfEmpty |
( |
| ) |
|
Disables if the menu is currently empty.
◆ parentObject()
QObject * Digikam::IccProfilesMenuAction::parentObject |
( |
| ) |
const |
Return the parent QObject.
References m_parent.
◆ replaceProfiles()
void Digikam::IccProfilesMenuAction::replaceProfiles |
( |
const QList< IccProfile > & |
profile | ) |
|
◆ slotTriggered
void Digikam::IccProfilesMenuAction::slotTriggered |
( |
QObject * |
obj | ) |
|
|
protectedslot |
◆ triggered
void Digikam::IccProfilesMenuAction::triggered |
( |
const IccProfile & |
profile | ) |
|
|
signal |
◆ m_parent
QObject* Digikam::IccProfilesMenuAction::m_parent |
|
protected |
The documentation for this class was generated from the following files: