src/hbcore/utils/hbfontspec.h
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
child 23 e6ad4ef83b23
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    51 
    51 
    52     HbFontSpec();
    52     HbFontSpec();
    53     explicit HbFontSpec(HbFontSpec::Role role);
    53     explicit HbFontSpec(HbFontSpec::Role role);
    54 
    54 
    55     HbFontSpec(const HbFontSpec &other);
    55     HbFontSpec(const HbFontSpec &other);
       
    56 	HbFontSpec(const QString fontName); 
    56     HbFontSpec &operator=(const HbFontSpec &other);
    57     HbFontSpec &operator=(const HbFontSpec &other);
    57 
    58 
    58     ~HbFontSpec();
    59     ~HbFontSpec();
    59 
    60 
    60     bool isNull() const;
    61     bool isNull() const;
    69 
    70 
    70     operator QVariant() const;
    71     operator QVariant() const;
    71     bool operator==(const HbFontSpec &other) const;
    72     bool operator==(const HbFontSpec &other) const;
    72     bool operator!=(const HbFontSpec &other) const;
    73     bool operator!=(const HbFontSpec &other) const;
    73 
    74 
       
    75 	QString typefaceFamily() const;
       
    76 	void setTypefaceFamily(QString fontName);
    74 private:
    77 private:
    75     HbFontSpecPrivate *d;
    78     HbFontSpecPrivate *d;
    76 };
    79 };
    77 
    80 
    78 Q_DECLARE_METATYPE(HbFontSpec)
    81 Q_DECLARE_METATYPE(HbFontSpec)