Fix wrong typo

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3920 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-04-25 08:54:54 +00:00
parent a58ed2d91c
commit 9fce7717ea
6 changed files with 9 additions and 9 deletions

View File

@@ -244,7 +244,7 @@ TitleBlockProperties BorderTitleBlock::exportTitleBlock() {
ip.template_name = titleBlockTemplateName(); ip.template_name = titleBlockTemplateName();
ip.display_at = m_edge; ip.display_at = m_edge;
ip.context = additional_fields_; ip.context = additional_fields_;
ip.collection = QET::QetCollection::Embendded; ip.collection = QET::QetCollection::Embedded;
return(ip); return(ip);
} }

View File

@@ -743,8 +743,8 @@ QString QET::qetCollectionToString(const QET::QetCollection &c)
return "common"; return "common";
case Custom : case Custom :
return "custom"; return "custom";
case Embendded : case Embedded :
return "embendded"; return "embedded";
default: default:
return "common"; return "common";
} }
@@ -762,8 +762,8 @@ QET::QetCollection QET::qetCollectionFromString(const QString &str)
return QetCollection::Common; return QetCollection::Common;
else if (str == "custom") else if (str == "custom")
return QetCollection::Custom; return QetCollection::Custom;
else if (str == "embendded") else if (str == "embedded")
return QetCollection::Embendded; return QetCollection::Embedded;
else else
return QetCollection::Common; return QetCollection::Common;
} }

View File

@@ -133,7 +133,7 @@ namespace QET {
enum QetCollection { enum QetCollection {
Common, ///< From common collection Common, ///< From common collection
Custom, ///< From user 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); QString qetCollectionToString (const QetCollection &c);

View File

@@ -464,7 +464,7 @@ void QETProject::setDefaultTitleBlockProperties(const TitleBlockProperties &titl
case QET::Custom : case QET::Custom :
collection = QETApp::customTitleBlockTemplatesCollection(); collection = QETApp::customTitleBlockTemplatesCollection();
break; break;
case QET::Embendded : case QET::Embedded :
//Titleblock is already embedded to project //Titleblock is already embedded to project
return; return;
default: default:

View File

@@ -113,7 +113,7 @@ TitleBlockTemplatesProjectCollection::TitleBlockTemplatesProjectCollection(QETPr
TitleBlockTemplatesCollection(parent), TitleBlockTemplatesCollection(parent),
project_(project) project_(project)
{ {
m_collection = QET::QetCollection::Embendded; m_collection = QET::QetCollection::Embedded;
} }
/** /**

View File

@@ -295,7 +295,7 @@ void TitleBlockPropertiesWidget::updateTemplateList()
icon = QET::Icons::QETLogo; icon = QET::Icons::QETLogo;
else if (qc == QET::QetCollection::Custom) else if (qc == QET::QetCollection::Custom)
icon = QET::Icons::Home; icon = QET::Icons::Home;
else if (qc == QET::QetCollection::Embendded) else if (qc == QET::QetCollection::Embedded)
icon = QET::Icons::TitleBlock; icon = QET::Icons::TitleBlock;
foreach(QString tbt_name, tbt_c -> templates()) foreach(QString tbt_name, tbt_c -> templates())