src/hbcore/image/hbiconimpl_p.h
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 30 80e4d18b72f5
equal deleted inserted replaced
21:4633027730f5 23:e6ad4ef83b23
    25 
    25 
    26 #ifndef HBICONIMPL_P_H
    26 #ifndef HBICONIMPL_P_H
    27 #define HBICONIMPL_P_H
    27 #define HBICONIMPL_P_H
    28 
    28 
    29 #include <QIcon>
    29 #include <QIcon>
       
    30 #include <QMetaType>
    30 #include <hbglobal.h>
    31 #include <hbglobal.h>
    31 
    32 
    32 #include "hbthemecommon_p.h"
    33 #include "hbthemecommon_p.h"
    33 
    34 
    34 typedef void HbIconMaskedData ;
    35 typedef void HbIconMaskedData ;
    81                        Qt::Alignment alignment,
    82                        Qt::Alignment alignment,
    82                        const QPainterPath &clipPath = QPainterPath(),
    83                        const QPainterPath &clipPath = QPainterPath(),
    83                        HbMaskableIconImpl *maskIconData = 0) = 0;
    84                        HbMaskableIconImpl *maskIconData = 0) = 0;
    84     virtual QSize defaultSize() const = 0;
    85     virtual QSize defaultSize() const = 0;
    85     virtual QSize size() = 0;
    86     virtual QSize size() = 0;
    86     virtual ErrorCode intialize() {
    87     virtual ErrorCode initialize() {
    87         return ErrorNone;
    88         return ErrorNone;
    88     }
    89     }
    89 
    90 
    90     void setColor(const QColor &color) {
    91     void setColor(const QColor &color) {
    91         this->iconColor = color;
    92         this->iconColor = color;
   173     QColor iconColor;
   174     QColor iconColor;
   174     bool multiPieceIcon;
   175     bool multiPieceIcon;
   175     HbRenderingMode renderMode;
   176     HbRenderingMode renderMode;
   176 };
   177 };
   177 
   178 
       
   179 Q_DECLARE_METATYPE(HbIconImpl *)
       
   180 
   178 #endif // HBICONIMPL_P_H
   181 #endif // HBICONIMPL_P_H
   179