• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::IccProfilesMenuAction

Digikam::IccProfilesMenuAction Class Reference

#include <iccprofilescombobox.h>

Inheritance diagram for Digikam::IccProfilesMenuAction:
Inheritance graph
[legend]

List of all members.

Signals

void triggered (const IccProfile &profile)

Public Member Functions

 IccProfilesMenuAction (const QString &text, QObject *parent)
 IccProfilesMenuAction (const KIcon &icon, const QString &text, QObject *parent)
void addProfile (const IccProfile &profile, const QString &description=QString())
void addProfiles (const QList< IccProfile > &profile)
void clear ()
void disableIfEmpty ()
void replaceProfiles (const QList< IccProfile > &profile)

Protected Slots

void slotTriggered (QObject *)

Protected Attributes

QSignalMapper * m_mapper
QObject * m_parent

Detailed Description

Definition at line 96 of file iccprofilescombobox.h.


Constructor & Destructor Documentation

Digikam::IccProfilesMenuAction::IccProfilesMenuAction ( const KIcon &  icon,
const QString &  text,
QObject *  parent 
)

Definition at line 166 of file iccprofilescombobox.cpp.

Digikam::IccProfilesMenuAction::IccProfilesMenuAction ( const QString &  text,
QObject *  parent 
)

Definition at line 175 of file iccprofilescombobox.cpp.


Member Function Documentation

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.

Definition at line 207 of file iccprofilescombobox.cpp.

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.

Definition at line 195 of file iccprofilescombobox.cpp.

void Digikam::IccProfilesMenuAction::clear (  ) 

Clears the menu.

Definition at line 190 of file iccprofilescombobox.cpp.

void Digikam::IccProfilesMenuAction::disableIfEmpty (  ) 

Disables if the menu is currently empty.

Definition at line 223 of file iccprofilescombobox.cpp.

void Digikam::IccProfilesMenuAction::replaceProfiles ( const QList< IccProfile > &  profile  ) 

Equivalent to calling clear() and addProfiles().

Definition at line 184 of file iccprofilescombobox.cpp.

void Digikam::IccProfilesMenuAction::slotTriggered ( QObject *  obj  )  [protected, slot]

Definition at line 229 of file iccprofilescombobox.cpp.

void Digikam::IccProfilesMenuAction::triggered ( const IccProfile &  profile  )  [signal]

Member Data Documentation

QSignalMapper* Digikam::IccProfilesMenuAction::m_mapper [protected]

Definition at line 139 of file iccprofilescombobox.h.

QObject* Digikam::IccProfilesMenuAction::m_parent [protected]

Definition at line 138 of file iccprofilescombobox.h.


The documentation for this class was generated from the following files:
  • iccprofilescombobox.h
  • iccprofilescombobox.cpp

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal