contentstorage/caclient/inc/caicondescription_p.h
changeset 85 7feec50967db
child 86 e492551a0d54
equal deleted inserted replaced
4:1a2a00e78665 85:7feec50967db
       
     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_p.h
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CAICONDESCRIPTION_PRIVATE_H
       
    19 #define CAICONDESCRIPTION_PRIVATE_H
       
    20 
       
    21 #include <QString.h>
       
    22 #include <QSharedData>
       
    23 
       
    24 class CaIconDescription;
       
    25 
       
    26 class CaIconDescriptionPrivate: public QSharedData
       
    27 {
       
    28 public:
       
    29 
       
    30     explicit CaIconDescriptionPrivate(
       
    31         CaIconDescription *iconDescriptionPublic);
       
    32     ~CaIconDescriptionPrivate();
       
    33 
       
    34     int id() const;
       
    35     void setId(int id);
       
    36 
       
    37     QString filename() const;
       
    38     void setFileName(const QString& fileName);
       
    39 
       
    40     int bitmapId() const;
       
    41     void setBitmapId(int bitmapId);
       
    42 
       
    43     int maskId() const;
       
    44     void setMaskId(int maskId);
       
    45 
       
    46     int skinMajorId() const;
       
    47     void setSkinMajorId(int id);
       
    48     int skinMinorId() const;
       
    49     void setSkinMinorId(int id);
       
    50 
       
    51 private:
       
    52 
       
    53     /*!
       
    54      * Points to the CaEntry instance that uses this private implementation.
       
    55      */
       
    56     CaIconDescription * const m_q;
       
    57 
       
    58     /*!
       
    59      *
       
    60      */
       
    61     int mId;
       
    62 
       
    63     /*!
       
    64      *
       
    65      */
       
    66     QString mFilename;
       
    67 
       
    68     /*!
       
    69      *
       
    70      */
       
    71     int mBitmapId;
       
    72 
       
    73     /*!
       
    74      *
       
    75      */
       
    76     int mMaskId;
       
    77 
       
    78     /*!
       
    79      *
       
    80      */
       
    81     int mSkinMajorId;
       
    82 
       
    83     /*!
       
    84      *
       
    85      */
       
    86     int mSkinMinorId;
       
    87 
       
    88 };
       
    89 
       
    90 #endif //CAICONDESCRIPTION_PRIVATE_H