diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:45:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:45:52 -0600 |
commit | 6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (patch) | |
tree | 44659d1cc0c37eb995e572bc1b979e75a74210fb /kooka/kocrocrad.cpp | |
parent | e2385b701b464dc2259fcd5f3819c98f2c8c4438 (diff) | |
download | tdegraphics-6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef.tar.gz tdegraphics-6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kooka/kocrocrad.cpp')
-rw-r--r-- | kooka/kocrocrad.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kooka/kocrocrad.cpp b/kooka/kocrocrad.cpp index 00bfb47b..340bc4ad 100644 --- a/kooka/kocrocrad.cpp +++ b/kooka/kocrocrad.cpp @@ -104,7 +104,7 @@ EngineError ocradDialog::setupGui() TQVBox *page = ocrPage(); TQ_CHECK_PTR( page ); - KConfig *conf = KGlobal::config (); + KConfig *conf = TDEGlobal::config (); conf->setGroup( CFG_GROUP_OCR_DIA ); //Qt::Horizontal line @@ -177,7 +177,7 @@ ocradDialog::~ocradDialog() void ocradDialog::writeConfig( void ) { - KConfig *conf = KGlobal::config (); + KConfig *conf = TDEGlobal::config (); conf->setGroup( CFG_GROUP_OCR_DIA ); conf->writeEntry( CFG_OCRAD_BINARY, TQString(getOCRCmd())); @@ -207,22 +207,22 @@ void ocradDialog::version( const TQString& exe ) { if( m_proc ) delete m_proc; - m_proc = new KProcess; + m_proc = new TDEProcess; kdDebug(28000) << "Using " << exe << " as command" << endl; *m_proc << exe; *m_proc << TQString("-V"); - connect( m_proc, TQT_SIGNAL(receivedStdout(KProcess *, char *, int )), - this, TQT_SLOT(slReceiveStdIn(KProcess *, char *, int ))); + connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int )), + this, TQT_SLOT(slReceiveStdIn(TDEProcess *, char *, int ))); - if( ! m_proc->start( KProcess::NotifyOnExit, KProcess::Stdout ) ) + if( ! m_proc->start( TDEProcess::NotifyOnExit, TDEProcess::Stdout ) ) { slReceiveStdIn( 0, (char*) "unknown", 7 ); } } -void ocradDialog::slReceiveStdIn( KProcess*, char *buffer, int buflen) +void ocradDialog::slReceiveStdIn( TDEProcess*, char *buffer, int buflen) { TQString vstr = TQString::fromUtf8(buffer, buflen); |