r23374 by jghali - Remove a few unused signals from ScribusDoc

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 24 04:49:56 UTC 2019


Author: jghali
Date: Sun Nov 24 04:49:56 2019
New Revision: 23374

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23374
Log:
Remove a few unused signals from ScribusDoc

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=23374&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Sun Nov 24 04:49:56 2019
@@ -14470,8 +14470,6 @@
 			double gx, gy, gh, gw;
 			m_Selection->setGroupRect();
 			m_Selection->getGroupRect(&gx, &gy, &gw, &gh);
-//			qDebug() << "doc, emit w&h, when was this used?";
-			emit widthAndHeight(gw, gh);
 		}
 	}
 	currItem->setCornerRadius(qMin(currItem->cornerRadius(), qMin(currItem->width(), currItem->height()) / 2));

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23374&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Sun Nov 24 04:49:56 2019
@@ -1437,27 +1437,12 @@
 	void updateContents();
 	void updateContents(const QRect &r);
 	void refreshItem(PageItem *);
-	void canvasAdjusted(double width, double height, double dX, double dY);
 	void firstSelectedItemType(int);
-	void setApplicationMode(int);
-	/**
-	 * @brief A signal for when the outline palette needs to rebuild itself
-	 * Emit when:
-	 * - An item is created or deleted
-	 * - An item changes page
-	 * - An page is created or deleted
-	 * - Some items are grouped or a group is ungrouped
-	 * This also applies to Master Pages
-	 */
-	void signalRebuildOutLinePalette();
-	//! Temporary signal for SizeItem
-	void widthAndHeight(double, double);
 
 	void updateEditItem();
 	void updateAutoSaveClock();
 	void addBookmark(PageItem *);
 	void deleteBookmark(PageItem *);
-	void changeLayers(int);
 	
 public slots:
 	void selectionChanged();




More information about the scribus-commit mailing list