File indexing completed on 2024-04-28 16:30:31
0001 /*************************************************************************** 0002 * SPDX-FileCopyrightText: 2022 S. MANKOWSKI stephane@mankowski.fr 0003 * SPDX-FileCopyrightText: 2022 G. DE BURE support@mankowski.fr 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 ***************************************************************************/ 0006 /** @file 0007 * This file implements classes SKGDocumentPrivate. 0008 * 0009 * @author Stephane MANKOWSKI / Guillaume DE BURE 0010 */ 0011 #include "skgdocumentprivate.h" 0012 0013 /** 0014 * Last error. 0015 */ 0016 SKGError SKGDocumentPrivate::m_lastCallbackError; 0017 0018 /** 0019 * Unique identifier. 0020 */ 0021 int SKGDocumentPrivate::m_databaseUniqueIdentifier = 0; 0022 0023 SKGDocumentPrivate::SKGDocumentPrivate() 0024 : m_currentFileName(QLatin1String("")) 0025 { 0026 m_cacheSql = new QHash<QString, SKGStringListList>(); 0027 } 0028 0029 SKGDocumentPrivate::~SKGDocumentPrivate() 0030 { 0031 delete m_cacheSql; 0032 m_cacheSql = nullptr; 0033 }