equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef _GINEBRA_MALSTROM_ANIMATOR_H_ |
|
19 #define _GINEBRA_MALSTROM_ANIMATOR_H_ |
|
20 |
|
21 #include <QObject> |
|
22 #include "../visibilityanimator.h" |
|
23 |
|
24 class ChromeSnippet; |
|
25 class QPainterPath; |
|
26 |
|
27 class MalstromAnimator : public VisibilityAnimator |
|
28 { |
|
29 Q_OBJECT |
|
30 |
|
31 public: |
|
32 MalstromAnimator(ChromeSnippet* snippet); |
|
33 virtual ~MalstromAnimator(); |
|
34 void setPath(QPainterPath* path); |
|
35 public slots: |
|
36 virtual void updateVisibility(qreal step); |
|
37 |
|
38 private: |
|
39 QPainterPath* m_path; |
|
40 |
|
41 }; |
|
42 |
|
43 #endif |
|