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.display_at = m_edge;
ip.context = additional_fields_;
ip.collection = QET::QetCollection::Embendded;
ip.collection = QET::QetCollection::Embedded;
return(ip);
}

View File

@ -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;
}

View File

@ -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);

View File

@ -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:

View File

@ -113,7 +113,7 @@ TitleBlockTemplatesProjectCollection::TitleBlockTemplatesProjectCollection(QETPr
TitleBlockTemplatesCollection(parent),
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;
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())