From 9fce7717ea27019d1cffc6031552bc4eab7b05c5 Mon Sep 17 00:00:00 2001 From: blacksun Date: Sat, 25 Apr 2015 08:54:54 +0000 Subject: [PATCH] Fix wrong typo git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3920 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/bordertitleblock.cpp | 2 +- sources/qet.cpp | 8 ++++---- sources/qet.h | 2 +- sources/qetproject.cpp | 2 +- sources/titleblock/templatescollection.cpp | 2 +- sources/ui/titleblockpropertieswidget.cpp | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sources/bordertitleblock.cpp b/sources/bordertitleblock.cpp index 9915fc6fd..116d02b9b 100644 --- a/sources/bordertitleblock.cpp +++ b/sources/bordertitleblock.cpp @@ -244,7 +244,7 @@ TitleBlockProperties BorderTitleBlock::exportTitleBlock() { ip.template_name = titleBlockTemplateName(); ip.display_at = m_edge; ip.context = additional_fields_; - ip.collection = QET::QetCollection::Embendded; + ip.collection = QET::QetCollection::Embedded; return(ip); } diff --git a/sources/qet.cpp b/sources/qet.cpp index a76ba6c85..b31791695 100644 --- a/sources/qet.cpp +++ b/sources/qet.cpp @@ -743,8 +743,8 @@ QString QET::qetCollectionToString(const QET::QetCollection &c) return "common"; case Custom : return "custom"; - case Embendded : - return "embendded"; + case Embedded : + return "embedded"; default: return "common"; } @@ -762,8 +762,8 @@ QET::QetCollection QET::qetCollectionFromString(const QString &str) return QetCollection::Common; else if (str == "custom") return QetCollection::Custom; - else if (str == "embendded") - return QetCollection::Embendded; + else if (str == "embedded") + return QetCollection::Embedded; else return QetCollection::Common; } diff --git a/sources/qet.h b/sources/qet.h index 5024f9490..8c1839bd9 100644 --- a/sources/qet.h +++ b/sources/qet.h @@ -133,7 +133,7 @@ namespace QET { enum QetCollection { Common, ///< From common collection Custom, ///< From user collection - Embendded ///< From an embeddded collection (a project for exemple) + Embedded ///< From an embedded collection (a project for exemple) }; QString qetCollectionToString (const QetCollection &c); diff --git a/sources/qetproject.cpp b/sources/qetproject.cpp index c4184939e..64a61d9e3 100644 --- a/sources/qetproject.cpp +++ b/sources/qetproject.cpp @@ -464,7 +464,7 @@ void QETProject::setDefaultTitleBlockProperties(const TitleBlockProperties &titl case QET::Custom : collection = QETApp::customTitleBlockTemplatesCollection(); break; - case QET::Embendded : + case QET::Embedded : //Titleblock is already embedded to project return; default: diff --git a/sources/titleblock/templatescollection.cpp b/sources/titleblock/templatescollection.cpp index afd4736f5..b725d01c1 100644 --- a/sources/titleblock/templatescollection.cpp +++ b/sources/titleblock/templatescollection.cpp @@ -113,7 +113,7 @@ TitleBlockTemplatesProjectCollection::TitleBlockTemplatesProjectCollection(QETPr TitleBlockTemplatesCollection(parent), project_(project) { - m_collection = QET::QetCollection::Embendded; + m_collection = QET::QetCollection::Embedded; } /** diff --git a/sources/ui/titleblockpropertieswidget.cpp b/sources/ui/titleblockpropertieswidget.cpp index 7b2cc332d..86e1fbd9e 100644 --- a/sources/ui/titleblockpropertieswidget.cpp +++ b/sources/ui/titleblockpropertieswidget.cpp @@ -295,7 +295,7 @@ void TitleBlockPropertiesWidget::updateTemplateList() icon = QET::Icons::QETLogo; else if (qc == QET::QetCollection::Custom) icon = QET::Icons::Home; - else if (qc == QET::QetCollection::Embendded) + else if (qc == QET::QetCollection::Embedded) icon = QET::Icons::TitleBlock; foreach(QString tbt_name, tbt_c -> templates())