videocollection/tsrc/stubs/inc/xqsettingsmanagerstub.h
author hgs
Fri, 06 Aug 2010 09:43:48 +0300
changeset 50 21fe8338c6bf
parent 44 518105d52e45
child 55 4bfa887905cf
permissions -rw-r--r--
201031

/*
* Copyright (c) 2008-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:  XQSettingsManager class stub.
*
*/

#ifndef XQSETTINGSMANAGER_H
#define XQSETTINGSMANAGER_H

#include <QObject>
#include <QVariant>

class XQCentralRepositorySettingsKey : public QObject
{
    Q_OBJECT
    
public:
    
    XQCentralRepositorySettingsKey(int uid, int key)
    {
        Q_UNUSED(uid);
        Q_UNUSED(key);
    }
};

class XQSettingsManager : QObject
{
    Q_OBJECT
    
public:
    XQSettingsManager();
    ~XQSettingsManager();
    
    enum Type
    {
        TypeVariant = 0,
        TypeInt,
        TypeDouble,
        TypeString,
        TypeByteArray
    };
    
public:
    QVariant readItemValue(XQCentralRepositorySettingsKey &key, int type);
    
    static QVariant mReadItemValueReturnValue;
};

#endif // XQSETTINGSMANAGER_H