homescreensrv_plat/contentstorage_api/inc/caicondescription.h
changeset 125 26079c1bb561
parent 88 7f0462e8c3da
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
       
     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     QString skinId() const;
       
    46     void setSkinId(const QString &skinId);
       
    47 
       
    48     QString applicationId() const;
       
    49     void setApplicationId(const QString &applicationId);
       
    50 
       
    51 private:
       
    52 
       
    53     void setId(int id);
       
    54 
       
    55 private:
       
    56     /**
       
    57      * Pointer to a private implementation.
       
    58      */
       
    59     QSharedDataPointer<CaIconDescriptionPrivate> m_d;
       
    60 
       
    61     friend class CaIconDescriptionPrivate;
       
    62     friend class ::CaObjectAdapter;
       
    63 };
       
    64 
       
    65 #endif // CAICONDESCRIPTION_H