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;
99 if ( d->mFileName.isEmpty() ) {
100 kWarning() <<
"Empty filename while trying to load";
124 kDebug() <<
"Fallback to VCalFormat";
132 kWarning() <<
"There should be an exception set.";
138 calendar()->setProductId( productId );
147 if ( d->mFileName.isEmpty() ) {
153 bool success = format->
save(
calendar(), d->mFileName );
159 kDebug() <<
"Error. There should be an expection set.";
165 if ( !d->mSaveFormat ) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:24:51 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.