Warning, file /office/calligra/libs/odf/KoDocumentBase.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* This file is part of the KDE project 0002 Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 0003 Copyright (C) 2000-2005 David Faure <faure@kde.org> 0004 Copyright (C) 2007 Thorsten Zachmann <zachmann@kde.org> 0005 Copyright (C) 2009 Boudewijn Rempt <boud@valdyas.org> 0006 0007 This library is free software; you can redistribute it and/or 0008 modify it under the terms of the GNU Library General Public 0009 License as published by the Free Software Foundation; either 0010 version 2 of the License, or (at your option) any later version. 0011 0012 This library is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 Library General Public License for more details. 0016 0017 You should have received a copy of the GNU Library General Public License 0018 along with this library; see the file COPYING.LIB. If not, write to 0019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0020 Boston, MA 02110-1301, USA. 0021 */ 0022 0023 0024 #include "KoDocumentBase.h" 0025 0026 #include "KoOdfLoadingContext.h" 0027 #include "OdfDebug.h" 0028 0029 #include <QtGlobal> 0030 0031 class Q_DECL_HIDDEN KoDocumentBase::Private { 0032 public: 0033 Private() 0034 : storeInternal(false) 0035 {} 0036 0037 bool storeInternal; // Store this doc internally even if url is external 0038 }; 0039 0040 KoDocumentBase::KoDocumentBase() 0041 : d( new Private ) 0042 { 0043 } 0044 0045 0046 KoDocumentBase::~KoDocumentBase() 0047 { 0048 delete d; 0049 } 0050 0051 void KoDocumentBase::setStoreInternal(bool i) 0052 { 0053 d->storeInternal = i; 0054 //debugMain<<"="<<d->storeInternal<<" doc:"<<url().url(); 0055 } 0056 0057 bool KoDocumentBase::storeInternal() const 0058 { 0059 return d->storeInternal; 0060 }