2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
Copyright (C) 2007, Christian Schoenebeck |
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 |
954 |
} |
} |
955 |
|
|
956 |
// Those items shall have a proper pixmap... |
// Those items shall have a proper pixmap... |
957 |
QPixmap pmChannel = QPixmap::fromMimeSource("qsamplerChannel.png"); |
QPixmap pmChannel = QPixmap(":/icons/qsamplerChannel.png"); |
958 |
QPixmap pmDevice; |
QPixmap pmDevice; |
959 |
switch (pDevice->deviceType()) { |
switch (pDevice->deviceType()) { |
960 |
case qsamplerDevice::Audio: |
case qsamplerDevice::Audio: |
961 |
pmDevice = QPixmap::fromMimeSource("audio2.png"); |
pmDevice = QPixmap(":/icons/audio2.png"); |
962 |
break; |
break; |
963 |
case qsamplerDevice::Midi: |
case qsamplerDevice::Midi: |
964 |
pmDevice = QPixmap::fromMimeSource("midi2.png"); |
pmDevice = QPixmap(":/icons/midi2.png"); |
965 |
break; |
break; |
966 |
case qsamplerDevice::None: |
case qsamplerDevice::None: |
967 |
break; |
break; |
1144 |
} |
} |
1145 |
|
|
1146 |
#endif |
#endif |
1147 |
|
|
1148 |
|
|
1149 |
|
// end of qsamplerChannel.cpp |