![]() |
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 SYSUID_H 00020 #define SYSUID_H 00021 00022 #include <QObject> 00023 #include <QPointer> 00024 #include "mnamespace.h" 00025 #include <QSharedPointer> 00026 #include "applicationcontext.h" 00027 00028 #ifdef HAVE_QMSYSTEM 00029 #include <qmlocks.h> 00030 #endif 00031 00032 class UsbUi; 00033 class BatteryBusinessLogic; 00034 class ShutdownBusinessLogic; 00035 class StatusAreaRenderer; 00036 class StatusIndicatorMenuBusinessLogic; 00037 class NotificationManager; 00038 class NotificationManagerInterface; 00039 class MCompositorNotificationSink; 00040 class NGFNotificationSink; 00041 class UnlockNotificationSink; 00042 class NotifierNotificationSink; 00043 class ScreenLockBusinessLogic; 00044 class VolumeBarLogic; 00045 class MApplicationExtensionArea; 00046 00047 class Sysuid : public QObject 00048 { 00049 Q_OBJECT 00050 00051 public: 00052 Sysuid(QObject* parent); 00053 virtual ~Sysuid(); 00054 static Sysuid* instance(); 00055 00061 NotificationManagerInterface ¬ificationManagerInterface(); 00062 00068 NotifierNotificationSink& notifierNotificationSink(); 00069 00070 signals: 00074 void orientationChangeFinished(const M::Orientation &); 00075 00076 private slots: 00080 void applyUseMode(); 00081 00085 void updateCompositorNotificationSinkEnabledStatus(); 00086 00087 private: 00088 void loadTranslations(); 00089 00090 private: 00091 BatteryBusinessLogic *batteryBusinessLogic; 00092 ShutdownBusinessLogic *shutdownBusinessLogic; 00093 UsbUi *usbUi; 00094 static Sysuid *instance_; 00095 00097 StatusAreaRenderer *statusAreaRenderer; 00098 00100 StatusIndicatorMenuBusinessLogic *statusIndicatorMenuBusinessLogic; 00101 00103 NotificationManager *notificationManager; 00104 00106 MCompositorNotificationSink *mCompositorNotificationSink; 00107 00109 NGFNotificationSink *ngfNotificationSink; 00110 00112 NotifierNotificationSink *notifierNotificationSink_; 00113 00115 ScreenLockBusinessLogic *screenLockBusinessLogic; 00116 00118 MApplicationExtensionArea *volumeExtensionArea; 00119 00121 QSharedPointer<ContextItem> useMode; 00122 00123 #ifdef HAVE_QMSYSTEM 00124 00125 MeeGo::QmLocks qmLocks; 00126 #endif 00127 00128 #ifdef UNIT_TEST 00129 friend class Ut_Sysuid; 00130 #endif 00131 }; 00132 00133 #endif // SYSUID_H
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |