![]() |
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 STATUSINDICATORMENU_H_ 00021 #define STATUSINDICATORMENU_H_ 00022 00023 #include <MApplicationMenu> 00024 #include "mstatusindicatormenuextensioninterface.h" 00025 00026 class StatusIndicatorMenuWindow; 00027 00031 class StatusIndicatorMenu : public MApplicationMenu, public MStatusIndicatorMenuInterface 00032 { 00033 Q_OBJECT 00034 00035 public: 00040 StatusIndicatorMenu(QGraphicsItem *parent = NULL); 00041 00045 virtual ~StatusIndicatorMenu(); 00046 00048 virtual void showStatusIndicatorMenu(); 00049 virtual void hideStatusIndicatorMenu(); 00051 00052 signals: 00053 00057 void showRequested(); 00058 00062 void hideRequested(); 00063 00064 private slots: 00065 00069 void setStatusIndicatorMenuInterface(MApplicationExtensionInterface *extension); 00070 00074 void launchControlPanelAndHide(); 00075 00076 private: // methods 00077 00079 const static QString CONTROL_PANEL_SERVICE_NAME; 00080 00081 #ifdef UNIT_TEST 00082 friend class Ut_StatusIndicatorMenu; 00083 #endif 00084 }; 00085 00086 #endif /* STATUSINDICATORMENU_H_ */
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |