* kdpipeiodevice.h: Use namespace _gpgme_.
* kdpipeiodevice.cpp: Use namespace _gpgme_.
[Q_OS_WIN32 && NOMINMAX]: Do not define NOMINMAX again.
* w32-qt-io.cpp: Change namespace of KDPipeIODevice to
_gpgme_::KDPipeIODevice.
+2007-09-25 Marcus Brinkmann <marcus@g10code.de>
+
+ * kdpipeiodevice.h: Use namespace _gpgme_.
+ * kdpipeiodevice.cpp: Use namespace _gpgme_.
+ [Q_OS_WIN32 && NOMINMAX]: Do not define NOMINMAX again.
+ * w32-qt-io.cpp: Change namespace of KDPipeIODevice to
+ _gpgme_::KDPipeIODevice.
+
2007-09-17 Werner Koch <wk@g10code.com>
* rungpg.c (gpg_new): Make robust against undefined ttyname or
#include <algorithm>
#ifdef Q_OS_WIN32
-# define NOMINMAX
+# ifndef NOMINMAX
+# define NOMINMAX
+# endif
# include <windows.h>
# include <io.h>
#else
# include <errno.h>
#endif
+using namespace _gpgme_;
+
#ifndef KDAB_CHECK_THIS
# define KDAB_CHECK_CTOR (void)1
# define KDAB_CHECK_DTOR KDAB_CHECK_CTOR
//#include "checker.h"
+namespace _gpgme_ {
+
class KDPipeIODevice : public QIODevice {
Q_OBJECT
//KDAB_MAKE_CHECKABLE( KDPipeIODevice )
#endif
#endif
+using _gpgme_::KDPipeIODevice;
+
\f
/* This file is an ugly hack to get GPGME working with Qt on Windows
targets. On Windows, you can not select() on file descriptors.
+\f
The only way to check if there is something to read is to read
something. This means that GPGME can not let Qt check for data
without letting Qt also handle the data on Windows targets.