mpviewplugins/mpmediawallviewplugin/tsrc/unittest_mpmediawallview/stub/inc/mpreflectioneffect.h
changeset 48 af3740e3753f
equal deleted inserted replaced
42:79c49924ae23 48:af3740e3753f
       
     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:  stub for mpreflectioneffect
       
    15 *
       
    16 */
       
    17 #ifndef MPREFLECTIONEFFECT_H
       
    18 #define MPREFLECTIONEFFECT_H
       
    19 
       
    20 #include <QGraphicsEffect>
       
    21 
       
    22 class MpReflectionEffect: public QGraphicsEffect
       
    23 {
       
    24     Q_OBJECT
       
    25 
       
    26 public:
       
    27     MpReflectionEffect(QObject *parent = 0);
       
    28     ~MpReflectionEffect();
       
    29 
       
    30     QRectF boundingRectFor(const QRectF &rect) const;
       
    31 
       
    32 protected:
       
    33     void draw(QPainter *painter);
       
    34 
       
    35 private:
       
    36     Q_DISABLE_COPY(MpReflectionEffect)
       
    37 };
       
    38 
       
    39 #endif // MPREFLECTIONEFFECT_H
       
    40 
       
    41 // EOF