r19822 by craig - Updates to resource manager

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 16 22:57:09 UTC 2015


Author: craig
Date: Mon Feb 16 22:57:08 2015
New Revision: 19822

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19822
Log:
Updates to resource manager

Added:
    trunk/Scribus/scribus/ui/resourcemanager.cpp   (with props)
    trunk/Scribus/scribus/ui/resourcemanager.h   (with props)
Modified:
    trunk/Scribus/scribus/downloadmanager/scdlthread.cpp
    trunk/Scribus/scribus/scribusstructs.h

Modified: trunk/Scribus/scribus/downloadmanager/scdlthread.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19822&path=/trunk/Scribus/scribus/downloadmanager/scdlthread.cpp
==============================================================================
--- trunk/Scribus/scribus/downloadmanager/scdlthread.cpp (original)
+++ trunk/Scribus/scribus/downloadmanager/scdlthread.cpp Mon Feb 16 22:57:08 2015
@@ -128,7 +128,7 @@
 	connect(currentDownload, SIGNAL(finished()), this, SLOT(downloadFinished()));
 	connect(currentDownload, SIGNAL(readyRead()), this, SLOT(downloadReadyRead()));
 
-	qDebug()<<"Downloading:"<<urlPair.first.toEncoded().constData();
+	//qDebug()<<"Downloading:"<<urlPair.first.toEncoded().constData();
 }
 
 void ScDLThread::downloadFinished()
@@ -154,7 +154,7 @@
 	}
 	else
 	{
-		qDebug()<<"Saving file:"<<qPrintable(output.fileName());
+		//qDebug()<<"Saving file:"<<qPrintable(output.fileName());
 		++downloadedCount;
 		emit fileReceived(output.fileName());
 	}

Modified: trunk/Scribus/scribus/scribusstructs.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19822&path=/trunk/Scribus/scribus/scribusstructs.h
==============================================================================
--- trunk/Scribus/scribus/scribusstructs.h (original)
+++ trunk/Scribus/scribus/scribusstructs.h Mon Feb 16 22:57:08 2015
@@ -381,6 +381,7 @@
 	QString license;
 	QString filetype;
 	QString type;
+	QString movetofile;
 	bool download;
 };
 
@@ -391,6 +392,7 @@
 	QString name;
 	QString downloadLocation;
 	QString destinationLocation;
+	QString destinationName;
 	typedef enum {New, Started, Paused, Finished, Successful, Failed} DownloadState;
 	DownloadState state;
 };




More information about the scribus-commit mailing list