Changeset 11 for psi/trunk/src/tools/openpgp/gpgproc
- Timestamp:
- Sep 5, 2006, 1:08:29 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
psi/trunk/src/tools/openpgp/gpgproc/gpgproc.cpp
r2 r11 11 11 #include"qpipe.h" 12 12 13 #if defined(Q_WS_WIN) || defined(Q_OS_OS2) 14 #include<qprocess.h> 13 15 #ifdef Q_WS_WIN 14 #include<qprocess.h>15 16 #include<windows.h> 17 #endif 16 18 #else 17 19 #include<unistd.h> … … 30 32 SafeDelete sd; 31 33 32 #if def Q_WS_WIN34 #if defined(Q_WS_WIN) || defined(Q_OS_OS2) 33 35 QProcess *proc; 34 36 #else … … 171 173 }*/ 172 174 173 #if def Q_WS_WIN175 #if defined(Q_WS_WIN) || defined(Q_OS_OS2) 174 176 d->proc = new QProcess; 175 177 #else … … 214 216 d->proc->setArguments(fullargs); 215 217 216 #if ndef Q_WS_WIN218 #if !defined(Q_WS_WIN) && !defined(Q_OS_OS2) 217 219 QValueList<int> plist; 218 220 plist += d->pipeAux.writeEnd().id(); … … 221 223 d->proc->setClosePipeList(plist); 222 224 #endif 225 /// @todo (dmik) 226 // On Unix, it is done when SProcess is destructed. On OS/2 as well as on 227 // Win32, SProcess is not used, but we use the same QPipe implelentation 228 // on OS/2 as Unix does, so we need to use the similar technuque to close 229 // them... Need to investigate this file (i.e. usage) in detail. 223 230 224 231 connect(d->proc, SIGNAL(readyReadStdout()), SLOT(proc_readyReadStdout()));
Note:
See TracChangeset
for help on using the changeset viewer.