| 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 MPOPUPLISTVIEW_H 00021 #define MPOPUPLISTVIEW_H 00022 00023 #include "mdialogview.h" 00024 #include "mpopuplistmodel.h" 00025 #include "mpopupliststyle.h" 00026 00027 #include <QModelIndex> 00028 #include <QItemSelectionModel> 00029 00030 class MPopupListViewPrivate; 00031 class MPopupList; 00032 class QAbstractItemModel; 00033 00043 class M_VIEWS_EXPORT MPopupListView : public MDialogView 00044 { 00045 Q_OBJECT 00046 M_VIEW(MPopupListModel, MPopupListStyle) 00047 00048 public: 00053 MPopupListView(MPopupList *controller); 00054 00058 virtual ~MPopupListView(); 00059 00060 protected Q_SLOTS: 00061 00065 virtual void scrollTo(const QModelIndex &index) const; 00066 00068 virtual void updateData(const QList<const char *>& modifications); 00070 00071 protected: 00072 00074 MPopupListView(MPopupListViewPrivate &dd, MPopupList *controller); 00076 00078 virtual void setupModel(); 00079 virtual void applyStyle(); 00081 00082 private: 00083 Q_DISABLE_COPY(MPopupListView) 00084 Q_DECLARE_PRIVATE(MPopupListView) 00085 00086 Q_PRIVATE_SLOT(d_func(), void _q_scrollOnFirstAppearance()) 00087 }; 00088 00089 #endif
| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:14:21 (PDT) Doxygen 1.7.1 |
MeeGo Touch |