KCalCore Library
Go to the documentation of this file.
39 using namespace KCalCore;
45 class KCalCore::FileStorage::Private
48 Private(
const QString &fileName,
CalFormat *format )
49 : mFileName( fileName ),
52 ~Private() {
delete mSaveFormat; }
62 d( new Private( fileName, format ) )
83 delete d->mSaveFormat;
84 d->mSaveFormat = format;
89 return d->mSaveFormat;
101 if ( d->mFileName.isEmpty() ) {
125 kDebug() <<
"Fallback to VCalFormat";
133 kDebug() <<
"Warning! There should be an exception set.";
139 calendar()->setProductId( productId );
148 if ( d->mFileName.isEmpty() ) {
154 bool success = format->
save(
calendar(), d->mFileName );
160 kDebug() <<
"Error. There should be an expection set.";
166 if ( !d->mSaveFormat ) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue Dec 4 2012 14:34:54 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.