equal
deleted
inserted
replaced
30 GlxModelParm (qint32 collectionId = 0, qint32 depth = 0 , TGlxFilterItemType filterType = EGlxFilterItemAll , GlxContextMode contextMode = GlxContextPtGrid ,QString uri = NULL) |
30 GlxModelParm (qint32 collectionId = 0, qint32 depth = 0 , TGlxFilterItemType filterType = EGlxFilterItemAll , GlxContextMode contextMode = GlxContextPtGrid ,QString uri = NULL) |
31 : mCollectionId(collectionId) , |
31 : mCollectionId(collectionId) , |
32 mDepth(depth) , |
32 mDepth(depth) , |
33 mFilterType( filterType ), |
33 mFilterType( filterType ), |
34 mContextMode( contextMode ), |
34 mContextMode( contextMode ), |
35 mUri(uri) |
35 mUri(uri), |
|
36 mFetcherFiletrType(EGlxFetcherFilterNone) |
36 { |
37 { |
37 |
38 |
38 } |
39 } |
39 |
40 |
40 void setCollection (qint32 collectionId = 0) { mCollectionId = collectionId ; } |
41 void setCollection (qint32 collectionId = 0) { mCollectionId = collectionId ; } |
42 void setDepth (qint32 depth = 0) { mDepth = depth ; } |
43 void setDepth (qint32 depth = 0) { mDepth = depth ; } |
43 qint32 depth() { return mDepth; } |
44 qint32 depth() { return mDepth; } |
44 QString path() { return mUri; } |
45 QString path() { return mUri; } |
45 void setPath(QString uri = NULL) { mUri=uri; } |
46 void setPath(QString uri = NULL) { mUri=uri; } |
46 TGlxFilterItemType filterType() { return mFilterType; } |
47 TGlxFilterItemType filterType() { return mFilterType; } |
|
48 void setFilterType(TGlxFilterItemType filterType) { mFilterType = filterType; } |
47 void setContextMode( GlxContextMode contextMode ) { mContextMode = contextMode ; } |
49 void setContextMode( GlxContextMode contextMode ) { mContextMode = contextMode ; } |
48 GlxContextMode contextMode() { return mContextMode ; } |
50 GlxContextMode contextMode() { return mContextMode ; } |
|
51 void setFetcherFiterType(GlxFetcherFilterType filterType ){mFetcherFiletrType = filterType;} |
|
52 GlxFetcherFilterType fetcherFiterType() { return mFetcherFiletrType;} |
49 |
53 |
50 private: |
54 private: |
51 qint32 mCollectionId; |
55 qint32 mCollectionId; |
52 qint32 mDepth; |
56 qint32 mDepth; |
53 TGlxFilterItemType mFilterType; |
57 TGlxFilterItemType mFilterType; |
54 GlxContextMode mContextMode; |
58 GlxContextMode mContextMode; |
55 QString mUri; |
59 QString mUri; |
|
60 GlxFetcherFilterType mFetcherFiletrType; |
56 }; |
61 }; |
57 |
62 |
58 |
63 |
59 #endif /* GLXMODELPARM_H_ */ |
64 #endif /* GLXMODELPARM_H_ */ |