File indexing completed on 2024-05-19 05:21:46
0001 /* 0002 This file is part of the Grantlee template system. 0003 0004 SPDX-FileCopyrightText: 2008 Stephen Kelly <steveire@gmail.com> 0005 0006 SPDX-License-Identifier: LGPL-2.1-or-later 0007 0008 */ 0009 0010 #pragma once 0011 #include "markupdirector.h" 0012 0013 #include <QSet> 0014 0015 //@cond PRIVATE 0016 0017 namespace KPIMTextEdit 0018 { 0019 /** 0020 @internal 0021 Maintainability class for MarkupDirector 0022 */ 0023 class MarkupDirectorPrivate 0024 { 0025 MarkupDirectorPrivate(MarkupDirector *md) 0026 : q_ptr(md) 0027 { 0028 } 0029 0030 Q_DECLARE_PUBLIC(MarkupDirector) 0031 MarkupDirector *const q_ptr; 0032 0033 QString m_openAnchorHref; 0034 QString m_anchorHrefToOpen; 0035 QString m_openAnchorName; 0036 0037 QBrush m_openForeground; 0038 QBrush m_foregroundToOpen; 0039 QBrush m_openBackground; 0040 QBrush m_backgroundToOpen; 0041 int m_openFontPointSize; 0042 int m_fontPointSizeToOpen; 0043 QString m_openFontFamily; 0044 QString m_fontFamilyToOpen; 0045 0046 // An ordered list containing the order elements were opened in. 0047 QList<int> m_openElements; 0048 0049 // Elements that have yet to be opened. Used while determine the order to 0050 // open them. 0051 QSet<int> m_elementsToOpen; 0052 }; 0053 } 0054 0055 //@endcond