|
|
|
@ -86,17 +86,17 @@ void DcrawBinary::cleanUp()
|
|
|
|
|
|
|
|
|
|
void DcrawBinary::checkSystem()
|
|
|
|
|
{
|
|
|
|
|
KProcess process;
|
|
|
|
|
TDEProcess process;
|
|
|
|
|
process.clearArguments();
|
|
|
|
|
process << path();
|
|
|
|
|
|
|
|
|
|
connect(&process, TQT_SIGNAL(receivedStdout(KProcess *, char*, int)),
|
|
|
|
|
this, TQT_SLOT(slotReadStdoutFromDcraw(KProcess*, char*, int)));
|
|
|
|
|
connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char*, int)),
|
|
|
|
|
this, TQT_SLOT(slotReadStdoutFromDcraw(TDEProcess*, char*, int)));
|
|
|
|
|
|
|
|
|
|
d->available = process.start(KProcess::Block, KProcess::Stdout);
|
|
|
|
|
d->available = process.start(TDEProcess::Block, TDEProcess::Stdout);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DcrawBinary::slotReadStdoutFromDcraw(KProcess*, char* buffer, int buflen)
|
|
|
|
|
void DcrawBinary::slotReadStdoutFromDcraw(TDEProcess*, char* buffer, int buflen)
|
|
|
|
|
{
|
|
|
|
|
// The dcraw output looks like this : Raw photo decoder "dcraw" v8.54...
|
|
|
|
|
TQString dcrawHeader("Raw photo decoder \"dcraw\" v");
|
|
|
|
@ -151,7 +151,7 @@ bool DcrawBinary::versionIsRight() const
|
|
|
|
|
|
|
|
|
|
void DcrawBinary::checkReport()
|
|
|
|
|
{
|
|
|
|
|
TQString appName = KGlobal::instance()->aboutData()->programName();
|
|
|
|
|
TQString appName = TDEGlobal::instance()->aboutData()->programName();
|
|
|
|
|
|
|
|
|
|
if (!isAvailable())
|
|
|
|
|
{
|
|
|
|
|