screensaver/snsrutils/inc/snsrlabel.h
author hgs
Fri, 25 Jun 2010 19:19:22 +0300
changeset 62 341166945d65
child 97 66b5fe3c07fd
permissions -rw-r--r--
201025

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
* 
* Description:  Screensaver label.
*
*/

#ifndef SNSRLABEL_H
#define SNSRLABEL_H

#include <hblabel.h>

#include "snsrutils_global.h"
#include "snsrtest_global.h"

SCREENSAVER_TEST_CLASS(T_SnsrUtils)

class SNSRUTILS_EXPORT SnsrLabel : public HbLabel
{

    Q_OBJECT
    
public:
    
    SnsrLabel(QGraphicsItem *parent = 0);
    SnsrLabel(const QString &displayText, QGraphicsItem *parent = 0);
    ~SnsrLabel();
    
protected:

    virtual void changeEvent(QEvent *event);

private:

    void setThemedTextColor();

    SCREENSAVER_TEST_FRIEND_CLASS(T_SnsrUtils)

};

#endif // SNSRLABEL_H