KCal Library
20 #include "assignmentvisitor.h"
31 class AssignmentVisitor::Private
34 Private() : mSource( 0 ) {}
51 Q_ASSERT( target != 0 );
52 Q_ASSERT( source != 0 );
56 bool result = target->
accept( *
this );
65 Q_ASSERT( event != 0 );
67 const Event *source =
dynamic_cast<const Event*
>( d->mSource );
69 kError() <<
"Type mismatch: source is" << d->mSource->
type()
70 <<
"target is" <<
event->type();
80 Q_ASSERT( todo != 0 );
82 const Todo *source =
dynamic_cast<const Todo*
>( d->mSource );
84 kError() <<
"Type mismatch: source is" << d->mSource->
type()
85 <<
"target is" << todo->
type();
95 Q_ASSERT( journal != 0 );
97 const Journal *source =
dynamic_cast<const Journal*
>( d->mSource );
99 kError() <<
"Type mismatch: source is" << d->mSource->
type()
100 <<
"target is" << journal->
type();
110 Q_ASSERT( freebusy != 0 );
114 kError() <<
"Type mismatch: source is" << d->mSource->
type()
115 <<
"target is" << freebusy->
type();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:29:13 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.