Diff of /tags/KDE/4.5.80/kdelibs/knewstuff/knewstuff3/ui/itemsgridviewdelegate.cpp
Parent Directory
|
Revision Log
|
Patch
| 38 |
|
|
| 39 |
namespace KNS3 |
namespace KNS3 |
| 40 |
{ |
{ |
| 41 |
static const int DelegateTitleLabel = 0; |
enum { DelegateTitleLabel, DelegateAuthorLabel, DelegateDownloadCounterLabel, |
| 42 |
static const int DelegateAuthorLabel = 1; |
DelegateGridRatingWidget }; |
| 43 |
static const int DelegateDownloadCounterLabel = 2; |
|
|
static const int DelegateRatingWidget = 3; |
|
|
//optional maybe not sure for now |
|
|
static const int DelegateDetailsButton = 5; |
|
|
static const int DelegateDescriptionLabel = 6; |
|
|
|
|
| 44 |
ItemsGridViewDelegate::ItemsGridViewDelegate(QAbstractItemView *itemView, Engine* engine, QObject * parent) |
ItemsGridViewDelegate::ItemsGridViewDelegate(QAbstractItemView *itemView, Engine* engine, QObject * parent) |
| 45 |
: ItemsViewBaseDelegate(itemView, engine, parent) |
: ItemsViewBaseDelegate(itemView, engine, parent) |
| 46 |
,m_elementYPos(0) |
,m_elementYPos(0) |
|
|
Legend:
| Removed from v.1198725 |
|
| changed lines |
| |
Added in v.1199825 |
|
|