Changeset 11 for psi


Ignore:
Timestamp:
Sep 5, 2006, 1:08:29 AM (19 years ago)
Author:
dmik
Message:

Tools/GPG: Added OS/2-related defines (experimental, needs testing).

Location:
psi/trunk/src/tools/openpgp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/src/tools/openpgp/gpgop.cpp

    r2 r11  
    540540QString GpgOp::fixIncomingLines(const QString &str)
    541541{
    542 #ifdef Q_WS_WIN
     542#if
    543543        QString out;
    544544        for(int n = 0; n < (int)str.length(); ++n) {
     
    558558QString GpgOp::fixOutgoingLines(const QString &str)
    559559{
    560 #ifdef Q_WS_WIN
     560#if
    561561        QString out;
    562562        for(int n = 0; n < (int)str.length(); ++n) {
  • psi/trunk/src/tools/openpgp/gpgproc/gpgproc.cpp

    r2 r11  
    1111#include"qpipe.h"
    1212
     13
     14
    1315#ifdef Q_WS_WIN
    14 #include<qprocess.h>
    1516#include<windows.h>
     17
    1618#else
    1719#include<unistd.h>
     
    3032        SafeDelete sd;
    3133
    32 #ifdef Q_WS_WIN
     34#if
    3335        QProcess *proc;
    3436#else
     
    171173        }*/
    172174
    173 #ifdef Q_WS_WIN
     175#if
    174176        d->proc = new QProcess;
    175177#else
     
    214216        d->proc->setArguments(fullargs);
    215217
    216 #ifndef Q_WS_WIN
     218#if
    217219        QValueList<int> plist;
    218220        plist += d->pipeAux.writeEnd().id();
     
    221223        d->proc->setClosePipeList(plist);
    222224#endif
     225
     226
     227
     228
     229
    223230
    224231        connect(d->proc, SIGNAL(readyReadStdout()), SLOT(proc_readyReadStdout()));
Note: See TracChangeset for help on using the changeset viewer.