KCal Library
Go to the documentation of this file.
39 #include <QtCore/QString>
49 class KCal::FileStorage::Private
52 Private(
const QString &fileName,
CalFormat *format )
53 : mFileName( fileName ),
56 ~Private() {
delete mSaveFormat; }
66 d( new Private( fileName, format ) )
87 delete d->mSaveFormat;
88 d->mSaveFormat = format;
93 return d->mSaveFormat;
105 if ( d->mFileName.isEmpty() ) {
129 kDebug() <<
"Fallback to VCalFormat";
131 success = vCal.load(
calendar(), d->mFileName );
132 productId = vCal.loadedProductId();
137 kDebug() <<
"Warning! There should be an exception set.";
152 if ( d->mFileName.isEmpty() ) {
158 bool success = format->
save(
calendar(), d->mFileName );
164 kDebug() <<
"Error. There should be an expection set.";
170 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:29:14 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.