oopapidocs  2.0
Preference Class Reference

A Preference Enum class, that defines preferences for mp3 tracks similar to what is in musicmatch. More...

#include <preference.h>

Inheritance diagram for Preference:
Collaboration diagram for Preference:

List of all members.

Public Member Functions

 Preference (int value=0)

Protected Member Functions

const NameMap & nameMap () const
 You must override this method for your specific enumerator type.

Detailed Description

A Preference Enum class, that defines preferences for mp3 tracks similar to what is in musicmatch.

Definition at line 11 of file preference.h.


Constructor & Destructor Documentation

Preference::Preference ( int  value = 0)
Parameters:
value- from 0 to 10

Definition at line 29 of file preference.cpp.


Member Function Documentation

const NameMap & Preference::nameMap ( ) const [protected, virtual]

You must override this method for your specific enumerator type.

Returns:
a QMap<QString, int>

Implements Enum.

Definition at line 16 of file preference.cpp.

References Enum::initMap().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Enumerations