r23949 by jghali - Rename ScribusView's GotoLa() to more meaningful GotoLayer

scribus-commit scribus-commit at lists.scribus.net
Tue Jul 28 01:55:51 UTC 2020


Author: jghali
Date: Tue Jul 28 01:55:51 2020
New Revision: 23949

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23949
Log:
Rename ScribusView's GotoLa() to more meaningful GotoLayer

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

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23949&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Tue Jul 28 01:55:51 2020
@@ -2642,7 +2642,7 @@
 		connect(zoomDefaultToolbarButton, SIGNAL(clicked()), doc->view(), SLOT(slotZoom100()));
 		connect(zoomOutToolbarButton, SIGNAL(clicked()), doc->view(), SLOT(slotZoomOut()));
 		connect(zoomInToolbarButton, SIGNAL(clicked()), doc->view(), SLOT(slotZoomIn()));
-		connect(layerMenu, SIGNAL(activated(int)), doc->view(), SLOT(GotoLa(int)));
+		connect(layerMenu, SIGNAL(activated(int)), doc->view(), SLOT(GotoLayer(int)));
 		scrActions["viewPreviewMode"]->blockSignals(true);
 		scrActions["viewPreviewMode"]->setChecked(doc->drawAsPreview);
 		scrActions["viewPreviewMode"]->blockSignals(false);
@@ -7598,7 +7598,7 @@
 }
 
 
-void ScribusMainWindow::GotoLa(int l)
+void ScribusMainWindow::gotoLayer(int l)
 {
 	if (!HaveDoc)
 		return;

Modified: trunk/Scribus/scribus/scribus.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23949&path=/trunk/Scribus/scribus/scribus.h
==============================================================================
--- trunk/Scribus/scribus/scribus.h	(original)
+++ trunk/Scribus/scribus/scribus.h	Tue Jul 28 01:55:51 2020
@@ -328,7 +328,7 @@
 	void newFileFromTemplate();
 	bool slotPageImport();
 	bool loadPage(const QString& fileName, int Nr, bool Mpa, const QString& renamedPageName=QString());
-	void GotoLa(int l);
+	void gotoLayer(int l);
 	void slotGetContent();
 	void slotGetContent2(); // kk2006
 	void slotGetClipboardImage();

Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23949&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp	(original)
+++ trunk/Scribus/scribus/scribusview.cpp	Tue Jul 28 01:55:51 2020
@@ -2411,7 +2411,7 @@
 	setContentsPos(nx.x(), nx.y());
 }
 
-void ScribusView::GotoLa(int l)
+void ScribusView::GotoLayer(int l)
 {
 	int level = m_doc->layerCount()-l-1;
 	int layerID = m_doc->layerIDFromLevel(level);

Modified: trunk/Scribus/scribus/scribusview.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23949&path=/trunk/Scribus/scribus/scribusview.h
==============================================================================
--- trunk/Scribus/scribus/scribusview.h	(original)
+++ trunk/Scribus/scribus/scribusview.h	Tue Jul 28 01:55:51 2020
@@ -261,7 +261,7 @@
   /** Redraws everything */
 	void DrawNew();
 	void GotoPa(int pageNumber);
-	void GotoLa(int l);
+	void GotoLayer(int l);
 	void GotoPage(int pageIndex);
 	void ChgUnit(int art);
 




More information about the scribus-commit mailing list