hgcacheproxymodel/tsrc/fute/HgCacheProxyModelTestApp/src/mywindow.h
changeset 3 c863538fcbb6
parent 1 e48454f237ca
child 6 1cdcc61142d2
equal deleted inserted replaced
2:49c70dcc3f17 3:c863538fcbb6
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description:
    15 *
    15 *
    16 *  Version     : %version: 1 %
    16 *  Version     : %version: 4 %
    17 */
    17 */
    18 #ifndef CONTENTWIDGET_H
    18 #ifndef CONTENTWIDGET_H
    19 #define CONTENTWIDGET_H
    19 #define CONTENTWIDGET_H
    20 
    20 
    21 #include <hbview.h>
    21 #include <hbview.h>
    53 public:
    53 public:
    54     MyWindow();
    54     MyWindow();
    55     ~MyWindow();
    55     ~MyWindow();
    56 
    56 
    57 private slots:
    57 private slots:
    58     void processAction ( HbAction* action );
    58     void processAction( HbAction* action );
    59     void setIndex(int index);
    59     void sortTestTimeout();
    60     void timeout();
    60     void filterTestTimeout();
    61     
    61     
    62 private:
    62 private:
    63     HbMenu *createMainMenu();
    63     HbMenu *createMainMenu();
       
    64     
       
    65     void addChangeViewMenu(HbMenu* parent);
       
    66     void addCacheProxyModelMenu(HbMenu* parent);
       
    67     void addDataProviderMenu(HbMenu* parent);
    64     
    68     
    65 private:
    69 private:
    66     HbAbstractItemView* mView;      
    70     HbAbstractItemView* mView;      
    67     HgCacheProxyModel *mModel;
    71     HgCacheProxyModel *mModel;
    68 	
    72 	
    69 	MyDataProvider *mMyDataProvider;
    73 	MyDataProvider *mMyDataProvider;
    70     HbView* mMainView;	
    74     HbView* mMainView;	
    71     int mTestVal;
    75     QTimer *mSortTestTimer;
    72     QTimer *mTimer;
    76     int mSortTestVal;
    73 
    77     
       
    78     QTimer *mFilterTestTimer;
       
    79     int mFilterTestVal;
    74 };
    80 };
    75 
    81 
    76 #endif // CONTENTWIDGET_H
    82 #endif // CONTENTWIDGET_H