| Home · All Classes · Main Classes · Deprecated |
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 libmeegotouch. 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 MCONTAINERVIEW_H 00021 #define MCONTAINERVIEW_H 00022 00023 #include <mwidgetview.h> 00024 #include <mexport.h> 00025 #include <mcontainermodel.h> 00026 #include <mcontainerstyle.h> 00027 00028 class MContainerViewPrivate; 00029 class MContainer; 00030 00048 class M_VIEWS_EXPORT MContainerView : public MWidgetView 00049 { 00050 Q_OBJECT 00051 M_VIEW(MContainerModel, MContainerStyle) 00052 00053 public: 00058 MContainerView(MContainer *controller); 00059 00063 virtual ~MContainerView(); 00064 00065 protected: 00067 virtual void drawBackground(QPainter *painter, const QStyleOptionGraphicsItem *option) const; 00068 virtual void applyStyle(); 00069 virtual void setupModel(); 00071 00072 MContainerView(MContainerViewPrivate &dd, MContainer *controller); 00073 00074 private Q_SLOTS: 00076 virtual void updateData(const QList<const char *>& modifications); 00078 00079 public Q_SLOTS: 00080 void headerPressed(); 00081 void headerReleased(); 00082 void headerCanceled(); 00083 void headerMoved(); 00084 00085 Q_SIGNALS: 00089 void headerClicked(); 00090 00091 private: 00092 Q_DISABLE_COPY(MContainerView) 00093 Q_DECLARE_PRIVATE(MContainerView) 00094 }; 00095 00096 #endif
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:20 (PDT) Doxygen 1.7.1 |
MeeGo Touch |