1 |
// qsamplerChannel.cpp |
// qsamplerChannel.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 |
768 |
} |
} |
769 |
|
|
770 |
void Channel::appendMessagesColor ( |
void Channel::appendMessagesColor ( |
771 |
const QString& sText, const QString& sColor ) const |
const QString& sText, const QColor& rgb ) const |
772 |
{ |
{ |
773 |
MainForm *pMainForm = MainForm::getInstance(); |
MainForm *pMainForm = MainForm::getInstance(); |
774 |
if (pMainForm) |
if (pMainForm) |
775 |
pMainForm->appendMessagesColor(channelName() + ' ' + sText, sColor); |
pMainForm->appendMessagesColor(channelName() + ' ' + sText, rgb); |
776 |
} |
} |
777 |
|
|
778 |
void Channel::appendMessagesText ( const QString& sText ) const |
void Channel::appendMessagesText ( const QString& sText ) const |