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 mhome. 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 QUICKLAUNCHBARVIEW_H 00020 #define QUICKLAUNCHBARVIEW_H 00021 00022 #include <MWidgetView> 00023 #include "quicklaunchbarmodel.h" 00024 #include "quicklaunchbarstyle.h" 00025 00026 class QuickLaunchBar; 00027 class QGraphicsLinearLayout; 00028 class MButton; 00029 00033 class QuickLaunchBarView : public MWidgetView 00034 { 00035 Q_OBJECT 00036 M_VIEW(QuickLaunchBarModel, QuickLaunchBarStyle) 00037 00038 public: 00042 QuickLaunchBarView(QuickLaunchBar *controller); 00043 00047 virtual ~QuickLaunchBarView(); 00048 00049 protected slots: 00051 virtual void updateData(const QList<const char *>& modifications); 00053 00054 protected: 00056 virtual void applyStyle(); 00057 virtual void setupModel(); 00059 00060 private: 00062 QGraphicsLinearLayout *launcherButtonLayout; 00063 00065 MButton *toggleLauncherButton; 00066 00067 #ifdef UNIT_TEST 00068 friend class Ut_QuickLaunchBarView; 00069 #endif 00070 }; 00071 00072 #endif
Copyright © 2011 Nokia Corporation | Generated on Thu Jul 7 2011 22:14:50 Doxygen 1.7.1 |
MeeGo Touch |