screensaver/snsrutils/inc/snsrlabel.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:06:53 +0300
changeset 61 2b1b11a301d2
child 97 66b5fe3c07fd
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* 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