equal
deleted
inserted
replaced
|
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: Homescreen wallpaper helper class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef HSWALLPAPERHELPER_H |
|
19 #define HSWALLPAPERHELPER_H |
|
20 |
|
21 #include "hsutils_global.h" |
|
22 #include "hstest_global.h" |
|
23 |
|
24 HOMESCREEN_TEST_CLASS(t_hsUtils) |
|
25 |
|
26 class HSUTILS_EXPORT HsWallpaperHelper |
|
27 { |
|
28 public: |
|
29 static QImage processImage(const QString &sourcePath, |
|
30 const QRect &targetRect, |
|
31 const QRect &sourceRect, |
|
32 bool centerTarget = true); |
|
33 |
|
34 private: |
|
35 HOMESCREEN_TEST_FRIEND_CLASS(t_hsUtils) |
|
36 }; |
|
37 |
|
38 #endif // HSWALLPAPERHELPER_H |