[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/akonadi
From: Volker Krause <vkrause () kde ! org>
Date: 2008-03-21 22:21:04
Message-ID: 1206138064.958208.21938.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 788599 by vkrause:
compile
M +3 -1 entity.cpp
M +2 -2 entity.h
M +4 -0 entity_p.h
--- trunk/KDE/kdepimlibs/akonadi/entity.cpp #788598:788599
@@ -62,7 +62,7 @@
return d_ptr->mRemoteId;
}
-Entity& Entity::operator=( const Entity &other )
+Entity& Entity ::operator=( const Entity &other )
{
if ( this != &other )
d_ptr = other.d_ptr;
@@ -74,3 +74,5 @@
{
return qHash( entity.id() );
}
+
+AKONADI_DEFINE_PRIVATE( Entity )
--- trunk/KDE/kdepimlibs/akonadi/entity.h #788598:788599
@@ -32,8 +32,8 @@
#include <QtCore/QSharedDataPointer>
#define AKONADI_DECLARE_PRIVATE( Class ) \
- inline Class##Private* d_func() { return reinterpret_cast<Class##Private *>( \
d_ptr.data() ); } \
- inline const Class##Private* d_func() const { return reinterpret_cast<const \
Class##Private *>( d_ptr.data() ); } \ + Class##Private* d_func(); \
+ const Class##Private* d_func() const; \
friend class Class##Private;
namespace Akonadi {
--- trunk/KDE/kdepimlibs/akonadi/entity_p.h #788598:788599
@@ -25,6 +25,10 @@
#include "entity.h"
+#define AKONADI_DEFINE_PRIVATE( Class ) \
+Class##Private* Class ::d_func() { return reinterpret_cast<Class##Private *>( \
d_ptr.data() ); } \ +const Class##Private* Class ::d_func() const { return \
reinterpret_cast<const Class##Private *>( d_ptr.data() ); } +
namespace Akonadi {
class EntityPrivate : public QSharedData
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic