![]() |
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 VOLUMEBARWINDOW_H 00020 #define VOLUMEBARWINDOW_H 00021 00022 #include <MWindow> 00023 00024 class VolumeBarLogic; 00025 class VolumeBar; 00026 00032 class VolumeBarWindow : public MWindow { 00033 Q_OBJECT 00034 00035 public: 00037 VolumeBarWindow(VolumeBarLogic *logic, QWidget *parent = 0); 00038 00040 ~VolumeBarWindow(); 00041 00043 void updateVolume(); 00044 00045 private slots: 00051 void setVolume(qreal percentage); 00052 00053 private: 00054 Q_DISABLE_COPY(VolumeBarWindow) 00055 00056 00057 VolumeBarLogic *logic; 00058 00060 VolumeBar *volumeBar; 00061 00062 #ifdef UNIT_TEST 00063 friend class Ut_VolumeBarWindow; 00064 #endif 00065 }; 00066 00067 #endif
Copyright © 2011 Nokia Corporation | Generated on Tue Aug 30 2011 16:38:12 Doxygen 1.7.1 |
MeeGo Touch |