![]() |
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 00020 #ifndef LOCKSCREENSTATUSAREAVIEW_H 00021 #define LOCKSCREENSTATUSAREAVIEW_H 00022 00023 #include <MWidgetView> 00024 #include "lockscreenstatusareastyle.h" 00025 #include "statusareamodel.h" 00026 #include "contextframeworkcontext.h" 00027 00028 class StatusArea; 00029 class StatusIndicator; 00030 00034 class LockScreenStatusAreaView : public MWidgetView 00035 { 00036 Q_OBJECT 00037 M_VIEW(StatusAreaModel, LockScreenStatusAreaStyle) 00038 00039 public: 00045 LockScreenStatusAreaView(StatusArea *controller); 00046 00050 virtual ~LockScreenStatusAreaView(); 00051 00053 virtual void setGeometry(const QRectF &rect); 00055 00056 private slots: 00058 void updateStatusBarGeometryProperty(); 00059 00060 private: 00062 ContextFrameworkContext contextFrameworkContext; 00063 00065 StatusArea *controller; 00066 00068 StatusIndicator *phoneNetworkIndicator; 00069 00071 StatusIndicator *batteryIndicator; 00072 00074 StatusIndicator *phoneSignalStrengthIndicator; 00075 00077 StatusIndicator *phoneNetworkTypeIndicator; 00078 00080 StatusIndicator *bluetoothIndicator; 00081 00083 StatusIndicator *gpsIndicator; 00084 00086 StatusIndicator *presenceIndicator; 00087 00089 StatusIndicator *profileIndicator; 00090 00092 StatusIndicator *callIndicator; 00093 00095 StatusIndicator *alarmIndicator; 00096 00098 StatusIndicator *notifierIndicator; 00099 00101 StatusIndicator *callForwardingIndicator; 00102 00104 StatusIndicator *transferStatusIndicator; 00105 00107 QRectF updatedStatusBarGeometry; 00108 00110 bool orientationChangeSignalConnected; 00111 00112 #ifdef UNIT_TEST 00113 friend class Ut_LockScreenStatusAreaView; 00114 #endif 00115 }; 00116 00117 #endif // LOCKSCREENSTATUSAREAVIEW_H
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |