diff options
Diffstat (limited to 'libkdenetwork/gpgmepp/eventloopinteractor.h')
-rw-r--r-- | libkdenetwork/gpgmepp/eventloopinteractor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdenetwork/gpgmepp/eventloopinteractor.h b/libkdenetwork/gpgmepp/eventloopinteractor.h index fb0778489..5a07490da 100644 --- a/libkdenetwork/gpgmepp/eventloopinteractor.h +++ b/libkdenetwork/gpgmepp/eventloopinteractor.h @@ -67,11 +67,11 @@ namespace GpgME { and return a tag identifying that particular watching process uniquely. This could be the index into an array of objects you use for that purpose or the address of such an object. E.g. in - Qt, you'd essentially just create a new \c QSocketNotifier: + Qt, you'd essentially just create a new \c TQSocketNotifier: \verbatim void * registerWatcher( int fd, Direction dir ) { - return new QSocketNotifier( fd, dir == Read ? QSocketNotifier::Read : QSocketNotifier::Write ); + return new TQSocketNotifier( fd, dir == Read ? TQSocketNotifier::Read : TQSocketNotifier::Write ); // misses connecting to the activated() signal... } \endverbatim @@ -84,7 +84,7 @@ namespace GpgME { \verbatim void unregisterWatcher( void * tag ) { - delete static_cast<QSocketNotifier*>( tag ); + delete static_cast<TQSocketNotifier*>( tag ); } \endverbatim |