[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi
From:       Pino Toscano <pino () kde ! org>
Date:       2011-01-28 0:50:33
Message-ID: 20110128005033.42EE9AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217600 by pino:

use quintptr as type for pointers


 M  +4 -4      job.cpp  


--- trunk/KDE/kdepimlibs/akonadi/job.cpp #1217599:1217600
@@ -131,8 +131,8 @@
       // publishing something not intended for public consumption.
       QList<QVariant> argumentList;
       argumentList << QLatin1String( mSession->sessionId() )
-                   << QString::number(reinterpret_cast<unsigned long>( q ), 16)
-                   << ( mParentJob ? QString::number( reinterpret_cast<unsigned \
long>( mParentJob ), 16) : QString() ) +                   << \
QString::number(reinterpret_cast<quintptr>( q ), 16) +                   << ( \
mParentJob ? QString::number( reinterpret_cast<quintptr>( mParentJob ), 16) : \
                QString() )
                    << QString::fromLatin1( q->metaObject()->className() );
       s_jobtracker->callWithArgumentList(QDBus::NoBlock, QLatin1String( "jobCreated" \
), argumentList);  }
@@ -156,7 +156,7 @@
   // if there's a job tracker running, tell it a job started
   if ( s_jobtracker ) {
       QList<QVariant> argumentList;
-      argumentList << QString::number(reinterpret_cast<unsigned long>( q ), 16);
+      argumentList << QString::number(reinterpret_cast<quintptr>( q ), 16);
       s_jobtracker->callWithArgumentList(QDBus::NoBlock, QLatin1String( "jobStarted" \
), argumentList);  }
 }
@@ -256,7 +256,7 @@
   // if there is a job tracer listening, tell it the job is done now
   if ( s_jobtracker ) {
       QList<QVariant> argumentList;
-      argumentList << QString::number(reinterpret_cast<unsigned long>( this ), 16)
+      argumentList << QString::number(reinterpret_cast<quintptr>( this ), 16)
                    << errorString();
       s_jobtracker->callWithArgumentList(QDBus::NoBlock, QLatin1String( "jobEnded" \
), argumentList);  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic