equal
deleted
inserted
replaced
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * |
15 * |
16 * Version : %version: 3 % |
16 * Version : %version: 5 % |
17 */ |
17 */ |
18 #include "dataproviderhelper.h" |
18 #include "dataproviderhelper.h" |
19 #include <QtDebug> |
19 #include <QtDebug> |
20 |
20 |
21 const int KRole1 = Qt::UserRole+1; |
21 const int KRole1 = Qt::UserRole+1; |
250 QVariant DataProviderHelper::testCreateIcon(int index, QPixmap aPixmap) |
250 QVariant DataProviderHelper::testCreateIcon(int index, QPixmap aPixmap) |
251 { |
251 { |
252 return createIcon(index, aPixmap); |
252 return createIcon(index, aPixmap); |
253 } |
253 } |
254 |
254 |
|
255 void DataProviderHelper::testUpdateIcon(int pos, QVariant icon, bool silent) |
|
256 { |
|
257 updateIcon(pos, icon, silent); |
|
258 } |
|
259 |
255 void DataProviderHelper::testEmitDataChanged(QModelIndex from,QModelIndex to) |
260 void DataProviderHelper::testEmitDataChanged(QModelIndex from,QModelIndex to) |
256 { |
261 { |
257 emit dataChanged(from,to); |
262 emit dataChanged(from,to); |
258 } |
263 } |
259 |
264 |