homescreensrv_plat/contentstorage_api/caicondescription.h
author hgs
Mon, 13 Sep 2010 13:26:33 +0300
changeset 116 305818acdca4
parent 88 7f0462e8c3da
permissions -rw-r--r--
201036

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description: caicondescription.h
 *
 */

#ifndef CAICONDESCRIPTION_H
#define CAICONDESCRIPTION_H

#include <QSharedDataPointer>

#include "caclient_global.h"

class CaObjectAdapter;

class CaIconDescriptionPrivate;

class CACLIENT_EXPORT CaIconDescription
{

public:

    CaIconDescription();
    CaIconDescription(const CaIconDescription &iconDescription);
    ~CaIconDescription();

    CaIconDescription &operator=(const CaIconDescription &iconDescription);

    int id() const;

    QString filename() const;
    void setFilename(const QString &filename);

    QString skinId() const;
    void setSkinId(const QString &skinId);

    QString applicationId() const;
    void setApplicationId(const QString &applicationId);

private:

    void setId(int id);

private:
    /**
     * Pointer to a private implementation.
     */
    QSharedDataPointer<CaIconDescriptionPrivate> m_d;

    friend class CaIconDescriptionPrivate;
    friend class ::CaObjectAdapter;
};

#endif // CAICONDESCRIPTION_H