|
|
|
@ -24,10 +24,6 @@
|
|
|
|
|
#include <tqstringlist.h>
|
|
|
|
|
#include <kdemacros.h>
|
|
|
|
|
|
|
|
|
|
#ifdef Q_MOC_RUN
|
|
|
|
|
#define USE_QT4
|
|
|
|
|
#endif // Q_MOC_RUN
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author Thomas Baumgart
|
|
|
|
|
*/
|
|
|
|
@ -60,15 +56,7 @@ class TDEProcess;
|
|
|
|
|
* GPGAvailable(). Other, more general methods such as open(), close() and flush() are
|
|
|
|
|
* not shown in the above picture.
|
|
|
|
|
*/
|
|
|
|
|
// MOC_SKIP_BEGIN
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
class KDE_EXPORT KGPGFile : public TQFile
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
// MOC_SKIP_END
|
|
|
|
|
class KDE_EXPORT KGPGFile : public TQObject, public TQFile
|
|
|
|
|
// MOC_SKIP_BEGIN
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
// MOC_SKIP_END
|
|
|
|
|
{
|
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
|
@ -84,11 +72,7 @@ public:
|
|
|
|
|
virtual void close(void);
|
|
|
|
|
virtual void flush(void);
|
|
|
|
|
|
|
|
|
|
#ifdef USE_QT4
|
|
|
|
|
virtual qint64 size(void) const { return 0; };
|
|
|
|
|
#else // USE_QT4
|
|
|
|
|
virtual Offset size(void) const { return 0; };
|
|
|
|
|
#endif // USE_QT4
|
|
|
|
|
|
|
|
|
|
virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen);
|
|
|
|
|
virtual TQ_LONG writeBlock(const char *data, TQ_ULONG maxlen);
|
|
|
|
|