44
|
1 |
/*
|
|
2 |
* Copyright (c) 2008-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: XQSettingsManager class stub.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef XQSETTINGSMANAGER_H
|
|
19 |
#define XQSETTINGSMANAGER_H
|
|
20 |
|
|
21 |
#include <QObject>
|
|
22 |
#include <QVariant>
|
|
23 |
|
|
24 |
class XQCentralRepositorySettingsKey : public QObject
|
|
25 |
{
|
50
|
26 |
Q_OBJECT
|
|
27 |
|
44
|
28 |
public:
|
|
29 |
|
|
30 |
XQCentralRepositorySettingsKey(int uid, int key)
|
|
31 |
{
|
|
32 |
Q_UNUSED(uid);
|
|
33 |
Q_UNUSED(key);
|
|
34 |
}
|
|
35 |
};
|
|
36 |
|
50
|
37 |
class XQSettingsManager : QObject
|
44
|
38 |
{
|
50
|
39 |
Q_OBJECT
|
|
40 |
|
|
41 |
public:
|
|
42 |
XQSettingsManager();
|
|
43 |
~XQSettingsManager();
|
|
44 |
|
44
|
45 |
enum Type
|
|
46 |
{
|
|
47 |
TypeVariant = 0,
|
|
48 |
TypeInt,
|
|
49 |
TypeDouble,
|
|
50 |
TypeString,
|
|
51 |
TypeByteArray
|
|
52 |
};
|
|
53 |
|
|
54 |
public:
|
50
|
55 |
QVariant readItemValue(XQCentralRepositorySettingsKey &key, int type);
|
44
|
56 |
|
50
|
57 |
static QVariant mReadItemValueReturnValue;
|
44
|
58 |
};
|
|
59 |
|
|
60 |
#endif // XQSETTINGSMANAGER_H
|