From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdenetwork/gpgmepp/eventloopinteractor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libkdenetwork/gpgmepp') 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( tag ); + delete static_cast( tag ); } \endverbatim -- cgit v1.2.1