44
|
1 |
/*
|
|
2 |
* Copyright (c) 2008 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: VideoOperatorService class implementation.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
// Version :
|
|
19 |
|
|
20 |
// INCLUDE FILES
|
|
21 |
|
|
22 |
#include "videooperatorservice.h"
|
55
|
23 |
#include "videooperatorservice_p.h"
|
44
|
24 |
#include "videocollectiontrace.h"
|
|
25 |
|
|
26 |
// ---------------------------------------------------------------------------
|
|
27 |
// Constructor
|
|
28 |
// ---------------------------------------------------------------------------
|
|
29 |
//
|
|
30 |
VideoOperatorService::VideoOperatorService(QObject *parent) :
|
55
|
31 |
QObject(parent), d_ptr( new VideoOperatorServicePrivate() )
|
44
|
32 |
{
|
|
33 |
FUNC_LOG;
|
|
34 |
}
|
|
35 |
|
55
|
36 |
|
|
37 |
// ---------------------------------------------------------------------------
|
|
38 |
// Destructor
|
|
39 |
// ---------------------------------------------------------------------------
|
|
40 |
//
|
|
41 |
VideoOperatorService::~VideoOperatorService()
|
|
42 |
{
|
|
43 |
FUNC_LOG;
|
|
44 |
delete d_ptr;
|
|
45 |
}
|
|
46 |
|
44
|
47 |
// ---------------------------------------------------------------------------
|
|
48 |
// load
|
|
49 |
// ---------------------------------------------------------------------------
|
|
50 |
//
|
|
51 |
bool VideoOperatorService::load(int titleKey, int iconKey, int serviceUriKey, int appUidKey)
|
|
52 |
{
|
|
53 |
FUNC_LOG;
|
55
|
54 |
return d_ptr->load(titleKey, iconKey, serviceUriKey, appUidKey);
|
44
|
55 |
}
|
|
56 |
|
|
57 |
// ---------------------------------------------------------------------------
|
|
58 |
// title
|
|
59 |
// ---------------------------------------------------------------------------
|
|
60 |
//
|
|
61 |
const QString VideoOperatorService::title() const
|
|
62 |
{
|
55
|
63 |
return d_ptr->title();
|
44
|
64 |
}
|
|
65 |
|
|
66 |
// ---------------------------------------------------------------------------
|
|
67 |
// iconResource
|
|
68 |
// ---------------------------------------------------------------------------
|
|
69 |
//
|
|
70 |
const QString VideoOperatorService::iconResource() const
|
|
71 |
{
|
55
|
72 |
return d_ptr->iconResource();
|
44
|
73 |
}
|
|
74 |
|
|
75 |
// ---------------------------------------------------------------------------
|
|
76 |
// launchService
|
|
77 |
// ---------------------------------------------------------------------------
|
|
78 |
//
|
|
79 |
void VideoOperatorService::launchService()
|
|
80 |
{
|
|
81 |
FUNC_LOG;
|
55
|
82 |
d_ptr->launchService();
|
44
|
83 |
}
|
|
84 |
|
|
85 |
// End of file.
|