contentstorage/caclient/s60/inc/caobjectadapter.h
changeset 86 e492551a0d54
parent 85 7feec50967db
child 87 9d806967057c
equal deleted inserted replaced
85:7feec50967db 86:e492551a0d54
    20 
    20 
    21 // INCLUDES
    21 // INCLUDES
    22 
    22 
    23 // CLASS DECLARATION
    23 // CLASS DECLARATION
    24 #include <QList>
    24 #include <QList>
    25 #include <QPixmap>
       
    26 
    25 
    27 #include <cadefs.h>
    26 #include <cadefs.h>
    28 
    27 
    29 #include "cainnernotifierfilter.h"
    28 #include "cainnernotifierfilter.h"
    30 #include "canotifier.h"
    29 #include "canotifier.h"
    34 class CaEntry;
    33 class CaEntry;
    35 class CaQuery;
    34 class CaQuery;
    36 class CaNotifierFilter;
    35 class CaNotifierFilter;
    37 class CCaInnerEntry;
    36 class CCaInnerEntry;
    38 class CCaInnerNotifierFilter;
    37 class CCaInnerNotifierFilter;
       
    38 class HbIcon;
       
    39 class CFbsBitmap;
    39 
    40 
    40 /**
    41 /**
    41  *  CaObjectAdapter
    42  *  CaObjectAdapter
    42  *
    43  *
    43  */
    44  */
   122         TInt internalErrorCode);
   123         TInt internalErrorCode);
   123 
   124 
   124     /**
   125     /**
   125      * Creates icon.
   126      * Creates icon.
   126      * @param entry entry.
   127      * @param entry entry.
   127      * @return QPixmap.
   128      * @return HbIcon.
   128      */
   129      */
   129     static QPixmap makeIcon(
   130     static HbIcon makeIcon(const CaEntry& entry, const QSize &size);
   130         const CaEntry& entry,
       
   131         const QSize &size);
       
   132 
   131 
   133     /**
   132     /**
   134      * Converts notifier type to inner notifier type.
   133      * Converts notifier type to inner notifier type.
   135      * @param from notifier type.
   134      * @param from notifier type.
   136      * @param to resulting inner notifier type.
   135      * @param to resulting inner notifier type.
   181 
   180 
   182 private:
   181 private:
   183     /**
   182     /**
   184      * Creates icon. Leaving version.
   183      * Creates icon. Leaving version.
   185      * @param entry entry.
   184      * @param entry entry.
   186      * @return QPixmap.
   185      * @return HbIcon.
   187      */
   186      */
   188     static QPixmap makeIconL(
   187     static HbIcon makeIconL(const CaEntry& entry, const QSize &size);
   189         const CaEntry& entry,
       
   190         const QSize &size);
       
   191 
   188 
   192     /**
   189     /**
   193      * Make bitmap copy, used to get rid of compression for extended bitmap
   190      * Make bitmap copy, used to get rid of compression for extended bitmap
   194      * @param input input bitmap.
   191      * @param input input bitmap.
   195      * @return copied bitmap.
   192      * @return copied bitmap.