videocollection/videocollectionview/inc/videolistwidget.h
changeset 40 13331705e488
parent 39 f6d44a0cd476
child 41 229f037ce963
equal deleted inserted replaced
39:f6d44a0cd476 40:13331705e488
    20 #define VIDEOLISTWIDGET_H
    20 #define VIDEOLISTWIDGET_H
    21 
    21 
    22 #include <hbview.h>
    22 #include <hbview.h>
    23 #include <hblistview.h>
    23 #include <hblistview.h>
    24 #include <qmap.h>
    24 #include <qmap.h>
       
    25 #include <qpointer.h>
    25 #include <mpxitemid.h>
    26 #include <mpxitemid.h>
    26 #include "videoservices.h"
    27 #include "videoservices.h"
    27 #include "videocollectioncommon.h"
    28 #include "videocollectioncommon.h"
    28 
    29 
    29 class VideoSortFilterProxyModel;
    30 class VideoSortFilterProxyModel;
   106     /**
   107     /**
   107      * returns widget's model
   108      * returns widget's model
   108      * 
   109      * 
   109      * @return VideoSortFilterProxyModel*
   110      * @return VideoSortFilterProxyModel*
   110      */
   111      */
   111     VideoSortFilterProxyModel& getModel();
   112     VideoSortFilterProxyModel* getModel();
   112     
   113     
   113 public:
   114 public:
   114     
   115     
   115     /**
   116     /**
   116      * Called by the fw when some item is tapped. Method check that
   117      * Called by the fw when some item is tapped. Method check that
   353 
   354 
   354     /**
   355     /**
   355      * Provided model
   356      * Provided model
   356      * Not own.
   357      * Not own.
   357      */
   358      */
   358     VideoSortFilterProxyModel *mModel;
   359     QPointer<VideoSortFilterProxyModel> mModel;
   359 
   360 
   360     /**
   361     /**
   361      * pointer to videoservices instance
   362      * pointer to videoservices instance
   362      */
   363      */
   363     VideoServices* mVideoServices;
   364     VideoServices* mVideoServices;