[qet] [3920] Fix wrong typo

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 3920
Author:   blacksun
Date:     2015-04-25 10:54:54 +0200 (Sat, 25 Apr 2015)
Log Message:
-----------
Fix wrong typo

Modified Paths:
--------------
    trunk/sources/bordertitleblock.cpp
    trunk/sources/qet.cpp
    trunk/sources/qet.h
    trunk/sources/qetproject.cpp
    trunk/sources/titleblock/templatescollection.cpp
    trunk/sources/ui/titleblockpropertieswidget.cpp

Modified: trunk/sources/bordertitleblock.cpp
===================================================================
--- trunk/sources/bordertitleblock.cpp	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/bordertitleblock.cpp	2015-04-25 08:54:54 UTC (rev 3920)
@@ -244,7 +244,7 @@
 	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);
 }

Modified: trunk/sources/qet.cpp
===================================================================
--- trunk/sources/qet.cpp	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/qet.cpp	2015-04-25 08:54:54 UTC (rev 3920)
@@ -743,8 +743,8 @@
 			return "common";
 		case Custom :
 			return "custom";
-		case Embendded :
-			return "embendded";
+		case Embedded :
+			return "embedded";
 		default:
 			return "common";
 	}
@@ -762,8 +762,8 @@
 		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;
 }

Modified: trunk/sources/qet.h
===================================================================
--- trunk/sources/qet.h	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/qet.h	2015-04-25 08:54:54 UTC (rev 3920)
@@ -133,7 +133,7 @@
 	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);

Modified: trunk/sources/qetproject.cpp
===================================================================
--- trunk/sources/qetproject.cpp	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/qetproject.cpp	2015-04-25 08:54:54 UTC (rev 3920)
@@ -464,7 +464,7 @@
 			case QET::Custom :
 				collection = QETApp::customTitleBlockTemplatesCollection();
 				break;
-			case QET::Embendded :
+			case QET::Embedded :
 				//Titleblock is already embedded to project
 				return;
 			default:

Modified: trunk/sources/titleblock/templatescollection.cpp
===================================================================
--- trunk/sources/titleblock/templatescollection.cpp	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/titleblock/templatescollection.cpp	2015-04-25 08:54:54 UTC (rev 3920)
@@ -113,7 +113,7 @@
 	TitleBlockTemplatesCollection(parent),
 	project_(project)
 {
-	m_collection = QET::QetCollection::Embendded;
+	m_collection = QET::QetCollection::Embedded;
 }
 
 /**

Modified: trunk/sources/ui/titleblockpropertieswidget.cpp
===================================================================
--- trunk/sources/ui/titleblockpropertieswidget.cpp	2015-04-25 08:43:00 UTC (rev 3919)
+++ trunk/sources/ui/titleblockpropertieswidget.cpp	2015-04-25 08:54:54 UTC (rev 3920)
@@ -295,7 +295,7 @@
 			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())


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/