r16331 by petr - rename vars

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 31 23:07:29 CET 2011


Author: petr
Date: Mon Jan 31 22:07:29 2011
New Revision: 16331

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16331
Log:
rename vars

Modified:
    trunk/Scribus/scribus/documentchecker.cpp
    trunk/Scribus/scribus/scribusstructs.h
    trunk/Scribus/scribus/ui/checkDocument.cpp
    trunk/Scribus/scribus/ui/checkDocument.h

Modified: trunk/Scribus/scribus/documentchecker.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16331&path=/trunk/Scribus/scribus/documentchecker.cpp
==============================================================================
--- trunk/Scribus/scribus/documentchecker.cpp (original)
+++ trunk/Scribus/scribus/documentchecker.cpp Mon Jan 31 22:07:29 2011
@@ -189,7 +189,7 @@
 					if (currItem->height() > currItem->imageYScale() * currItem->pixm.height()
 					    || currItem->width() > currItem->imageXScale() * currItem->pixm.width())
 					{
-						itemError.insert(ImageUnderfullsFrame, 0);
+						itemError.insert(PartFilledImageFrame, 0);
 					}
 	
 					if (extensionIndicatesPDF(ext))
@@ -461,7 +461,7 @@
 					if (currItem->height() > currItem->imageYScale() * currItem->pixm.height()
 					    || currItem->width() > currItem->imageXScale() * currItem->pixm.width())
 					{
-						itemError.insert(ImageUnderfullsFrame, 0);
+						itemError.insert(PartFilledImageFrame, 0);
 					}
 
 					if (extensionIndicatesPDF(ext))

Modified: trunk/Scribus/scribus/scribusstructs.h
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16331&path=/trunk/Scribus/scribus/scribusstructs.h
==============================================================================
--- trunk/Scribus/scribus/scribusstructs.h (original)
+++ trunk/Scribus/scribus/scribusstructs.h Mon Jan 31 22:07:29 2011
@@ -272,7 +272,7 @@
 	FontNotEmbedded=15,
 	EmbeddedFontIsOpenType=16,
 	OffConflictLayers=17,
-	ImageUnderfullsFrame = 18
+	PartFilledImageFrame= 18
 } PreflightError;
 
 typedef QMap<PreflightError, int> errorCodes;

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16331&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Mon Jan 31 22:07:29 2011
@@ -206,8 +206,8 @@
 			item->setIcon(COLUMN_ITEM, onlyWarning );
 			break;
 		}
-		case ImageUnderfullsFrame:
-			item->setText(COLUMN_PROBLEM, imageUnderfullsFrame);
+		case PartFilledImageFrame:
+			item->setText(COLUMN_PROBLEM, partFilledImageFrame);
 			item->setIcon(COLUMN_ITEM, onlyWarning);
 			break;
 		case Transparency:
@@ -620,7 +620,7 @@
 	rasterPDF = tr("Object is a placed PDF");
 	isGIF = tr("Image is GIF");
 	WrongFont = tr("Annotation uses a non TrueType font");
-	imageUnderfullsFrame = tr("Image is smaller than its frame");
+	partFilledImageFrame = tr("Image dimension is smaller than its frame");
 	//isGIFtoolTip = "<qt>" + tr("GIF images are not reccomended for print. See the online docs for more info") + "</qt>";
 }
 

Modified: trunk/Scribus/scribus/ui/checkDocument.h
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16331&path=/trunk/Scribus/scribus/ui/checkDocument.h
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.h (original)
+++ trunk/Scribus/scribus/ui/checkDocument.h Mon Jan 31 22:07:29 2011
@@ -131,7 +131,7 @@
 	QString isGIF;
 	QString isGIFtoolTip;
 	QString WrongFont;
-	QString imageUnderfullsFrame;
+	QString partFilledImageFrame;
 
 	//! \brief Flag if is ignore button shown. true = hidden, false = shown.
 	bool noButton;




More information about the scribus-commit mailing list