From b1e66b339befa7bdf222f7bb80a431236a3ff689 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 1 Jun 2019 15:56:13 +0900 Subject: Adjusted to use new TQStringVariantMap type. Signed-off-by: Michele Calgaro --- parts/astyle/astyle_part.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'parts/astyle/astyle_part.cpp') diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp index 16d590ab..f5b5e2e7 100644 --- a/parts/astyle/astyle_part.cpp +++ b/parts/astyle/astyle_part.cpp @@ -101,7 +101,7 @@ void AStylePart::loadGlobal() } -// for (TQMap::iterator iter = m_global.begin();iter != m_global.end();iter++) +// for (TQStringVariantMap::iterator iter = m_global.begin();iter != m_global.end();iter++) // { // kdDebug(9009) << "load: " <::iterator iter = m_project.begin();iter != m_project.end();iter++) +// for (TQStringVariantMap::iterator iter = m_project.begin();iter != m_project.end();iter++) // { // kdDebug(9009) << "project before: " <sync(); -// for (TQMap::iterator iter = m_global.begin();iter != m_global.end();iter++) +// for (TQStringVariantMap::iterator iter = m_global.begin();iter != m_global.end();iter++) // { // kdDebug(9009) << "global after: " <::iterator iter = m_project.begin();iter != m_project.end();iter++) + for (TQStringVariantMap::iterator iter = m_project.begin();iter != m_project.end();iter++) { style.setAttribute(iter.key(),iter.data().toString()); } -- cgit v1.2.1