pull/1/head
Timothy Pearson 13 years ago
parent 6f6e37706e
commit 50fa73a8ca

@ -1 +1 @@
Subproject commit 26d642b2620397b76d5fbb64a9ef5ca8f2334f72 Subproject commit 21cb4a9d2a0e083b10dee6d22958c4f58de6c5b2

@ -2,8 +2,8 @@
# find commands/ document/ gui/ -iname '*.cpp' -or -iname '*.h' > list.txt # find commands/ document/ gui/ -iname '*.cpp' -or -iname '*.h' > list.txt
SET(gui_dcop_SRCS SET(gui_dcop_SRCS
gui/application/RosegardenIface.h gui/application/RosegardenIface.skel
gui/editors/segment/TrackEditorIface.h gui/editors/segment/TrackEditorIface.skel
) )
SET(ui_SRCS SET(ui_SRCS

@ -13,5 +13,5 @@ SET(sequencer_SRCS
) )
SET(seq_dcop_SRCS SET(seq_dcop_SRCS
sequencer/RosegardenSequencerIface.h sequencer/RosegardenSequencerIface.skel
) )

@ -1104,7 +1104,7 @@ RosegardenSequencerApp::getSoundDrivertqStatus(const TQString &guiVersion)
drivertqStatus |= VERSION_OK; drivertqStatus |= VERSION_OK;
else { else {
std::cerr << "WARNING: RosegardenSequencerApp::getSoundDriverStatus: " std::cerr << "WARNING: RosegardenSequencerApp::getSoundDriverStatus: "
<< "GUI version \"" << guiVersion << "GUI version \"" << guiVersion.ascii()
<< "\" does not match sequencer version \"" << VERSION << "\" does not match sequencer version \"" << VERSION
<< "\"" << std::endl; << "\"" << std::endl;
} }

@ -123,14 +123,14 @@ SequencerMmapper::setFileSize(size_t size)
// (seek() to wanted size, then write a byte) // (seek() to wanted size, then write a byte)
// //
if (::lseek(m_fd, size - 1, SEEK_SET) == -1) { if (::lseek(m_fd, size - 1, SEEK_SET) == -1) {
std::cerr << "WARNING: SequencerMmapper : Couldn't lseek in " << m_fileName std::cerr << "WARNING: SequencerMmapper : Couldn't lseek in " << m_fileName.ascii()
<< " to " << size << std::endl; << " to " << size << std::endl;
throw Exception("lseek failed"); throw Exception("lseek failed");
} }
if (::write(m_fd, "\0", 1) != 1) { if (::write(m_fd, "\0", 1) != 1) {
std::cerr << "WARNING: SequencerMmapper : Couldn't write byte in " std::cerr << "WARNING: SequencerMmapper : Couldn't write byte in "
<< m_fileName << std::endl; << m_fileName.ascii() << std::endl;
throw Exception("write failed"); throw Exception("write failed");
} }
} }

@ -982,7 +982,7 @@ AlsaDriver::createMidiDevice(AlsaPortDescription *port,
int outputPort = checkAlsaError(snd_seq_create_simple_port int outputPort = checkAlsaError(snd_seq_create_simple_port
(m_midiHandle, (m_midiHandle,
portName, portName.ascii(),
SND_SEQ_PORT_CAP_READ | SND_SEQ_PORT_CAP_READ |
SND_SEQ_PORT_CAP_SUBS_READ, SND_SEQ_PORT_CAP_SUBS_READ,
SND_SEQ_PORT_TYPE_APPLICATION), SND_SEQ_PORT_TYPE_APPLICATION),
@ -990,7 +990,7 @@ AlsaDriver::createMidiDevice(AlsaPortDescription *port,
if (outputPort >= 0) { if (outputPort >= 0) {
std::cerr << "CREATED OUTPUT PORT " << outputPort << ":" << portName << " for device " << deviceId << std::endl; std::cerr << "CREATED OUTPUT PORT " << outputPort << ":" << portName.ascii() << " for device " << deviceId << std::endl;
m_outputPorts[deviceId] = outputPort; m_outputPorts[deviceId] = outputPort;
@ -1179,7 +1179,7 @@ AlsaDriver::renameDevice(DeviceId id, TQString name)
} }
} }
std::cerr << "Renamed " << m_client << ":" << i->second << " to " << name << std::endl; std::cerr << "Renamed " << m_client << ":" << i->second << " to " << name.ascii() << std::endl;
} }
ClientPortPair ClientPortPair
@ -1252,7 +1252,7 @@ void
AlsaDriver::setConnectionToDevice(MappedDevice &device, TQString connection) AlsaDriver::setConnectionToDevice(MappedDevice &device, TQString connection)
{ {
ClientPortPair pair( -1, -1); ClientPortPair pair( -1, -1);
if (connection && connection != "") { if (!connection.isNull() && connection != "") {
pair = getPortByName(connection.ascii()); pair = getPortByName(connection.ascii());
} }
setConnectionToDevice(device, connection, pair); setConnectionToDevice(device, connection, pair);
@ -1352,7 +1352,7 @@ AlsaDriver::setPlausibleConnection(DeviceId id, TQString idealConnection)
ClientPortPair port(getPortByName(idealConnection.ascii())); ClientPortPair port(getPortByName(idealConnection.ascii()));
audit << "AlsaDriver::setPlausibleConnection: connection like " audit << "AlsaDriver::setPlausibleConnection: connection like "
<< idealConnection << " requested for device " << id << std::endl; << idealConnection.ascii() << " requested for device " << id << std::endl;
if (port.first != -1 && port.second != -1) { if (port.first != -1 && port.second != -1) {
@ -1610,7 +1610,7 @@ AlsaDriver::setCurrentTimer(TQString timer)
if (timer == getCurrentTimer()) if (timer == getCurrentTimer())
return ; return ;
std::cerr << "AlsaDriver::setCurrentTimer(" << timer << ")" << std::endl; std::cerr << "AlsaDriver::setCurrentTimer(" << timer.ascii() << ")" << std::endl;
std::string name(timer.ascii()); std::string name(timer.ascii());

Loading…
Cancel
Save