equal
deleted
inserted
replaced
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(const QString fontName); |
57 HbFontSpec &operator=(const HbFontSpec &other); |
57 HbFontSpec &operator=(const HbFontSpec &other); |
58 |
58 |
59 ~HbFontSpec(); |
59 ~HbFontSpec(); |
60 |
60 |
61 bool isNull() const; |
61 bool isNull() const; |
70 |
70 |
71 operator QVariant() const; |
71 operator QVariant() const; |
72 bool operator==(const HbFontSpec &other) const; |
72 bool operator==(const HbFontSpec &other) const; |
73 bool operator!=(const HbFontSpec &other) const; |
73 bool operator!=(const HbFontSpec &other) const; |
74 |
74 |
75 QString typefaceFamily() const; |
75 QString typefaceFamily() const; |
76 void setTypefaceFamily(QString fontName); |
76 void setTypefaceFamily(QString fontName); |
77 private: |
77 private: |
78 HbFontSpecPrivate *d; |
78 HbFontSpecPrivate *d; |
79 }; |
79 }; |
80 |
80 |
81 Q_DECLARE_METATYPE(HbFontSpec) |
81 Q_DECLARE_METATYPE(HbFontSpec) |