videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/hbeffect.h
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: Implementation of HbEffect |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 2 % |
|
19 |
|
20 |
|
21 |
|
22 #ifndef HBEFFECT_H |
|
23 #define HBEFFECT_H |
|
24 |
|
25 #include <hbwidget.h> |
|
26 |
|
27 |
|
28 class HbEffect : public HbWidget |
|
29 { |
|
30 Q_OBJECT |
|
31 |
|
32 public: |
|
33 struct EffectStatus |
|
34 { |
|
35 Hb::EffectEvent reason; |
|
36 }; |
|
37 |
|
38 public: |
|
39 static bool add( QGraphicsItem *item, const QString &filePath, const QString &effectEvent ); |
|
40 static bool remove( QGraphicsItem *item, const QString &filePath, const QString &effectEvent ); |
|
41 |
|
42 static bool start( QGraphicsItem *item, |
|
43 const QString &effectEvent, |
|
44 QObject *receiver = 0, |
|
45 const char *member = 0 ); |
|
46 |
|
47 static bool cancel( QGraphicsItem *item ); |
|
48 |
|
49 static bool effectRunning( QGraphicsItem *item, const QString &effectEvent = QString() ); |
|
50 |
|
51 private: |
|
52 void started(); |
|
53 }; |
|
54 |
|
55 #endif /*HBEFFECT_H*/ |
|
56 |
|