1 |
// qsamplerDevice.cpp |
// qsamplerDevice.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2019, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2020, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
Copyright (C) 2007, 2008 Christian Schoenebeck |
Copyright (C) 2007, 2008 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 |
648 |
pMainForm->appendMessages(deviceName() + ' ' + s); |
pMainForm->appendMessages(deviceName() + ' ' + s); |
649 |
} |
} |
650 |
|
|
651 |
void Device::appendMessagesColor( const QString& s, |
void Device::appendMessagesColor( const QString& s, const QColor& rgb ) const |
|
const QString& c ) const |
|
652 |
{ |
{ |
653 |
MainForm *pMainForm = MainForm::getInstance(); |
MainForm *pMainForm = MainForm::getInstance(); |
654 |
if (pMainForm) |
if (pMainForm) |
655 |
pMainForm->appendMessagesColor(deviceName() + ' ' + s, c); |
pMainForm->appendMessagesColor(deviceName() + ' ' + s, rgb); |
656 |
} |
} |
657 |
|
|
658 |
void Device::appendMessagesText( const QString& s ) const |
void Device::appendMessagesText( const QString& s ) const |