r23375 by jghali - Rename ScribusDoc's GroupOfItem() according to code style

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 24 05:03:16 UTC 2019


Author: jghali
Date: Sun Nov 24 05:03:16 2019
New Revision: 23375

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23375
Log:
Rename ScribusDoc's GroupOfItem() according to code style

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

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23375&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Sun Nov 24 05:03:16 2019
@@ -11327,7 +11327,7 @@
 	changed();
 }
 
-QList<PageItem*>* ScribusDoc::GroupOfItem(QList<PageItem*>* itemList, PageItem* item)
+QList<PageItem*>* ScribusDoc::groupOfItem(QList<PageItem*>* itemList, PageItem* item)
 {
 	if (itemList->contains(item))
 		return itemList;
@@ -11335,7 +11335,7 @@
 	{
 		if (itemList->at(i)->isGroup())
 		{
-			QList<PageItem*>* ite = GroupOfItem(&itemList->at(i)->groupItemList, item);
+			QList<PageItem*>* ite = groupOfItem(&itemList->at(i)->groupItemList, item);
 			if (ite != nullptr)
 				return ite;
 		}
@@ -11420,7 +11420,7 @@
 	for (int de = 0; de < selectedItemCount; ++de)
 	{
 		currItem = delItems.at(selectedItemCount - (de + 1));
-		itemList = GroupOfItem(Items, currItem);
+		itemList = groupOfItem(Items, currItem);
 		if (itemList == nullptr)
 			continue;
 		if ((currItem->asImageFrame()) && ((ScCore->fileWatcher->files().contains(currItem->Pfile) != 0) && (currItem->imageIsAvailable)))

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23375&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Sun Nov 24 05:03:16 2019
@@ -1050,7 +1050,7 @@
 	int columnOfPage(int pageIndex) const;
 
 
-	QList<PageItem*>* GroupOfItem(QList<PageItem*>* itemList, PageItem* item);
+	QList<PageItem*>* groupOfItem(QList<PageItem*>* itemList, PageItem* item);
 	PageItem* groupObjectsSelection(Selection* customSelection = nullptr);
 	PageItem* groupObjectsList(QList<PageItem*> &itemList);
 	void groupObjectsToItem(PageItem* groupItem, QList<PageItem*> &itemList);




More information about the scribus-commit mailing list