diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:25:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:25:03 -0600 |
commit | b8fb4538e9eddfeb9eb0fa8def496f58cb7a9bf1 (patch) | |
tree | 1ef0b39b7a11558da73419c7162c0b585f640cbe /krArc/krarc.h | |
parent | c92efa3ed8797c482b343539ca6dc628c755370c (diff) | |
download | krusader-b8fb4538e9eddfeb9eb0fa8def496f58cb7a9bf1.tar.gz krusader-b8fb4538e9eddfeb9eb0fa8def496f58cb7a9bf1.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'krArc/krarc.h')
-rw-r--r-- | krArc/krarc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krArc/krarc.h b/krArc/krarc.h index d1e5f4f..acaba3c 100644 --- a/krArc/krarc.h +++ b/krArc/krarc.h @@ -28,7 +28,7 @@ #include <kio/slavebase.h> #include <kprocess.h> -class KProcess; +class TDEProcess; class KFileItem; class TQCString; @@ -47,8 +47,8 @@ public: virtual void copy (const KURL &src, const KURL &dest, int permissions, bool overwrite); public slots: - void receivedData(KProcess* proc,char* buf,int len); - void checkOutputForPassword( KProcess*,char*,int ); + void receivedData(TDEProcess* proc,char* buf,int len); + void checkOutputForPassword( TDEProcess*,char*,int ); protected: virtual bool initDirDict(const KURL& url,bool forced = false); @@ -109,10 +109,10 @@ class KrShellProcess : public KShellProcess { public: KrShellProcess() : KShellProcess(), errorMsg( TQString() ), outputMsg( TQString() ) { - connect(this,TQT_SIGNAL(receivedStderr(KProcess*,char*,int)), - this,TQT_SLOT(receivedErrorMsg(KProcess*,char*,int)) ); - connect(this,TQT_SIGNAL(receivedStdout(KProcess*,char*,int)), - this,TQT_SLOT(receivedOutputMsg(KProcess*,char*,int)) ); + connect(this,TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + this,TQT_SLOT(receivedErrorMsg(TDEProcess*,char*,int)) ); + connect(this,TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + this,TQT_SLOT(receivedOutputMsg(TDEProcess*,char*,int)) ); } TQString getErrorMsg() { @@ -123,14 +123,14 @@ public: } public slots: - void receivedErrorMsg(KProcess*, char *buf, int len) { + void receivedErrorMsg(TDEProcess*, char *buf, int len) { errorMsg += TQString::fromLocal8Bit( buf, len ); if( errorMsg.length() > 500 ) errorMsg = errorMsg.right( 500 ); receivedOutputMsg( 0, buf, len ); } - void receivedOutputMsg(KProcess*, char *buf, int len) { + void receivedOutputMsg(TDEProcess*, char *buf, int len) { outputMsg += TQString::fromLocal8Bit( buf, len ); if( outputMsg.length() > 500 ) outputMsg = outputMsg.right( 500 ); |