![]() |
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 SCREENLOCKWINDOW_H 00020 #define SCREENLOCKWINDOW_H 00021 00022 #include <MWindow> 00023 #include <X11/Xdefs.h> 00024 00025 class MApplicationExtensionArea; 00026 00030 class ScreenLockWindow : public MWindow 00031 { 00032 Q_OBJECT 00033 00034 public: 00042 ScreenLockWindow(MApplicationExtensionArea *extensionArea, QWidget *parent = NULL); 00043 00047 virtual ~ScreenLockWindow(); 00048 00054 void setLowPowerMode(bool enable); 00055 00056 protected: 00061 virtual void showEvent(QShowEvent *event); 00062 00064 virtual void paintEvent(QPaintEvent *event); 00066 00067 private: 00069 void setLowPowerModeProperty(); 00070 00072 void setStackingLayerProperty(); 00073 00075 void setOrientationAngleProperty(); 00076 00078 void setSkipTaskbarProperty(); 00079 00080 void changeNetWmState(bool set, Atom one, Atom two = 0); 00081 00083 void applyStyle(); 00084 00086 bool lowPowerMode; 00087 00088 #ifdef UNIT_TEST 00089 friend class Ut_ScreenLockWindow; 00090 #endif 00091 }; 00092 00093 #endif
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |