|
|
|
@ -1831,14 +1831,14 @@ bool SearchDlg::ensureServiceRunning(const TQString& name)
|
|
|
|
|
|
|
|
|
|
if ( !kapp->dcopClient()->call( "klauncher", "klauncher", "start_service_by_desktop_name(TQString,TQStringList)",
|
|
|
|
|
data, replyType, replyData) ) {
|
|
|
|
|
qWarning( "call to klauncher failed.");
|
|
|
|
|
tqWarning( "call to klauncher failed.");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
TQDataStream reply(replyData, IO_ReadOnly);
|
|
|
|
|
|
|
|
|
|
if ( replyType != "serviceResult" )
|
|
|
|
|
{
|
|
|
|
|
qWarning( "unexpected result '%s' from klauncher.", replyType.data());
|
|
|
|
|
tqWarning( "unexpected result '%s' from klauncher.", replyType.data());
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
int result;
|
|
|
|
@ -1847,7 +1847,7 @@ bool SearchDlg::ensureServiceRunning(const TQString& name)
|
|
|
|
|
reply >> result >> dcopName >> error;
|
|
|
|
|
if (result != 0)
|
|
|
|
|
{
|
|
|
|
|
qWarning("Error starting: %s", error.local8Bit().data());
|
|
|
|
|
tqWarning("Error starting: %s", error.local8Bit().data());
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|