diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkdenetwork/gpgmepp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdenetwork/gpgmepp')
-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 |