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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GLXFORWARDTRANSITIONPLUGIN_H |
|
20 #define GLXFORWARDTRANSITIONPLUGIN_H |
|
21 |
|
22 #include "glxeffectpluginbase.h" |
|
23 |
|
24 class GlxForwardTransitionPlugin : public GlxEffectPluginBase |
|
25 { |
|
26 public : |
|
27 GlxForwardTransitionPlugin(); |
|
28 ~GlxForwardTransitionPlugin(); |
|
29 QList <QString > getEffectFileList() { return mEffectFileList; } |
|
30 |
|
31 /* |
|
32 * setup the item postion and set the mItem value |
|
33 */ |
|
34 void setUpItems( QList< QGraphicsItem * > & items ); |
|
35 /* |
|
36 * second animation will be run later |
|
37 */ |
|
38 bool isAnimationLater(int index) ; |
|
39 |
|
40 QGraphicsItem * animationItem() |
|
41 { |
|
42 mItem->show(); |
|
43 return mItem ; |
|
44 } |
|
45 |
|
46 private : |
|
47 QList <QString > mEffectFileList; |
|
48 QGraphicsItem *mItem; |
|
49 }; |
|
50 |
|
51 #endif /*GLXFORWARDTRANSITIONPLUGIN_H*/ |
|
52 |
|