ColorTheme.h
QtCore/QObject
QtGui/QColor
UserMetrics.h
ColorTheme.h
QtCore/QObject
QtGui/QColor
ColorTheme.h
UserMetrics.h
UserMetricsOutput::ColorTheme
UserMetricsOutput

    /*
    *Copyright(C)2013Canonical,Ltd.
    *
    *Thislibraryisfreesoftware;youcanredistributeitand/ormodifyitunder
    *thetermsofversion3oftheGNULesserGeneralPublicLicenseaspublished
    *bytheFreeSoftwareFoundation.
    *
    *Thislibraryisdistributedinthehopethatitwillbeuseful,butWITHOUT
    *ANYWARRANTY;withouteventheimpliedwarrantyofMERCHANTABILITYorFITNESS
    *FORAPARTICULARPURPOSE.SeetheGNULesserGeneralPublicLicenseformore
    *details.
    *
    *YoushouldhavereceivedacopyoftheGNULesserGeneralPublicLicense
    *alongwiththisprogram.Ifnot,see<http://www.gnu.org/licenses/>.
    *
    *Author:PeteWoods<pete.woods@canonical.com>
    */

    #ifndefUSERMETRICSOUTPUT_COLORTHEME_H_
    #defineUSERMETRICSOUTPUT_COLORTHEME_H_

    #include<QtCore/QObject>
    #include<QtGui/QColor>

    namespaceUserMetricsOutput{

    classQ_DECL_EXPORTColorTheme:publicQObject{
    Q_OBJECT

    Q_PROPERTY(QColorstartREADstartNOTIFYstartChangedFINAL)

    Q_PROPERTY(QColormainREADmainNOTIFYmainChangedFINAL)

    Q_PROPERTY(QColorendREADendNOTIFYendChangedFINAL)

    protected:
    explicitColorTheme(QObject*parent=0);

    public:
    virtual~ColorTheme();

    virtualQColorstart()const=0;

    virtualQColormain()const=0;

    virtualQColorend()const=0;

    Q_SIGNALS:
    voidstartChanged(constQColor&color);

    voidmainChanged(constQColor&color);

    voidendChanged(constQColor&color);

    };

    }

    #endif//USERMETRICSOUTPUT_COLORTHEME_H_