taskswitcher/server/inc/tsenv.h
changeset 124 e36b2f4799c0
equal deleted inserted replaced
121:0b3699f6c654 124:e36b2f4799c0
       
     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:
       
    15 *
       
    16 */
       
    17 #ifndef TSENV_H
       
    18 #define TSENV_H
       
    19 
       
    20 #include <QObject>
       
    21 #include <QPixmap>
       
    22 
       
    23 class TsEnv: public QObject
       
    24 {
       
    25     Q_OBJECT
       
    26 public slots:
       
    27     void createThumbnail(const QPixmap& source, 
       
    28                          int angle =0, 
       
    29                          const void* userData =0);
       
    30 
       
    31 signals:
       
    32     void thumbnailCreated(QPixmap thumbnail, const void *userData);
       
    33 
       
    34 };
       
    35 
       
    36 #endif //TSENV_H