Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/2/head
Timothy Pearson 12 years ago
parent 6af58c78b8
commit ebc6678331

@ -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())
{

@ -33,7 +33,7 @@
#include "libkdcraw_export.h"
class KProcess;
class TDEProcess;
namespace KDcrawIface
{
@ -81,7 +81,7 @@ public:
private slots:
void slotReadStdoutFromDcraw(KProcess*, char*, int);
void slotReadStdoutFromDcraw(TDEProcess*, char*, int);
private:

Loading…
Cancel
Save