![]() |
Home · All Namespaces · All Classes |
00001 /**************************************************************************** 00002 ** 00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00004 ** All rights reserved. 00005 ** Contact: Nokia Corporation (directui@nokia.com) 00006 ** 00007 ** This file is part of systemui. 00008 ** 00009 ** If you have questions regarding the use of this file, please contact 00010 ** Nokia at directui@nokia.com. 00011 ** 00012 ** This library is free software; you can redistribute it and/or 00013 ** modify it under the terms of the GNU Lesser General Public 00014 ** License version 2.1 as published by the Free Software Foundation 00015 ** and appearing in the file LICENSE.LGPL included in the packaging 00016 ** of this file. 00017 ** 00018 ****************************************************************************/ 00019 #ifndef _UNLOCKAREA_H 00020 #define _UNLOCKAREA_H 00021 00022 class MLabel; 00023 class MWidget; 00024 class MImageWidget; 00025 00026 #include <QObject> 00027 #include <MLocale> 00028 #include <MStylableWidget> 00029 00030 #ifdef HAVE_QMSYSTEM 00031 #include <qmtime.h> 00032 #endif 00033 00034 #include "unlocknotifications.h" 00035 00036 class UnlockArea : public MStylableWidget 00037 { 00038 Q_OBJECT 00039 00040 public: 00041 UnlockArea(QGraphicsItem *parent = NULL); 00042 virtual ~UnlockArea(); 00043 00044 void setEnabled(bool enabled); 00045 virtual void setActive(bool active); 00046 00047 private: 00048 void updateState(); 00049 00050 MWidget *m_unlock_icon; 00051 bool m_enabled; 00052 bool m_active; 00053 00054 #ifdef UNIT_TEST 00055 friend class ut_unlockarea; 00056 #endif 00057 }; 00058 00059 #endif
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |