2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2008, Christian Schoenebeck |
Copyright (C) 2008, Christian Schoenebeck |
5 |
|
Copyright (C) 2010, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
69 |
break; |
break; |
70 |
case Qt::DecorationRole: |
case Qt::DecorationRole: |
71 |
if (m_FxSends[index.row()].deletion()) |
if (m_FxSends[index.row()].deletion()) |
72 |
return QIcon(":/icons/formRemove.png"); |
return QIcon(":/images/formRemove.png"); |
73 |
if (m_FxSends[index.row()].isNew()) |
if (m_FxSends[index.row()].isNew()) |
74 |
return QIcon(":/icons/itemNew.png"); |
return QIcon(":/images/itemNew.png"); |
75 |
if (m_FxSends[index.row()].isModified()) |
if (m_FxSends[index.row()].isModified()) |
76 |
return QIcon(":/icons/formEdit.png"); |
return QIcon(":/images/formEdit.png"); |
77 |
return QIcon(":/icons/itemFile.png"); |
return QIcon(":/images/itemFile.png"); |
78 |
case Qt::FontRole: { |
case Qt::FontRole: { |
79 |
if (m_FxSends[index.row()].isModified()) { |
if (m_FxSends[index.row()].isModified()) { |
80 |
QFont font; |
QFont font; |