homescreensrv_plat/contentstorage_api/caicondescription.h
changeset 60 f62f87b200ec
child 61 8e5041d13c84
equal deleted inserted replaced
4:1a2a00e78665 60:f62f87b200ec
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: caicondescription.h
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CAICONDESCRIPTION_H
       
    19 #define CAICONDESCRIPTION_H
       
    20 
       
    21 #include <QSharedDataPointer>
       
    22 
       
    23 #include "caclient_global.h"
       
    24 
       
    25 class CaObjectAdapter;
       
    26 
       
    27 class CaIconDescriptionPrivate;
       
    28 
       
    29 class CACLIENT_EXPORT CaIconDescription
       
    30 {
       
    31 
       
    32 public:
       
    33 
       
    34     CaIconDescription();
       
    35     CaIconDescription(const CaIconDescription &iconDescription);
       
    36     ~CaIconDescription();
       
    37 
       
    38     CaIconDescription &operator=(const CaIconDescription &iconDescription);
       
    39 
       
    40     int id() const;
       
    41 
       
    42     QString filename() const;
       
    43     void setFilename(const QString &filename);
       
    44 
       
    45     int bitmapId() const;
       
    46     void setBitmapId(int id);
       
    47 
       
    48     int maskId() const;
       
    49     void setMaskId(int id);
       
    50 
       
    51     int skinMajorId() const;
       
    52     void setSkinMajorId(int id);
       
    53     int skinMinorId() const;
       
    54     void setSkinMinorId(int id);
       
    55 
       
    56 private:
       
    57 
       
    58     void setId(int id);
       
    59 
       
    60 private:
       
    61     /**
       
    62      * Pointer to a private implementation.
       
    63      */
       
    64     QSharedDataPointer<CaIconDescriptionPrivate> m_d;
       
    65 
       
    66     friend class CaIconDescriptionPrivate;
       
    67     friend class ::CaObjectAdapter;
       
    68 };
       
    69 
       
    70 #endif // CAICONDESCRIPTION_H