diff --git a/declarative/declarativetransfermodel.cpp b/declarative/declarativetransfermodel.cpp index cdb7c4d..e6bbdb5 100644 --- a/declarative/declarativetransfermodel.cpp +++ b/declarative/declarativetransfermodel.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2014-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2014 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "declarativetransfermodel.h" #include "synchronizelists_p.h" diff --git a/declarative/declarativetransfermodel.h b/declarative/declarativetransfermodel.h index 888ea5b..9b6b4aa 100644 --- a/declarative/declarativetransfermodel.h +++ b/declarative/declarativetransfermodel.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2014-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2014 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef DECLARATIVETRANSFERMODEL_HH #define DECLARATIVETRANSFERMODEL_HH diff --git a/declarative/plugin.cpp b/declarative/plugin.cpp index e17f7ee..4e8bd1f 100644 --- a/declarative/plugin.cpp +++ b/declarative/plugin.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2014 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2014 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include #include diff --git a/declarative/synchronizelists_p.h b/declarative/synchronizelists_p.h index eec0bdf..f47027c 100644 --- a/declarative/synchronizelists_p.h +++ b/declarative/synchronizelists_p.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2014 Jolla Ltd. -** Contact: Andrew den Exter -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2014 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef SYNCHRONIZELISTS_P_H #define SYNCHRONIZELISTS_P_H diff --git a/lib/imageoperation.cpp b/lib/imageoperation.cpp index 7f28135..9593db7 100644 --- a/lib/imageoperation.cpp +++ b/lib/imageoperation.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "imageoperation.h" #include diff --git a/lib/imageoperation.h b/lib/imageoperation.h index b65680c..2094711 100644 --- a/lib/imageoperation.h +++ b/lib/imageoperation.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef IMAGEOPERATION_H #define IMAGEOPERATION_H diff --git a/lib/mediaitem.cpp b/lib/mediaitem.cpp index 578d788..61e090c 100644 --- a/lib/mediaitem.cpp +++ b/lib/mediaitem.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "mediaitem.h" #include diff --git a/lib/mediaitem.h b/lib/mediaitem.h index c39ce86..362ebce 100644 --- a/lib/mediaitem.h +++ b/lib/mediaitem.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef MEDIAITEM_H #define MEDIAITEM_H diff --git a/lib/mediatransferinterface.cpp b/lib/mediatransferinterface.cpp index 7cad374..3d14e9b 100644 --- a/lib/mediatransferinterface.cpp +++ b/lib/mediatransferinterface.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "mediatransferinterface.h" #include "mediaitem.h" diff --git a/lib/mediatransferinterface.h b/lib/mediatransferinterface.h index 005f3b2..d13980b 100644 --- a/lib/mediatransferinterface.h +++ b/lib/mediatransferinterface.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef MEDIATRANSFERINTERFACE_H #define MEDIATRANSFERINTERFACE_H diff --git a/lib/metatypedeclarations.h b/lib/metatypedeclarations.h index 08454c4..c6d1cdf 100644 --- a/lib/metatypedeclarations.h +++ b/lib/metatypedeclarations.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef METATYPEDECLARATIONS_H #define METATYPEDECLARATIONS_H diff --git a/lib/transferdbrecord.cpp b/lib/transferdbrecord.cpp index 8a5c062..644f5c9 100644 --- a/lib/transferdbrecord.cpp +++ b/lib/transferdbrecord.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "transferdbrecord.h" #include "metatypedeclarations.h" diff --git a/lib/transferdbrecord.h b/lib/transferdbrecord.h index bd45f7b..26a725a 100644 --- a/lib/transferdbrecord.h +++ b/lib/transferdbrecord.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERDBRECORD_H #define TRANSFERDBRECORD_H diff --git a/lib/transferengineclient.cpp b/lib/transferengineclient.cpp index 94b2be8..eee032f 100644 --- a/lib/transferengineclient.cpp +++ b/lib/transferengineclient.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "transferengineclient.h" #include "transferengineinterface.h" diff --git a/lib/transferengineclient.h b/lib/transferengineclient.h index 7366a22..8f24951 100644 --- a/lib/transferengineclient.h +++ b/lib/transferengineclient.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERENGINECLIENT_H #define TRANSFERENGINECLIENT_H diff --git a/lib/transfermethodinfo.cpp b/lib/transfermethodinfo.cpp index 0b4c475..65bc44b 100644 --- a/lib/transfermethodinfo.cpp +++ b/lib/transfermethodinfo.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "transfermethodinfo.h" #include "metatypedeclarations.h" diff --git a/lib/transfermethodinfo.h b/lib/transfermethodinfo.h index 3bfdac9..c1c6612 100644 --- a/lib/transfermethodinfo.h +++ b/lib/transfermethodinfo.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERMETHODINFO_H #define TRANSFERMETHODINFO_H diff --git a/lib/transferplugininfo.h b/lib/transferplugininfo.h index 0e649cd..6f21b31 100644 --- a/lib/transferplugininfo.h +++ b/lib/transferplugininfo.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERPLUGININFO_H #define TRANSFERPLUGININFO_H diff --git a/lib/transferplugininterface.h b/lib/transferplugininterface.h index c9d869b..67bb370 100644 --- a/lib/transferplugininterface.h +++ b/lib/transferplugininterface.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERPLUGININTERFACE_H #define TRANSFERPLUGININTERFACE_H diff --git a/lib/transfertypes.h b/lib/transfertypes.h index d4e0798..bd9d91d 100644 --- a/lib/transfertypes.h +++ b/lib/transfertypes.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERTYPES_H #define TRANSFERTYPES_H diff --git a/rpm/transfer-engine-qt5.spec b/rpm/transfer-engine-qt5.spec index 730b320..ec59bc3 100644 --- a/rpm/transfer-engine-qt5.spec +++ b/rpm/transfer-engine-qt5.spec @@ -67,40 +67,40 @@ Requires: libnemotransferengine-qt5 = %{version} %{_libdir}/pkgconfig/nemotransferengine-qt5.pc %package ts-devel -Summary: Translation source for Nemo TransferEngine +Summary: Translation source for Sailfish Transfer Engine License: LGPLv2.1 Group: System Environment/Daemon Provides: nemo-transferengine-ts-devel > 0.0.19 Obsoletes: nemo-transferengine-ts-devel <= 0.0.19 %description ts-devel -Translation source for Nemo TransferEngine +Translation source for Sailfish Transfer Engine %files ts-devel %defattr(-,root,root,-) %{_datadir}/translations/source/*.ts %package tests -Summary: Unit tests for Nemo TransferEngine +Summary: Unit tests for Sailfish Transfer Engine License: LGPLv2.1 Group: System Environment/Daemon %description tests -Unit tests for Nemo TransferEngine +Unit tests for Sailfish Transfer Engine %files tests %defattr(-,root,root,-) /opt/tests/nemo-transfer-engine-qt5 %package doc -Summary: Documentation for Nemo TransferEngine +Summary: Documentation for Sailfish Transfer Engine License: BSD Group: System Environment/Daemon Provides: nemo-transferengine-doc > 0.0.19 Obsoletes: nemo-transferengine-doc <= 0.0.19 %description doc -Documentation for Nemo TransferEngine +Documentation for Sailfish Transfer Engine %files doc %defattr(-,root,root,-) diff --git a/src/dbmanager.cpp b/src/dbmanager.cpp index d8edcaa..f634138 100644 --- a/src/dbmanager.cpp +++ b/src/dbmanager.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "dbmanager.h" #include "transfertypes.h" diff --git a/src/dbmanager.h b/src/dbmanager.h index 457e392..a38643b 100644 --- a/src/dbmanager.h +++ b/src/dbmanager.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef DBMANAGER_H #define DBMANAGER_H diff --git a/src/logging.cpp b/src/logging.cpp new file mode 100644 index 0000000..1da49dd --- /dev/null +++ b/src/logging.cpp @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2019 Open Mobile Platform LLC. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ + +#include "logging.h" + +Q_LOGGING_CATEGORY(lcTransferLog, "org.sailfishos.transferengine", QtWarningMsg) diff --git a/src/logging.h b/src/logging.h new file mode 100644 index 0000000..f5a765b --- /dev/null +++ b/src/logging.h @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2019 Open Mobile Platform LLC. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ + +#ifndef TRANSFERENGINE_LOGGING_H +#define TRANSFERENGINE_LOGGING_H + +#include + +Q_DECLARE_LOGGING_CATEGORY(lcTransferLog) + +#endif diff --git a/src/main.cpp b/src/main.cpp index b1f5c43..3066780 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include #include diff --git a/src/src.pro b/src/src.pro index 51172e7..56da3c3 100644 --- a/src/src.pro +++ b/src/src.pro @@ -53,10 +53,12 @@ PRE_TARGETDEPS += ts engineering_english # Input SOURCES += main.cpp \ dbmanager.cpp \ + logging.cpp \ transferengine.cpp HEADERS += \ dbmanager.h \ + logging.h \ transferengine.h \ transferengine_p.h diff --git a/src/transferengine.cpp b/src/transferengine.cpp index 19c9a0a..a00ed8d 100644 --- a/src/transferengine.cpp +++ b/src/transferengine.cpp @@ -1,34 +1,34 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * Copyright (c) 2019 Open Mobile Platform LLC. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "transferengine.h" #include "transferengine_p.h" #include "transferplugininterface.h" #include "mediaitem.h" #include "dbmanager.h" +#include "logging.h" #include "transferengine_adaptor.h" #include "transfertypes.h" #include "transferplugininfo.h" @@ -110,7 +110,7 @@ void ClientActivityMonitor::newActivity(int transferId) void ClientActivityMonitor::activityFinished(int transferId) { if (!m_activityMap.contains(transferId)) { - qWarning() << Q_FUNC_INFO << "Could not find matching TransferId. This is probably an error!"; + qCWarning(lcTransferLog) << Q_FUNC_INFO << "Could not find matching TransferId. This is probably an error!"; return; } @@ -154,8 +154,8 @@ TransferEnginePrivate::TransferEnginePrivate(TransferEngine *parent): m_delayedExitTimer = new QTimer(this); m_delayedExitTimer->setSingleShot(true); - m_delayedExitTimer->setInterval(5000); - m_delayedExitTimer->start(); // Exit if nothing happens within 5 sec + m_delayedExitTimer->setInterval(60000); + m_delayedExitTimer->start(); // Exit if nothing happens within 60 sec connect(m_delayedExitTimer, SIGNAL(timeout()), this, SLOT(delayedExitSafely())); m_fileWatcher = new QFileSystemWatcher(this); @@ -179,7 +179,7 @@ TransferEnginePrivate::TransferEnginePrivate(TransferEngine *parent): QSettings settings(CONFIG_PATH, QSettings::IniFormat); if (settings.status() != QSettings::NoError) { - qWarning() << Q_FUNC_INFO << "Failed to read settings!" << settings.status(); + qCWarning(lcTransferLog) << Q_FUNC_INFO << "Failed to read settings!" << settings.status(); } else { settings.beginGroup("transfers"); const QString service = settings.value("service").toString(); @@ -206,7 +206,7 @@ void TransferEnginePrivate::pluginDirChanged() void TransferEnginePrivate::exitSafely() { if (!m_activityMonitor->activeTransfers()) { - qDebug() << "Scheduling exit in" << m_delayedExitTimer->interval() << "ms"; + qCDebug(lcTransferLog) << "Scheduling exit in" << m_delayedExitTimer->interval() << "ms"; m_delayedExitTimer->start(); } else { m_delayedExitTimer->stop(); @@ -216,9 +216,9 @@ void TransferEnginePrivate::exitSafely() void TransferEnginePrivate::delayedExitSafely() { if (getenv("TRANSFER_ENGINE_KEEP_RUNNING")) { - qDebug() << "Keeping transfer engine running"; + qCDebug(lcTransferLog) << "Keeping transfer engine running"; } else { - qDebug() << "Stopping transfer engine"; + qCDebug(lcTransferLog) << "Stopping transfer engine"; qApp->exit(); } } @@ -231,7 +231,7 @@ void TransferEnginePrivate::enabledPluginsCheck() } if (m_infoObjects.count() > 0) { - qWarning() << Q_FUNC_INFO << "Already quering account info" << m_infoObjects.count(); + qCWarning(lcTransferLog) << Q_FUNC_INFO << "Already quering account info" << m_infoObjects.count(); return; } @@ -260,7 +260,7 @@ void TransferEnginePrivate::enabledPluginsCheck() TransferPluginInfo *info = interface->infoObject(); if (!info) { - qWarning() << Q_FUNC_INFO << "NULL Info object!"; + qCWarning(lcTransferLog) << Q_FUNC_INFO << "NULL Info object!"; continue; } @@ -279,7 +279,7 @@ void TransferEnginePrivate::enabledPluginsCheck() } if (!interface) { - qWarning() << Q_FUNC_INFO << loader.errorString(); + qCWarning(lcTransferLog) << Q_FUNC_INFO << loader.errorString(); } } } @@ -376,7 +376,7 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty // Ok exit break; default: - qWarning() << "TransferEnginePrivate::sendNotification: unknown state"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::sendNotification: unknown state"; break; } @@ -402,7 +402,7 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty category.clear(); break; default: - qWarning() << "TransferEnginePrivate::sendNotification: unknown state"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::sendNotification: unknown state"; category.clear(); break; } @@ -490,11 +490,11 @@ int TransferEnginePrivate::uploadMediaItem(MediaItem *mediaItem, Q_Q(TransferEngine); if (mediaItem == 0) { - qWarning() << "TransferEngine::uploadMediaItem invalid MediaItem"; + qCWarning(lcTransferLog) << "TransferEngine::uploadMediaItem invalid MediaItem"; return -1; } if (muif == 0) { - qWarning() << "TransferEngine::uploadMediaItem Failed to get MediaTransferInterface"; + qCWarning(lcTransferLog) << "TransferEngine::uploadMediaItem Failed to get MediaTransferInterface"; return -1; } @@ -529,7 +529,7 @@ int TransferEnginePrivate::uploadMediaItem(MediaItem *mediaItem, m_keyTypeCache.insert(key, TransferEngineData::Upload); if (key < 0) { - qWarning() << "TransferEngine::uploadMediaItem: Failed to create an entry to transfer database!"; + qCWarning(lcTransferLog) << "TransferEngine::uploadMediaItem: Failed to create an entry to transfer database!"; delete muif; return key; } @@ -579,7 +579,7 @@ MediaTransferInterface *TransferEnginePrivate::loadPlugin(const QString &pluginI } if (!interface) { - qWarning() << "TransferEngine::loadPlugin: " + loader.errorString(); + qCWarning(lcTransferLog) << "TransferEngine::loadPlugin: " + loader.errorString(); } if (loader.isLoaded()) { @@ -629,7 +629,7 @@ void TransferEnginePrivate::uploadItemStatusChanged(MediaTransferInterface::Tran sendNotification(type, tStatus, muif->progress(), mediaFileOrResourceName(muif->mediaItem()), key); ok = DbManager::instance()->updateTransferStatus(key, tStatus); if (m_plugins.remove(muif) == 0) { - qWarning() << "TransferEnginePrivate::uploadItemStatusChanged: Failed to remove media upload object from the map!"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::uploadItemStatusChanged: Failed to remove media upload object from the map!"; // What to do here.. Let's just delete it.. } muif->deleteLater(); @@ -638,12 +638,12 @@ void TransferEnginePrivate::uploadItemStatusChanged(MediaTransferInterface::Tran } break; default: - qWarning() << "TransferEnginePrivate::uploadItemStatusChanged: unhandled status: " << tStatus; + qCWarning(lcTransferLog) << "TransferEnginePrivate::uploadItemStatusChanged: unhandled status: " << tStatus; break; } if (!ok) { - qWarning() << "TransferEnginePrivate::uploadItemStatusChanged: Failed update share status for the item: " + key; + qCWarning(lcTransferLog) << "TransferEnginePrivate::uploadItemStatusChanged: Failed update share status for the item: " + key; return; } @@ -657,7 +657,7 @@ void TransferEnginePrivate::updateProgress(qreal progress) const int key = m_plugins.value(muif); if (!DbManager::instance()->updateProgress(key, progress)) { - qWarning() << "TransferEnginePrivate::updateProgress: Failed to update progress"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::updateProgress: Failed to update progress"; return; } @@ -678,7 +678,7 @@ void TransferEnginePrivate::pluginInfoReady() if (m_infoObjects.removeOne(infoObj)) { delete infoObj; } else { - qWarning() << Q_FUNC_INFO << "Failed to remove info object!"; + qCWarning(lcTransferLog) << Q_FUNC_INFO << "Failed to remove info object!"; delete infoObj; } @@ -690,7 +690,7 @@ void TransferEnginePrivate::pluginInfoReady() void TransferEnginePrivate::pluginInfoError(const QString &msg) { - qWarning() << "TransferEnginePrivate::pluginInfoError:" << msg; + qCWarning(lcTransferLog) << "TransferEnginePrivate::pluginInfoError:" << msg; TransferPluginInfo *infoObj = qobject_cast(sender()); m_infoObjects.removeOne(infoObj); infoObj->deleteLater(); @@ -721,7 +721,7 @@ void TransferEnginePrivate::callbackCall(int transferId, CallbackMethodType meth // empty string. So the list length is always 5. QStringList callback = DbManager::instance()->callback(transferId); if (callback.length() != 5) { - qWarning() << "TransferEnginePrivate:callbackCall: Invalid callback interface"; + qCWarning(lcTransferLog) << "TransferEnginePrivate:callbackCall: Invalid callback interface"; return; } @@ -730,18 +730,18 @@ void TransferEnginePrivate::callbackCall(int transferId, CallbackMethodType meth callback.at(Interface)); if (!remoteInterface.isValid()) { - qWarning() << "TransferEnginePrivate::callbackCall: DBus interface is not valid!"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::callbackCall: DBus interface is not valid!"; return; } if (method >= callback.size()) { - qWarning() << "TransferEnginePrivate::callbackCall: method index out of range!"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::callbackCall: method index out of range!"; return; } const QString methodName = callback.at(method); if (methodName.isEmpty()) { - qWarning() << "TransferEnginePrivate::callbackCall: Failed to get callback method name!"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::callbackCall: Failed to get callback method name!"; return; } remoteInterface.call(methodName, transferId); @@ -849,7 +849,7 @@ TransferEngine::~TransferEngine() connection.unregisterObject("/org/nemo/transferengine"); if (!connection.unregisterService("org.nemo.transferengine")) { - qWarning() << "Failed to unregister org.nemo.tranferengine service"; + qCWarning(lcTransferLog) << "Failed to unregister org.nemo.tranferengine service"; } } @@ -889,14 +889,14 @@ int TransferEngine::uploadMediaItem(const QString &source, MediaTransferInterface *muif = d->loadPlugin(serviceId); if (muif == 0) { - qWarning() << "TransferEngine::uploadMediaItem Failed to get MediaTransferInterface"; + qCWarning(lcTransferLog) << "TransferEngine::uploadMediaItem Failed to get MediaTransferInterface"; return -1; } QUrl filePath(source); QFileInfo fileInfo(filePath.toLocalFile()); if (!fileInfo.exists()) { - qWarning() << "TransferEnginePrivate::uploadMediaItem file " << source << " doesn't exist!"; + qCWarning(lcTransferLog) << "TransferEnginePrivate::uploadMediaItem file " << source << " doesn't exist!"; } MediaItem *mediaItem = new MediaItem(muif); @@ -931,7 +931,7 @@ int TransferEngine::uploadMediaItemContent(const QVariantMap &content, MediaTransferInterface *muif = d->loadPlugin(serviceId); if (muif == 0) { - qWarning() << "TransferEngine::uploadMediaItemContent Failed to get MediaTransferInterface"; + qCWarning(lcTransferLog) << "TransferEngine::uploadMediaItemContent Failed to get MediaTransferInterface"; return -1; } @@ -1068,12 +1068,12 @@ void TransferEngine::startTransfer(int transferId) TransferEngineData::TransferType type = d->transferType(transferId); if (type == TransferEngineData::Undefined) { - qWarning() << "TransferEngine::startTransfer: failed to get transfer type"; + qCWarning(lcTransferLog) << "TransferEngine::startTransfer: failed to get transfer type"; return; } if (type == TransferEngineData::Upload) { - qWarning() << "TransferEngine::startTransfer: starting upload isn't supported"; + qCWarning(lcTransferLog) << "TransferEngine::startTransfer: starting upload isn't supported"; return; } @@ -1087,7 +1087,7 @@ void TransferEngine::startTransfer(int transferId) emit statusChanged(transferId, TransferEngineData::TransferStarted); emit activeTransfersChanged(); } else { - qWarning() << "TransferEngine::startTransfer: could not start transfer"; + qCWarning(lcTransferLog) << "TransferEngine::startTransfer: could not start transfer"; } } @@ -1106,7 +1106,7 @@ void TransferEngine::restartTransfer(int transferId) TransferEngineData::TransferType type = d->transferType(transferId); if (type == TransferEngineData::Undefined) { - qWarning() << "TransferEngine::restartTransfer: failed to get transfer type"; + qCWarning(lcTransferLog) << "TransferEngine::restartTransfer: failed to get transfer type"; return; } @@ -1114,7 +1114,7 @@ void TransferEngine::restartTransfer(int transferId) MediaItem * item = DbManager::instance()->mediaItem(transferId); if (!item) { - qWarning() << "TransferEngine::restartTransfer: failed to reload media item from db!"; + qCWarning(lcTransferLog) << "TransferEngine::restartTransfer: failed to reload media item from db!"; return; } @@ -1173,7 +1173,7 @@ void TransferEngine::finishTransfer(int transferId, int status, const QString &r if (type == TransferEngineData::Download) { MediaItem *mediaItem = DbManager::instance()->mediaItem(transferId); if (!mediaItem) { - qWarning() << "TransferEngine::finishTransfer: Failed to fetch MediaItem"; + qCWarning(lcTransferLog) << "TransferEngine::finishTransfer: Failed to fetch MediaItem"; return; } fileName = d->mediaFileOrResourceName(mediaItem); @@ -1228,7 +1228,7 @@ void TransferEngine::updateTransferProgress(int transferId, double progress) MediaItem *mediaItem = DbManager::instance()->mediaItem(transferId); if (!mediaItem) { - qWarning() << "TransferEngine::finishTransfer: Failed to fetch MediaItem"; + qCWarning(lcTransferLog) << "TransferEngine::finishTransfer: Failed to fetch MediaItem"; return; } QString fileName = d->mediaFileOrResourceName(mediaItem); @@ -1242,7 +1242,7 @@ void TransferEngine::updateTransferProgress(int transferId, double progress) d->sendNotification(type, DbManager::instance()->transferStatus(transferId), progress, fileName, transferId); } } else { - qWarning() << "TransferEngine::updateTransferProgress: Failed to update progress for " << transferId; + qCWarning(lcTransferLog) << "TransferEngine::updateTransferProgress: Failed to update progress for " << transferId; } } @@ -1356,7 +1356,7 @@ void TransferEngine::cancelTransfer(int transferId) if (type == TransferEngineData::Upload) { MediaTransferInterface *muif = d->m_plugins.key(transferId); if (muif == 0) { - qWarning() << "TransferEngine::cancelTransfer: Failed to get MediaTransferInterface!"; + qCWarning(lcTransferLog) << "TransferEngine::cancelTransfer: Failed to get MediaTransferInterface!"; return; } d->m_activityMonitor->activityFinished(transferId); diff --git a/src/transferengine.h b/src/transferengine.h index 4eda535..4ded924 100644 --- a/src/transferengine.h +++ b/src/transferengine.h @@ -1,28 +1,27 @@ -/**************************************************************************************** -** -** Copyright (C) 2013-2016 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * Copyright (c) 2019 Open Mobile Platform LLC. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERENGINE_H #define TRANSFERENGINE_H diff --git a/src/transferengine_p.h b/src/transferengine_p.h index 26530bf..bcbd61b 100644 --- a/src/transferengine_p.h +++ b/src/transferengine_p.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef TRANSFERENGINE_P_H #define TRANSFERENGINE_P_H diff --git a/tests/main.cpp b/tests/main.cpp index af7242c..afc1300 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include #include "ut_imageoperation.h" diff --git a/tests/ut_imageoperation.cpp b/tests/ut_imageoperation.cpp index 91b8875..9c3a899 100644 --- a/tests/ut_imageoperation.cpp +++ b/tests/ut_imageoperation.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "ut_imageoperation.h" #include diff --git a/tests/ut_imageoperation.h b/tests/ut_imageoperation.h index 09f7a08..93f0528 100644 --- a/tests/ut_imageoperation.h +++ b/tests/ut_imageoperation.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef UT_IMAGEOPERATION_H #define UT_IMAGEOPERATION_H diff --git a/tests/ut_mediatransferinterface.cpp b/tests/ut_mediatransferinterface.cpp index b0536cb..67fe4f7 100644 --- a/tests/ut_mediatransferinterface.cpp +++ b/tests/ut_mediatransferinterface.cpp @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #include "ut_mediatransferinterface.h" #include "mediaitem.h" diff --git a/tests/ut_mediatransferinterface.h b/tests/ut_mediatransferinterface.h index 457dab8..7389e30 100644 --- a/tests/ut_mediatransferinterface.h +++ b/tests/ut_mediatransferinterface.h @@ -1,28 +1,26 @@ -/**************************************************************************************** -** -** Copyright (C) 2013 Jolla Ltd. -** Contact: Marko Mattila -** All rights reserved. -** -** This file is part of Nemo Transfer Engine package. -** -** You may use this file under the terms of the GNU Lesser General -** Public License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is free software; you can redistribute it and/or -** modify it under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation -** and appearing in the file license.lgpl included in the packaging -** of this file. -** -** This library is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -** Lesser General Public License for more details. -** -****************************************************************************************/ +/* + * Copyright (c) 2013 - 2019 Jolla Ltd. + * + * All rights reserved. + * + * This file is part of Sailfish Transfer Engine package. + * + * You may use this file under the terms of the GNU Lesser General + * Public License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1 as published by the Free Software Foundation + * and appearing in the file license.lgpl included in the packaging + * of this file. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + */ #ifndef UT_MEDIATRANSFERINTERFACE_H #define UT_MEDIATRANSFERINTERFACE_H