r23969 by jghali - Rename ScribusDoc's getItemNrfromUniqueID() to getItemNrFromUniqueID()

scribus-commit scribus-commit at lists.scribus.net
Thu Jul 30 19:50:02 UTC 2020


Author: jghali
Date: Thu Jul 30 19:50:02 2020
New Revision: 23969

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23969
Log:
Rename ScribusDoc's getItemNrfromUniqueID() to getItemNrFromUniqueID()

Modified:
    trunk/Scribus/scribus/scribus.cpp
    trunk/Scribus/scribus/scribusdoc.cpp
    trunk/Scribus/scribus/scribusdoc.h

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23969&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Thu Jul 30 19:50:02 2020
@@ -8143,7 +8143,7 @@
 	view->deselectItems();
 	for (int i = 0; i < itemCount; ++i)
 	{
-		int itemNr = doc->getItemNrfromUniqueID(state->getUInt(QString("item%1").arg(i)));
+		int itemNr = doc->getItemNrFromUniqueID(state->getUInt(QString("item%1").arg(i)));
 		if (doc->Items->at(itemNr)->uniqueNr == state->getUInt(QString("item%1").arg(i)))
 			view->selectItemByNumber(itemNr);
 	}
@@ -8159,7 +8159,7 @@
 	view->deselectItems();
 	for (int i = 0; i < itemCount; ++i)
 	{
-		int itemNr = doc->getItemNrfromUniqueID(state->getUInt(QString("item%1").arg(i)));
+		int itemNr = doc->getItemNrFromUniqueID(state->getUInt(QString("item%1").arg(i)));
 		if (doc->Items->at(itemNr)->uniqueNr == state->getUInt(QString("item%1").arg(i)))
 			view->selectItemByNumber(itemNr);
 	}

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23969&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Thu Jul 30 19:50:02 2020
@@ -5509,7 +5509,7 @@
 }
 
 
-int ScribusDoc::getItemNrfromUniqueID(uint unique)
+int ScribusDoc::getItemNrFromUniqueID(uint unique)
 {
 	// FIXME : don't work for items inside groups
 	// Needs to fix group/ungroup undo first

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23969&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Thu Jul 30 19:50:02 2020
@@ -849,7 +849,7 @@
 	 */
 	void itemAddDetails(const PageItem::ItemType itemType, const PageItem::ItemFrameType frameType, PageItem* newItem);
 
-	int getItemNrfromUniqueID(uint unique);
+	int getItemNrFromUniqueID(uint unique);
 	//return pointer to item
 	PageItem* getItemFromName(const QString& name) const;
 	//itemDelete




More information about the scribus-commit mailing list