26 |
#include <qfileinfo.h> |
#include <qfileinfo.h> |
27 |
#include <qlistbox.h> |
#include <qlistbox.h> |
28 |
|
|
|
#include "qsamplerOptions.h" |
|
|
#include "qsamplerChannelStrip.h" |
|
|
|
|
29 |
#include "config.h" |
#include "config.h" |
30 |
|
|
31 |
|
|
50 |
|
|
51 |
|
|
52 |
// Channel dialog setup formal initializer. |
// Channel dialog setup formal initializer. |
53 |
void qsamplerChannelForm::setup ( qsamplerChannelStrip *pChannel, bool bNew ) |
void qsamplerChannelForm::setup ( qsamplerChannel *pChannel, bool bNew ) |
54 |
{ |
{ |
55 |
m_pChannel = pChannel; |
m_pChannel = pChannel; |
56 |
|
|
60 |
if (m_pChannel == NULL) |
if (m_pChannel == NULL) |
61 |
return; |
return; |
62 |
|
|
63 |
setCaption(m_pChannel->caption()); |
setCaption(tr("Channel %1").arg(m_pChannel->channelID())); |
64 |
|
|
65 |
// Check if we're up and connected. |
// Check if we're up and connected. |
66 |
if (m_pChannel->client() == NULL) |
if (m_pChannel->client() == NULL) |