src/hbcore/cssparser/hbcssformatter_p.h
changeset 5 627c4a0fd0e7
parent 0 16d8024aca5e
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    37     static QString styleRulesToHtml(const HbVector<HbCss::StyleRule> &rules);
    37     static QString styleRulesToHtml(const HbVector<HbCss::StyleRule> &rules);
    38     static QString declarationsToString(const HbVector<HbCss::Declaration> &decls);
    38     static QString declarationsToString(const HbVector<HbCss::Declaration> &decls);
    39     
    39     
    40 private:
    40 private:
    41     static QString styleRuleToString(const HbCss::StyleRule &rule, int specificity=-1);
    41     static QString styleRuleToString(const HbCss::StyleRule &rule, int specificity=-1);
    42     static QString styleRuleToHtml(const HbCss::StyleRule &rule, QVector<const HbCss::Declaration*> usedDecls, int specificity=-1);
    42     static QString styleRuleToHtml(
       
    43         const HbCss::StyleRule &rule, 
       
    44         QVector<const HbCss::Declaration*> usedDecls, 
       
    45         int specificity=-1);
    43     static QString declarationToString(const HbCss::Declaration &decl, bool html=false);
    46     static QString declarationToString(const HbCss::Declaration &decl, bool html=false);
    44     static QString selectorsToString(const HbVector<HbCss::Selector> &selectors, int specificity=-1, bool html=false);
    47     static QString selectorsToString(
       
    48         const HbVector<HbCss::Selector> &selectors, int specificity=-1, bool html=false);
    45     static QString selectorToString(const HbCss::Selector &sel, bool html=false);
    49     static QString selectorToString(const HbCss::Selector &sel, bool html=false);
    46     
    50     
    47 };
    51 };
    48 
    52 
    49 #endif // HBCSSFORMATTER_P_H
    53 #endif // HBCSSFORMATTER_P_H