src/download.h

changeset 538
2f85d4d286e5
parent 504
6a1fa662bfc1
child 539
72ad83a67165
--- a/src/download.h	Tue Oct 22 22:14:32 2013 +0300
+++ b/src/download.h	Thu Dec 05 13:51:52 2013 +0200
@@ -35,9 +35,9 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 class PartDownloader : public QDialog
-{		Q_OBJECT
-		PROPERTY (LDFile*, primaryFile, setPrimaryFile)
-		PROPERTY (bool, aborted, setAborted)
+{	Q_OBJECT
+	PROPERTY (LDFile*, primaryFile, setPrimaryFile)
+	PROPERTY (bool, aborted, setAborted)
 
 	public:
 		constexpr static const char* k_UnofficialURL = "http://ldraw.org/library/unofficial/";
@@ -64,7 +64,7 @@
 		static str getDownloadPath();
 		Source getSource() const;
 		void downloadFile (str dest, str url, bool primary);
-		void modifyDest (str& dest) const;
+		void modifyDestination (str& dest) const;
 		QPushButton* getButton (Button i);
 		static void k_download();
 
@@ -78,7 +78,7 @@
 		friend class PartDownloadRequest;
 
 	private:
-		QList<str> m_filesToDownload;
+		QStringList m_filesToDownload;
 		QList<PartDownloadRequest*> m_requests;
 		QPushButton* m_downloadButton;
 };

mercurial