diff --git a/autotests/benchmarks/databasebenchmark.cpp b/autotests/benchmarks/databasebenchmark.cpp index 89a115c12..9eefdaa14 100644 --- a/autotests/benchmarks/databasebenchmark.cpp +++ b/autotests/benchmarks/databasebenchmark.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "database.h" #include "transaction.h" diff --git a/autotests/benchmarks/positioncodecbenchmark.cpp b/autotests/benchmarks/positioncodecbenchmark.cpp index a461503f1..5d191d762 100644 --- a/autotests/benchmarks/positioncodecbenchmark.cpp +++ b/autotests/benchmarks/positioncodecbenchmark.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "positioncodec.h" #include "positioninfo.h" diff --git a/autotests/integration/dbstate.h b/autotests/integration/dbstate.h index 700565fca..f99961ab1 100644 --- a/autotests/integration/dbstate.h +++ b/autotests/integration/dbstate.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DBSTATE_H #define BALOO_DBSTATE_H diff --git a/autotests/integration/filesearchstoretest.cpp b/autotests/integration/filesearchstoretest.cpp index fdebf1bd9..fca6b4fab 100644 --- a/autotests/integration/filesearchstoretest.cpp +++ b/autotests/integration/filesearchstoretest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "filesearchstoretest.h" #include "filesearchstore.h" diff --git a/autotests/integration/querytest.cpp b/autotests/integration/querytest.cpp index dd5175677..c0c13e344 100644 --- a/autotests/integration/querytest.cpp +++ b/autotests/integration/querytest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "database.h" #include "transaction.h" diff --git a/autotests/integration/writetransactiontest.cpp b/autotests/integration/writetransactiontest.cpp index 8bc0d031f..708be3514 100644 --- a/autotests/integration/writetransactiontest.cpp +++ b/autotests/integration/writetransactiontest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "writetransaction.h" #include "dbstate.h" diff --git a/autotests/unit/codecs/doctermscodectest.cpp b/autotests/unit/codecs/doctermscodectest.cpp index b237c8430..52ad01ada 100644 --- a/autotests/unit/codecs/doctermscodectest.cpp +++ b/autotests/unit/codecs/doctermscodectest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "doctermscodec.h" diff --git a/autotests/unit/codecs/positioncodectest.cpp b/autotests/unit/codecs/positioncodectest.cpp index 3603e7cda..588a76862 100644 --- a/autotests/unit/codecs/positioncodectest.cpp +++ b/autotests/unit/codecs/positioncodectest.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2016 Christian Ehrlicher + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2016 Christian Ehrlicher - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include diff --git a/autotests/unit/codecs/postingcodectest.cpp b/autotests/unit/codecs/postingcodectest.cpp index 4bd038461..3293ba439 100644 --- a/autotests/unit/codecs/postingcodectest.cpp +++ b/autotests/unit/codecs/postingcodectest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "postingcodec.h" diff --git a/autotests/unit/engine/andpostingiteratortest.cpp b/autotests/unit/engine/andpostingiteratortest.cpp index d6873921d..0c800c928 100644 --- a/autotests/unit/engine/andpostingiteratortest.cpp +++ b/autotests/unit/engine/andpostingiteratortest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "andpostingiterator.h" #include "vectorpostingiterator.h" diff --git a/autotests/unit/engine/documentdatadbtest.cpp b/autotests/unit/engine/documentdatadbtest.cpp index d7ea026e9..70d0fa732 100644 --- a/autotests/unit/engine/documentdatadbtest.cpp +++ b/autotests/unit/engine/documentdatadbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentdatadb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/documentdbtest.cpp b/autotests/unit/engine/documentdbtest.cpp index ed68c768d..e58fae989 100644 --- a/autotests/unit/engine/documentdbtest.cpp +++ b/autotests/unit/engine/documentdbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentdb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/documentiddbtest.cpp b/autotests/unit/engine/documentiddbtest.cpp index 07607134b..3438f8ebd 100644 --- a/autotests/unit/engine/documentiddbtest.cpp +++ b/autotests/unit/engine/documentiddbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentiddb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/documenttimedbtest.cpp b/autotests/unit/engine/documenttimedbtest.cpp index c509e5c7e..fc9beed08 100644 --- a/autotests/unit/engine/documenttimedbtest.cpp +++ b/autotests/unit/engine/documenttimedbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documenttimedb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/documenturldbtest.cpp b/autotests/unit/engine/documenturldbtest.cpp index e97ff6a69..9897b38aa 100644 --- a/autotests/unit/engine/documenturldbtest.cpp +++ b/autotests/unit/engine/documenturldbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documenturldb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/idfilenamedbtest.cpp b/autotests/unit/engine/idfilenamedbtest.cpp index a7eb0fa50..fbdcb6963 100644 --- a/autotests/unit/engine/idfilenamedbtest.cpp +++ b/autotests/unit/engine/idfilenamedbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "idfilenamedb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/idtreedbtest.cpp b/autotests/unit/engine/idtreedbtest.cpp index 488e256dd..f194a1ee6 100644 --- a/autotests/unit/engine/idtreedbtest.cpp +++ b/autotests/unit/engine/idtreedbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "idtreedb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/mtimedbtest.cpp b/autotests/unit/engine/mtimedbtest.cpp index 37df7c519..916560db4 100644 --- a/autotests/unit/engine/mtimedbtest.cpp +++ b/autotests/unit/engine/mtimedbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "mtimedb.h" #include "postingiterator.h" diff --git a/autotests/unit/engine/orpostingiteratortest.cpp b/autotests/unit/engine/orpostingiteratortest.cpp index fafc6da90..1abed3b47 100644 --- a/autotests/unit/engine/orpostingiteratortest.cpp +++ b/autotests/unit/engine/orpostingiteratortest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "orpostingiterator.h" #include "vectorpostingiterator.h" diff --git a/autotests/unit/engine/phraseanditeratortest.cpp b/autotests/unit/engine/phraseanditeratortest.cpp index 4db1cf7f8..3ce483579 100644 --- a/autotests/unit/engine/phraseanditeratortest.cpp +++ b/autotests/unit/engine/phraseanditeratortest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "phraseanditerator.h" #include "vectorpositioninfoiterator.h" diff --git a/autotests/unit/engine/positiondbtest.cpp b/autotests/unit/engine/positiondbtest.cpp index 5e63851e9..5a8aae236 100644 --- a/autotests/unit/engine/positiondbtest.cpp +++ b/autotests/unit/engine/positiondbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "positiondb.h" #include "positioninfo.h" diff --git a/autotests/unit/engine/postingdbtest.cpp b/autotests/unit/engine/postingdbtest.cpp index cd4c54dba..135f8124d 100644 --- a/autotests/unit/engine/postingdbtest.cpp +++ b/autotests/unit/engine/postingdbtest.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "postingdb.h" #include "singledbtest.h" diff --git a/autotests/unit/engine/queryparsertest.cpp b/autotests/unit/engine/queryparsertest.cpp index b5cf58720..8e1bca01c 100644 --- a/autotests/unit/engine/queryparsertest.cpp +++ b/autotests/unit/engine/queryparsertest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "queryparser.h" #include "enginequery.h" diff --git a/autotests/unit/engine/singledbtest.cpp b/autotests/unit/engine/singledbtest.cpp index c60391bd4..c1cc135f9 100644 --- a/autotests/unit/engine/singledbtest.cpp +++ b/autotests/unit/engine/singledbtest.cpp @@ -1,21 +1,8 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "singledbtest.h" diff --git a/autotests/unit/engine/singledbtest.h b/autotests/unit/engine/singledbtest.h index 249ab0652..f20498c17 100644 --- a/autotests/unit/engine/singledbtest.h +++ b/autotests/unit/engine/singledbtest.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_SINGLEDBTEST_H #define BALOO_SINGLEDBTEST_H diff --git a/autotests/unit/engine/termgeneratortest.cpp b/autotests/unit/engine/termgeneratortest.cpp index 1550e6720..d435bfed8 100644 --- a/autotests/unit/engine/termgeneratortest.cpp +++ b/autotests/unit/engine/termgeneratortest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "termgenerator.h" #include "document.h" diff --git a/autotests/unit/engine/transactiontest.cpp b/autotests/unit/engine/transactiontest.cpp index 6d1c746b6..9ca82e4f9 100644 --- a/autotests/unit/engine/transactiontest.cpp +++ b/autotests/unit/engine/transactiontest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "transaction.h" #include "database.h" diff --git a/autotests/unit/file/basicindexingjobtest.cpp b/autotests/unit/file/basicindexingjobtest.cpp index 808e6c506..56909843e 100644 --- a/autotests/unit/file/basicindexingjobtest.cpp +++ b/autotests/unit/file/basicindexingjobtest.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2014 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "basicindexingjob.h" diff --git a/autotests/unit/file/fileindexerconfigtest.cpp b/autotests/unit/file/fileindexerconfigtest.cpp index 59542acbf..13706d652 100644 --- a/autotests/unit/file/fileindexerconfigtest.cpp +++ b/autotests/unit/file/fileindexerconfigtest.cpp @@ -1,23 +1,9 @@ /* - This file is part of the Baloo KDE project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2018 Michael Heidelbach - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the Baloo KDE project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2018 Michael Heidelbach + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "fileindexerconfigtest.h" diff --git a/autotests/unit/file/fileindexerconfigtest.h b/autotests/unit/file/fileindexerconfigtest.h index 74199430b..8f4d2f50c 100644 --- a/autotests/unit/file/fileindexerconfigtest.h +++ b/autotests/unit/file/fileindexerconfigtest.h @@ -1,23 +1,9 @@ /* - * This file is part of the Baloo KDE project. - * Copyright 2018 Michael Heidelbach - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + This file is part of the Baloo KDE project. + SPDX-FileCopyrightText: 2018 Michael Heidelbach + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #ifndef INDEXERCONFIGTEST_H #define INDEXERCONFIGTEST_H diff --git a/autotests/unit/file/fileindexerconfigutils.h b/autotests/unit/file/fileindexerconfigutils.h index f81a2e53d..9f921d073 100644 --- a/autotests/unit/file/fileindexerconfigutils.h +++ b/autotests/unit/file/fileindexerconfigutils.h @@ -1,22 +1,8 @@ /* - This file is part of the Nepomuk KDE project. - Copyright (C) 2011 Sebastian Trueg + This file is part of the Nepomuk KDE project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef FILEINDEXERCONFIGUTILS_H diff --git a/autotests/unit/file/fileinfotest.cpp b/autotests/unit/file/fileinfotest.cpp index 29d1f5e0b..dfe651897 100644 --- a/autotests/unit/file/fileinfotest.cpp +++ b/autotests/unit/file/fileinfotest.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2015 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "fileinfo.h" diff --git a/autotests/unit/file/filewatchtest.cpp b/autotests/unit/file/filewatchtest.cpp index a439534c0..ffcc88e4c 100644 --- a/autotests/unit/file/filewatchtest.cpp +++ b/autotests/unit/file/filewatchtest.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filewatch.h" #include "fileindexerconfigutils.h" diff --git a/autotests/unit/file/filtereddiriteratortest.cpp b/autotests/unit/file/filtereddiriteratortest.cpp index f949e7fba..045b13607 100644 --- a/autotests/unit/file/filtereddiriteratortest.cpp +++ b/autotests/unit/file/filtereddiriteratortest.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "fileindexerconfigutils.h" diff --git a/autotests/unit/file/kinotifytest.cpp b/autotests/unit/file/kinotifytest.cpp index bdce82b2d..976c3f1be 100644 --- a/autotests/unit/file/kinotifytest.cpp +++ b/autotests/unit/file/kinotifytest.cpp @@ -1,23 +1,9 @@ /* - Copyright (C) 2010 by Sebastian Trueg - Copyright (C) 2014 by Vishesh Handa - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor approved - by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - */ + SPDX-FileCopyrightText: 2010 Sebastian Trueg + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #include "kinotify.h" diff --git a/autotests/unit/file/metadatamovertest.cpp b/autotests/unit/file/metadatamovertest.cpp index 18925772b..edf841607 100644 --- a/autotests/unit/file/metadatamovertest.cpp +++ b/autotests/unit/file/metadatamovertest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "metadatamover.h" diff --git a/autotests/unit/file/pendingfilequeuetest.cpp b/autotests/unit/file/pendingfilequeuetest.cpp index 41a589437..97f5089d9 100644 --- a/autotests/unit/file/pendingfilequeuetest.cpp +++ b/autotests/unit/file/pendingfilequeuetest.cpp @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2013-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "pendingfilequeue.h" diff --git a/autotests/unit/file/propertyserializationtest.cpp b/autotests/unit/file/propertyserializationtest.cpp index d47d5bd1d..915c90df6 100644 --- a/autotests/unit/file/propertyserializationtest.cpp +++ b/autotests/unit/file/propertyserializationtest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2019 Stefan Brüns - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2019 Stefan Brüns + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "propertydata.h" diff --git a/autotests/unit/file/regularexpcachebenchmark.cpp b/autotests/unit/file/regularexpcachebenchmark.cpp index 7699450a3..4ba976547 100644 --- a/autotests/unit/file/regularexpcachebenchmark.cpp +++ b/autotests/unit/file/regularexpcachebenchmark.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "regexpcache.h" #include "fileexcludefilters.h" diff --git a/autotests/unit/file/unindexedfileiteratortest.cpp b/autotests/unit/file/unindexedfileiteratortest.cpp index 14acf395b..933740017 100644 --- a/autotests/unit/file/unindexedfileiteratortest.cpp +++ b/autotests/unit/file/unindexedfileiteratortest.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2015 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "fileindexerconfigutils.h" diff --git a/autotests/unit/lib/advancedqueryparsertest.cpp b/autotests/unit/lib/advancedqueryparsertest.cpp index 39502d6ce..9526ca1d4 100644 --- a/autotests/unit/lib/advancedqueryparsertest.cpp +++ b/autotests/unit/lib/advancedqueryparsertest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "advancedqueryparser.h" diff --git a/autotests/unit/lib/filefetchjobtest.cpp b/autotests/unit/lib/filefetchjobtest.cpp index f912c8480..40b525d35 100644 --- a/autotests/unit/lib/filefetchjobtest.cpp +++ b/autotests/unit/lib/filefetchjobtest.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "file.h" #include "document.h" diff --git a/autotests/unit/lib/filemonitortest.cpp b/autotests/unit/lib/filemonitortest.cpp index f378ab7e2..683b10baf 100644 --- a/autotests/unit/lib/filemonitortest.cpp +++ b/autotests/unit/lib/filemonitortest.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filemonitor.h" diff --git a/autotests/unit/lib/queryserializationtest.cpp b/autotests/unit/lib/queryserializationtest.cpp index ff78b3979..0b8e1a8de 100644 --- a/autotests/unit/lib/queryserializationtest.cpp +++ b/autotests/unit/lib/queryserializationtest.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "query.h" #include "term.h" diff --git a/cmake/FindLMDB.cmake b/cmake/FindLMDB.cmake index 2b07a5d2e..85d7d015a 100644 --- a/cmake/FindLMDB.cmake +++ b/cmake/FindLMDB.cmake @@ -4,12 +4,12 @@ # LMDB_LIBRARIES - Libraries needed to use LMDB # FindCWD based on FindGMP by: -# Copyright (c) 2006, Laurent Montel, +# SPDX-FileCopyrightText: 2006 Laurent Montel # # Redistribution and use is allowed according to the terms of the BSD license. # Adapted from FindCWD by: -# Copyright 2013 Conrad Steenberg +# SPDX-FileCopyrightText: 2013 Conrad Steenberg # Aug 31, 2013 if (LMDB_INCLUDE_DIRS AND LMDB_LIBRARIES) diff --git a/src/codecs/coding.cpp b/src/codecs/coding.cpp index 5358faeff..0cfc99f5f 100644 --- a/src/codecs/coding.cpp +++ b/src/codecs/coding.cpp @@ -1,51 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2011 The LevelDB Authors. All rights reserved. -/* - Copyright (c) 2011 The LevelDB Authors. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + SPDX-License-Identifier: LGPL-2.1-or-later AND BSD-3-Clause */ #include "coding.h" diff --git a/src/codecs/coding.h b/src/codecs/coding.h index 3aa056696..e3d40f391 100644 --- a/src/codecs/coding.h +++ b/src/codecs/coding.h @@ -1,51 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -/* - Copyright (c) 2011 The LevelDB Authors. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2011 The LevelDB Authors. All rights reserved. - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + SPDX-License-Identifier: LGPL-2.1-or-later AND BSD-3-Clause */ #ifndef BALOO_STORAGE_LEVELDB_UTIL_CODING_H diff --git a/src/codecs/doctermscodec.cpp b/src/codecs/doctermscodec.cpp index 6930e62b9..ad83b4fae 100644 --- a/src/codecs/doctermscodec.cpp +++ b/src/codecs/doctermscodec.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "doctermscodec.h" diff --git a/src/codecs/doctermscodec.h b/src/codecs/doctermscodec.h index fd20bf781..3d5a0258d 100644 --- a/src/codecs/doctermscodec.h +++ b/src/codecs/doctermscodec.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCTERMSCODEC_H #define BALOO_DOCTERMSCODEC_H diff --git a/src/codecs/positioncodec.cpp b/src/codecs/positioncodec.cpp index d0eaf128e..3a3190b43 100644 --- a/src/codecs/positioncodec.cpp +++ b/src/codecs/positioncodec.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "positioncodec.h" #include "positioninfo.h" diff --git a/src/codecs/positioncodec.h b/src/codecs/positioncodec.h index 901acf81a..6c19ac796 100644 --- a/src/codecs/positioncodec.h +++ b/src/codecs/positioncodec.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSITIONCODEC_H #define BALOO_POSITIONCODEC_H diff --git a/src/codecs/postingcodec.cpp b/src/codecs/postingcodec.cpp index 13cd7415f..dd58f2481 100644 --- a/src/codecs/postingcodec.cpp +++ b/src/codecs/postingcodec.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "postingcodec.h" diff --git a/src/codecs/postingcodec.h b/src/codecs/postingcodec.h index cefc5b612..a84ef3570 100644 --- a/src/codecs/postingcodec.h +++ b/src/codecs/postingcodec.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSTINGCODEC_H #define BALOO_POSTINGCODEC_H diff --git a/src/engine/andpostingiterator.cpp b/src/engine/andpostingiterator.cpp index 49517e8f7..d8b892920 100644 --- a/src/engine/andpostingiterator.cpp +++ b/src/engine/andpostingiterator.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "andpostingiterator.h" diff --git a/src/engine/andpostingiterator.h b/src/engine/andpostingiterator.h index 999fd2aba..5dbff87f0 100644 --- a/src/engine/andpostingiterator.h +++ b/src/engine/andpostingiterator.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_ANDPOSTINGITERATOR_H #define BALOO_ANDPOSTINGITERATOR_H diff --git a/src/engine/database.cpp b/src/engine/database.cpp index 7b84c7e2e..e980cbdbc 100644 --- a/src/engine/database.cpp +++ b/src/engine/database.cpp @@ -1,23 +1,10 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * Copyright (C) 2016 Christoph Cullmann - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2016 Christoph Cullmann + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "database.h" #include "transaction.h" diff --git a/src/engine/database.h b/src/engine/database.h index 735ecd562..0f43b6233 100644 --- a/src/engine/database.h +++ b/src/engine/database.h @@ -1,23 +1,10 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * Copyright (C) 2016 Christoph Cullmann - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2016 Christoph Cullmann + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DATABASE_H #define BALOO_DATABASE_H diff --git a/src/engine/databasedbis.h b/src/engine/databasedbis.h index dc63cf74e..771bd4296 100644 --- a/src/engine/databasedbis.h +++ b/src/engine/databasedbis.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DATABASE_DBIS_H #define BALOO_DATABASE_DBIS_H diff --git a/src/engine/databasesize.h b/src/engine/databasesize.h index 0a1b97ee7..5535647cd 100644 --- a/src/engine/databasesize.h +++ b/src/engine/databasesize.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DATABASE_SIZE_H #define BALOO_DATABASE_SIZE_H diff --git a/src/engine/document.cpp b/src/engine/document.cpp index 1c448437f..dc30cca37 100644 --- a/src/engine/document.cpp +++ b/src/engine/document.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "document.h" diff --git a/src/engine/document.h b/src/engine/document.h index e994759bc..09a64a6ca 100644 --- a/src/engine/document.h +++ b/src/engine/document.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENT_H #define BALOO_DOCUMENT_H diff --git a/src/engine/documentdatadb.cpp b/src/engine/documentdatadb.cpp index 35a91f8f5..a2c65823c 100644 --- a/src/engine/documentdatadb.cpp +++ b/src/engine/documentdatadb.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentdatadb.h" #include "enginedebug.h" diff --git a/src/engine/documentdatadb.h b/src/engine/documentdatadb.h index b654fd8b9..8b3fc2562 100644 --- a/src/engine/documentdatadb.h +++ b/src/engine/documentdatadb.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENTDATADB_H #define BALOO_DOCUMENTDATADB_H diff --git a/src/engine/documentdb.cpp b/src/engine/documentdb.cpp index f8a224dbb..694fcb49f 100644 --- a/src/engine/documentdb.cpp +++ b/src/engine/documentdb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentdb.h" #include "doctermscodec.h" diff --git a/src/engine/documentdb.h b/src/engine/documentdb.h index e42f6486e..aeac93d64 100644 --- a/src/engine/documentdb.h +++ b/src/engine/documentdb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENTDB_H #define BALOO_DOCUMENTDB_H diff --git a/src/engine/documentiddb.cpp b/src/engine/documentiddb.cpp index d1a3a2cbc..cba9229c2 100644 --- a/src/engine/documentiddb.cpp +++ b/src/engine/documentiddb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documentiddb.h" #include "enginedebug.h" diff --git a/src/engine/documentiddb.h b/src/engine/documentiddb.h index 0bfd0b1af..f7a7f9da9 100644 --- a/src/engine/documentiddb.h +++ b/src/engine/documentiddb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENTIDDB_H #define BALOO_DOCUMENTIDDB_H diff --git a/src/engine/documentoperations.h b/src/engine/documentoperations.h index e97d82dca..e59ee44be 100644 --- a/src/engine/documentoperations.h +++ b/src/engine/documentoperations.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_ENGINE_DOCUMENT_OPERATIONS_H #define BALOO_ENGINE_DOCUMENT_OPERATIONS_H diff --git a/src/engine/documenttimedb.cpp b/src/engine/documenttimedb.cpp index 6ee9b96b6..9fea31c11 100644 --- a/src/engine/documenttimedb.cpp +++ b/src/engine/documenttimedb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documenttimedb.h" #include "enginedebug.h" diff --git a/src/engine/documenttimedb.h b/src/engine/documenttimedb.h index 14ef9f742..c0f55af9b 100644 --- a/src/engine/documenttimedb.h +++ b/src/engine/documenttimedb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENTTIMEDB_H #define BALOO_DOCUMENTTIMEDB_H diff --git a/src/engine/documenturldb.cpp b/src/engine/documenturldb.cpp index afcd1a106..44ac64722 100644 --- a/src/engine/documenturldb.cpp +++ b/src/engine/documenturldb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "documenturldb.h" #include "idutils.h" diff --git a/src/engine/documenturldb.h b/src/engine/documenturldb.h index 25f2f6bb6..eeba11cb2 100644 --- a/src/engine/documenturldb.h +++ b/src/engine/documenturldb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_DOCUMENTURLDB_H #define BALOO_DOCUMENTURLDB_H diff --git a/src/engine/enginequery.cpp b/src/engine/enginequery.cpp index a6e5e7ca7..6e406bd02 100644 --- a/src/engine/enginequery.cpp +++ b/src/engine/enginequery.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "enginequery.h" diff --git a/src/engine/enginequery.h b/src/engine/enginequery.h index 8afddc392..4cabad3eb 100644 --- a/src/engine/enginequery.h +++ b/src/engine/enginequery.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_ENGINEQUERY_H #define BALOO_ENGINEQUERY_H diff --git a/src/engine/experimental/databasesanitizer.cpp b/src/engine/experimental/databasesanitizer.cpp index a5d670595..da0e7bb07 100644 --- a/src/engine/experimental/databasesanitizer.cpp +++ b/src/engine/experimental/databasesanitizer.cpp @@ -1,23 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright 2018 Michael Heidelbach - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2018 Michael Heidelbach + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #include "databasesanitizer.h" #include "documenturldb.h" diff --git a/src/engine/experimental/databasesanitizer.h b/src/engine/experimental/databasesanitizer.h index aa413de5d..16e37004d 100644 --- a/src/engine/experimental/databasesanitizer.h +++ b/src/engine/experimental/databasesanitizer.h @@ -1,23 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright 2018 Michael Heidelbach - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2018 Michael Heidelbach + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #ifndef BALOODATABASESANITIZER_H #define BALOODATABASESANITIZER_H diff --git a/src/engine/fsutils.cpp b/src/engine/fsutils.cpp index bf9bfc2a3..bac5f3c93 100644 --- a/src/engine/fsutils.cpp +++ b/src/engine/fsutils.cpp @@ -1,24 +1,10 @@ /* - * Copyright (C) 2010 Tobias Koenig - * Copyright (C) 2014 Daniel Vrátil - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - * - */ + SPDX-FileCopyrightText: 2010 Tobias Koenig + SPDX-FileCopyrightText: 2014 Daniel Vrátil + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "fsutils.h" #include "enginedebug.h" diff --git a/src/engine/fsutils.h b/src/engine/fsutils.h index ae6642dd2..aa70e752f 100644 --- a/src/engine/fsutils.h +++ b/src/engine/fsutils.h @@ -1,25 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * Copyright (C) 2010 Tobias Koenig - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2010 Tobias Koenig + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_ENGINE_FSUTILS_H #define BALOO_ENGINE_FSUTILS_H diff --git a/src/engine/global.cpp b/src/engine/global.cpp index 814520bfa..0109159e6 100644 --- a/src/engine/global.cpp +++ b/src/engine/global.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Ashish Bansal - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Ashish Bansal + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "global.h" diff --git a/src/engine/global.h b/src/engine/global.h index 62ebf1695..d07f1cc43 100644 --- a/src/engine/global.h +++ b/src/engine/global.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Ashish Bansal - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Ashish Bansal + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef GLOBAL_H #define GLOBAL_H diff --git a/src/engine/idfilenamedb.cpp b/src/engine/idfilenamedb.cpp index 91ab5711f..974276be4 100644 --- a/src/engine/idfilenamedb.cpp +++ b/src/engine/idfilenamedb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "idfilenamedb.h" #include "enginedebug.h" diff --git a/src/engine/idfilenamedb.h b/src/engine/idfilenamedb.h index 64a147cdb..41c70b56b 100644 --- a/src/engine/idfilenamedb.h +++ b/src/engine/idfilenamedb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_IDFILENAMEDB_H #define BALOO_IDFILENAMEDB_H diff --git a/src/engine/idtreedb.cpp b/src/engine/idtreedb.cpp index ea0a75b07..23fec0c33 100644 --- a/src/engine/idtreedb.cpp +++ b/src/engine/idtreedb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "idtreedb.h" #include "enginedebug.h" diff --git a/src/engine/idtreedb.h b/src/engine/idtreedb.h index 66217a43d..af8f85991 100644 --- a/src/engine/idtreedb.h +++ b/src/engine/idtreedb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_IDTREEDB_H #define BALOO_IDTREEDB_H diff --git a/src/engine/idutils.h b/src/engine/idutils.h index e0b07e481..c0ad74547 100644 --- a/src/engine/idutils.h +++ b/src/engine/idutils.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_ID_UTILS_ #define BALOO_ID_UTILS_ diff --git a/src/engine/mtimedb.cpp b/src/engine/mtimedb.cpp index 3141037c9..c11c28cbc 100644 --- a/src/engine/mtimedb.cpp +++ b/src/engine/mtimedb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "mtimedb.h" #include "enginedebug.h" diff --git a/src/engine/mtimedb.h b/src/engine/mtimedb.h index ca442d823..b9943b46f 100644 --- a/src/engine/mtimedb.h +++ b/src/engine/mtimedb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_MTIMEDB_H #define BALOO_MTIMEDB_H diff --git a/src/engine/orpostingiterator.cpp b/src/engine/orpostingiterator.cpp index 272b937a8..a69d2cc79 100644 --- a/src/engine/orpostingiterator.cpp +++ b/src/engine/orpostingiterator.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "orpostingiterator.h" diff --git a/src/engine/orpostingiterator.h b/src/engine/orpostingiterator.h index b278dc7fc..9dcba3cff 100644 --- a/src/engine/orpostingiterator.h +++ b/src/engine/orpostingiterator.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_ORPOSTINGITERATOR_H #define BALOO_ORPOSTINGITERATOR_H diff --git a/src/engine/phraseanditerator.cpp b/src/engine/phraseanditerator.cpp index 342df691f..4b351bc8b 100644 --- a/src/engine/phraseanditerator.cpp +++ b/src/engine/phraseanditerator.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "phraseanditerator.h" #include "positioninfo.h" diff --git a/src/engine/phraseanditerator.h b/src/engine/phraseanditerator.h index f993aa85a..7339ff5fb 100644 --- a/src/engine/phraseanditerator.h +++ b/src/engine/phraseanditerator.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_PHRASEANDITERATOR_H #define BALOO_PHRASEANDITERATOR_H diff --git a/src/engine/positiondb.cpp b/src/engine/positiondb.cpp index 5579affd9..295623b81 100644 --- a/src/engine/positiondb.cpp +++ b/src/engine/positiondb.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "enginedebug.h" #include "positiondb.h" diff --git a/src/engine/positiondb.h b/src/engine/positiondb.h index 49864039d..b69da32d3 100644 --- a/src/engine/positiondb.h +++ b/src/engine/positiondb.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSITIONDB_H #define BALOO_POSITIONDB_H diff --git a/src/engine/positioninfo.h b/src/engine/positioninfo.h index 97e56bd63..d4b2eb00e 100644 --- a/src/engine/positioninfo.h +++ b/src/engine/positioninfo.h @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSITIONINFO_H #define BALOO_POSITIONINFO_H diff --git a/src/engine/postingdb.cpp b/src/engine/postingdb.cpp index 55fa10ae7..a47c590c8 100644 --- a/src/engine/postingdb.cpp +++ b/src/engine/postingdb.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "enginedebug.h" #include "postingdb.h" diff --git a/src/engine/postingdb.h b/src/engine/postingdb.h index 6aa982b80..ea3dace4b 100644 --- a/src/engine/postingdb.h +++ b/src/engine/postingdb.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSTINGDB_H #define BALOO_POSTINGDB_H diff --git a/src/engine/postingiterator.cpp b/src/engine/postingiterator.cpp index 765dbb5ab..30b84b38d 100644 --- a/src/engine/postingiterator.cpp +++ b/src/engine/postingiterator.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "postingiterator.h" diff --git a/src/engine/postingiterator.h b/src/engine/postingiterator.h index ad48c21be..bea87fd02 100644 --- a/src/engine/postingiterator.h +++ b/src/engine/postingiterator.h @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_POSTINGITERATOR_H #define BALOO_POSTINGITERATOR_H diff --git a/src/engine/queryparser.cpp b/src/engine/queryparser.cpp index b7e8dd137..e4e01ea6a 100644 --- a/src/engine/queryparser.cpp +++ b/src/engine/queryparser.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "queryparser.h" #include "enginequery.h" diff --git a/src/engine/queryparser.h b/src/engine/queryparser.h index 3084d5bfe..a406a6df1 100644 --- a/src/engine/queryparser.h +++ b/src/engine/queryparser.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_QUERYPARSER_H #define BALOO_QUERYPARSER_H diff --git a/src/engine/termgenerator.cpp b/src/engine/termgenerator.cpp index f8c20bb0c..9124701ac 100644 --- a/src/engine/termgenerator.cpp +++ b/src/engine/termgenerator.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "termgenerator.h" #include "document.h" diff --git a/src/engine/termgenerator.h b/src/engine/termgenerator.h index 1860ab9e4..0f4b2cda1 100644 --- a/src/engine/termgenerator.h +++ b/src/engine/termgenerator.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_TERMGENERATOR_H #define BALOO_TERMGENERATOR_H diff --git a/src/engine/transaction.cpp b/src/engine/transaction.cpp index fa47e5d81..42ad5cc90 100644 --- a/src/engine/transaction.cpp +++ b/src/engine/transaction.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "transaction.h" #include "postingdb.h" diff --git a/src/engine/transaction.h b/src/engine/transaction.h index ab5388ef4..466d63d3b 100644 --- a/src/engine/transaction.h +++ b/src/engine/transaction.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_TRANSACTION_H #define BALOO_TRANSACTION_H diff --git a/src/engine/valgrind.h b/src/engine/valgrind.h index 6c6a8b3e9..784084d3a 100644 --- a/src/engine/valgrind.h +++ b/src/engine/valgrind.h @@ -12,7 +12,7 @@ This file is part of Valgrind, a dynamic binary instrumentation framework. - Copyright (C) 2000-2017 Julian Seward. All rights reserved. + SPDX-FileCopyrightText: 2000-2017 Julian Seward. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/src/engine/vectorpositioninfoiterator.cpp b/src/engine/vectorpositioninfoiterator.cpp index bfe84163f..98010775c 100644 --- a/src/engine/vectorpositioninfoiterator.cpp +++ b/src/engine/vectorpositioninfoiterator.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "vectorpositioninfoiterator.h" #include "positioninfo.h" diff --git a/src/engine/vectorpositioninfoiterator.h b/src/engine/vectorpositioninfoiterator.h index 85f2f0b2e..2734de95d 100644 --- a/src/engine/vectorpositioninfoiterator.h +++ b/src/engine/vectorpositioninfoiterator.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_VECTORPOSITIONINFOITERATOR_H #define BALOO_VECTORPOSITIONINFOITERATOR_H diff --git a/src/engine/vectorpostingiterator.cpp b/src/engine/vectorpostingiterator.cpp index 777b7fd0c..2137c814e 100644 --- a/src/engine/vectorpostingiterator.cpp +++ b/src/engine/vectorpostingiterator.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "vectorpostingiterator.h" diff --git a/src/engine/vectorpostingiterator.h b/src/engine/vectorpostingiterator.h index 1cfd2dc36..69572f3b2 100644 --- a/src/engine/vectorpostingiterator.h +++ b/src/engine/vectorpostingiterator.h @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_VECTORPOSTINGITERATOR_H #define BALOO_VECTORPOSTINGITERATOR_H diff --git a/src/engine/writetransaction.cpp b/src/engine/writetransaction.cpp index 05a42bbf9..d50d24e1d 100644 --- a/src/engine/writetransaction.cpp +++ b/src/engine/writetransaction.cpp @@ -1,22 +1,9 @@ /* - This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "writetransaction.h" #include "transaction.h" diff --git a/src/engine/writetransaction.h b/src/engine/writetransaction.h index 479f2fcfa..ae01d18b4 100644 --- a/src/engine/writetransaction.h +++ b/src/engine/writetransaction.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_WRITETRANSACTION_H #define BALOO_WRITETRANSACTION_H diff --git a/src/file/basicindexingjob.cpp b/src/file/basicindexingjob.cpp index 2abb68f8d..9a17a5905 100644 --- a/src/file/basicindexingjob.cpp +++ b/src/file/basicindexingjob.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "basicindexingjob.h" #include "termgenerator.h" diff --git a/src/file/basicindexingjob.h b/src/file/basicindexingjob.h index ee0f75d93..f620119a8 100644 --- a/src/file/basicindexingjob.h +++ b/src/file/basicindexingjob.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BASICINDEXINGJOB_H #define BASICINDEXINGJOB_H diff --git a/src/file/extractor/app.cpp b/src/file/extractor/app.cpp index 98711b26b..86ed79d64 100644 --- a/src/file/extractor/app.cpp +++ b/src/file/extractor/app.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "app.h" #include "basicindexingjob.h" diff --git a/src/file/extractor/app.h b/src/file/extractor/app.h index abb65add1..42cd47f63 100644 --- a/src/file/extractor/app.h +++ b/src/file/extractor/app.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef EXTRACTOR_APP_H #define EXTRACTOR_APP_H diff --git a/src/file/extractor/main.cpp b/src/file/extractor/main.cpp index 6de36c7bf..6d0263b2a 100644 --- a/src/file/extractor/main.cpp +++ b/src/file/extractor/main.cpp @@ -1,23 +1,9 @@ /* - This file is part of the Nepomuk KDE project. - Copyright (C) 2010-14 Vishesh Handa - Copyright (C) 2010-2011 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the Nepomuk KDE project. + SPDX-FileCopyrightText: 2010-14 Vishesh Handa + SPDX-FileCopyrightText: 2010-2011 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "app.h" diff --git a/src/file/extractor/result.cpp b/src/file/extractor/result.cpp index b0e4c9d73..59a8de5ea 100644 --- a/src/file/extractor/result.cpp +++ b/src/file/extractor/result.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "result.h" #include "propertydata.h" diff --git a/src/file/extractor/result.h b/src/file/extractor/result.h index ca1472dcf..7ca90816c 100644 --- a/src/file/extractor/result.h +++ b/src/file/extractor/result.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef EXTRACTIONRESULT_H #define EXTRACTIONRESULT_H diff --git a/src/file/extractorprocess.cpp b/src/file/extractorprocess.cpp index 916126e8b..2cf70cba6 100644 --- a/src/file/extractorprocess.cpp +++ b/src/file/extractorprocess.cpp @@ -1,22 +1,9 @@ /* - * Copyright (C) 2015 Vishesh Handa - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "extractorprocess.h" diff --git a/src/file/extractorprocess.h b/src/file/extractorprocess.h index 4a750e6aa..98cfca82c 100644 --- a/src/file/extractorprocess.h +++ b/src/file/extractorprocess.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_EXTRACTORPROCESS_H #define BALOO_EXTRACTORPROCESS_H diff --git a/src/file/filecontentindexer.cpp b/src/file/filecontentindexer.cpp index 07e078972..5dc3b3fe3 100644 --- a/src/file/filecontentindexer.cpp +++ b/src/file/filecontentindexer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filecontentindexer.h" #include "filecontentindexerprovider.h" diff --git a/src/file/filecontentindexer.h b/src/file/filecontentindexer.h index 6a9be4e7b..53778e39d 100644 --- a/src/file/filecontentindexer.h +++ b/src/file/filecontentindexer.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FILECONTENTINDEXER_H #define BALOO_FILECONTENTINDEXER_H diff --git a/src/file/filecontentindexerprovider.cpp b/src/file/filecontentindexerprovider.cpp index 291b56099..183099521 100644 --- a/src/file/filecontentindexerprovider.cpp +++ b/src/file/filecontentindexerprovider.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filecontentindexerprovider.h" diff --git a/src/file/filecontentindexerprovider.h b/src/file/filecontentindexerprovider.h index 936d7538c..7d485534e 100644 --- a/src/file/filecontentindexerprovider.h +++ b/src/file/filecontentindexerprovider.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FILECONTENTINDEXERPROVIDER_H #define BALOO_FILECONTENTINDEXERPROVIDER_H diff --git a/src/file/fileexcludefilters.cpp b/src/file/fileexcludefilters.cpp index 585d58544..098c41c9e 100644 --- a/src/file/fileexcludefilters.cpp +++ b/src/file/fileexcludefilters.cpp @@ -1,19 +1,8 @@ -/* This file is part of the KDE Project - Copyright (c) 2008-2010 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.0-only */ #include "fileexcludefilters.h" diff --git a/src/file/fileexcludefilters.h b/src/file/fileexcludefilters.h index 4bbe26f48..8551dd2e9 100644 --- a/src/file/fileexcludefilters.h +++ b/src/file/fileexcludefilters.h @@ -1,19 +1,8 @@ -/* This file is part of the KDE Project - Copyright (c) 2008-2010 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef FILE_EXCLUDE_FILTERS_H_ diff --git a/src/file/fileindexerconfig.cpp b/src/file/fileindexerconfig.cpp index d29c66767..ac33ed49b 100644 --- a/src/file/fileindexerconfig.cpp +++ b/src/file/fileindexerconfig.cpp @@ -1,21 +1,10 @@ -/* This file is part of the KDE Project - Copyright (c) 2008-2010 Sebastian Trueg - Copyright (c) 2013-2014 Vishesh Handa - Copyright (c) 2020 Benjamin Port - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa + SPDX-FileCopyrightText: 2020 Benjamin Port + + SPDX-License-Identifier: LGPL-2.0-only */ #include "fileindexerconfig.h" diff --git a/src/file/fileindexerconfig.h b/src/file/fileindexerconfig.h index de197e1e4..b433b9e3d 100644 --- a/src/file/fileindexerconfig.h +++ b/src/file/fileindexerconfig.h @@ -1,21 +1,9 @@ /* - Copyright (c) 2008-2009 Sebastian Trueg - Copyright (c) 2012-2014 Vishesh Handa - Copyright (c) 2020 Benjamin Port - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-FileCopyrightText: 2008-2009 Sebastian Trueg + SPDX-FileCopyrightText: 2012-2014 Vishesh Handa + SPDX-FileCopyrightText: 2020 Benjamin Port + + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef BALOO_FILEINDEXER_CONFIG_H_ diff --git a/src/file/fileindexscheduler.cpp b/src/file/fileindexscheduler.cpp index d2323b3d9..ca571439b 100644 --- a/src/file/fileindexscheduler.cpp +++ b/src/file/fileindexscheduler.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "fileindexscheduler.h" diff --git a/src/file/fileindexscheduler.h b/src/file/fileindexscheduler.h index e7939e02f..04b824d03 100644 --- a/src/file/fileindexscheduler.h +++ b/src/file/fileindexscheduler.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FILEINDEXSCHEDULER_H #define BALOO_FILEINDEXSCHEDULER_H diff --git a/src/file/fileinfo.cpp b/src/file/fileinfo.cpp index ebbc2c8ce..673881f2e 100644 --- a/src/file/fileinfo.cpp +++ b/src/file/fileinfo.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "fileinfo.h" #include "idutils.h" diff --git a/src/file/fileinfo.h b/src/file/fileinfo.h index 49ed58e87..740161a18 100644 --- a/src/file/fileinfo.h +++ b/src/file/fileinfo.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FILEINFO_H #define BALOO_FILEINFO_H diff --git a/src/file/filewatch.cpp b/src/file/filewatch.cpp index c2877b211..10dcbd083 100644 --- a/src/file/filewatch.cpp +++ b/src/file/filewatch.cpp @@ -1,20 +1,9 @@ -/* This file is part of the KDE Project - Copyright (c) 2007-2011 Sebastian Trueg - Copyright (c) 2012-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2007-2011 Sebastian Trueg + SPDX-FileCopyrightText: 2012-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.0-only */ #include "filewatch.h" diff --git a/src/file/filewatch.h b/src/file/filewatch.h index e831762c5..4f6d57e2e 100644 --- a/src/file/filewatch.h +++ b/src/file/filewatch.h @@ -1,19 +1,8 @@ -/* This file is part of the KDE Project - Copyright (c) 2007-2011 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2007-2011 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef BALOO_FILE_WATCH_H_ diff --git a/src/file/filtereddiriterator.cpp b/src/file/filtereddiriterator.cpp index 8c07d2f88..cc22c6ba8 100644 --- a/src/file/filtereddiriterator.cpp +++ b/src/file/filtereddiriterator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filtereddiriterator.h" #include "fileindexerconfig.h" diff --git a/src/file/filtereddiriterator.h b/src/file/filtereddiriterator.h index cce5b0f5c..6d1e40fa2 100644 --- a/src/file/filtereddiriterator.h +++ b/src/file/filtereddiriterator.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef FILTEREDDIRITERATOR_H #define FILTEREDDIRITERATOR_H diff --git a/src/file/firstrunindexer.cpp b/src/file/firstrunindexer.cpp index 2a4ec8929..5f37825fe 100644 --- a/src/file/firstrunindexer.cpp +++ b/src/file/firstrunindexer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "firstrunindexer.h" #include "basicindexingjob.h" diff --git a/src/file/firstrunindexer.h b/src/file/firstrunindexer.h index 40b62b331..275280478 100644 --- a/src/file/firstrunindexer.h +++ b/src/file/firstrunindexer.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FIRSTRUNINDEXER_H #define BALOO_FIRSTRUNINDEXER_H diff --git a/src/file/indexcleaner.cpp b/src/file/indexcleaner.cpp index 4ff96368f..9ecfba6a9 100644 --- a/src/file/indexcleaner.cpp +++ b/src/file/indexcleaner.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "indexcleaner.h" #include "fileindexerconfig.h" diff --git a/src/file/indexcleaner.h b/src/file/indexcleaner.h index acf3b5f05..c4aeee917 100644 --- a/src/file/indexcleaner.h +++ b/src/file/indexcleaner.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_INDEXCLEANER_H #define BALOO_INDEXCLEANER_H diff --git a/src/file/indexerstate.h b/src/file/indexerstate.h index cff96bd32..056475292 100644 --- a/src/file/indexerstate.h +++ b/src/file/indexerstate.h @@ -1,24 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ + #ifndef BALOO_INDEXER_STATE_H #define BALOO_INDEXER_STATE_H diff --git a/src/file/kinotify.cpp b/src/file/kinotify.cpp index ece38ce3b..b071f4efb 100644 --- a/src/file/kinotify.cpp +++ b/src/file/kinotify.cpp @@ -1,21 +1,9 @@ -/* This file is part of the KDE libraries - Copyright (C) 2007-2010 Sebastian Trueg - Copyright (C) 2012-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE libraries + SPDX-FileCopyrightText: 2007-2010 Sebastian Trueg + SPDX-FileCopyrightText: 2012-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.0-or-later */ #include "kinotify.h" diff --git a/src/file/kinotify.h b/src/file/kinotify.h index e1de05c57..c4f9311de 100644 --- a/src/file/kinotify.h +++ b/src/file/kinotify.h @@ -1,20 +1,8 @@ -/* This file is part of the KDE libraries - Copyright (C) 2007-2010 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE libraries + SPDX-FileCopyrightText: 2007-2010 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef KINOTIFY_H_ diff --git a/src/file/main.cpp b/src/file/main.cpp index 4664f4899..1530bb642 100644 --- a/src/file/main.cpp +++ b/src/file/main.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include diff --git a/src/file/mainhub.cpp b/src/file/mainhub.cpp index 9302f8b7a..0be5a804f 100644 --- a/src/file/mainhub.cpp +++ b/src/file/mainhub.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "mainhub.h" #include "fileindexerconfig.h" diff --git a/src/file/mainhub.h b/src/file/mainhub.h index 65d03a4d8..9f881fdc6 100644 --- a/src/file/mainhub.h +++ b/src/file/mainhub.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_MAINHUB_H #define BALOO_MAINHUB_H diff --git a/src/file/metadatamover.cpp b/src/file/metadatamover.cpp index 1986f78c2..04d077b71 100644 --- a/src/file/metadatamover.cpp +++ b/src/file/metadatamover.cpp @@ -1,20 +1,9 @@ -/* This file is part of the KDE Project - Copyright (c) 2009-2011 Sebastian Trueg - Copyright (c) 2013-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2009-2011 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.0-only */ #include "metadatamover.h" diff --git a/src/file/metadatamover.h b/src/file/metadatamover.h index 28ab852ae..a90821f53 100644 --- a/src/file/metadatamover.h +++ b/src/file/metadatamover.h @@ -1,20 +1,9 @@ -/* This file is part of the KDE Project - Copyright (c) 2009-2011 Sebastian Trueg - Copyright (c) 2013-2014 Vishesh Handa +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2009-2011 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef BALOO_METADATA_MOVER_H_ diff --git a/src/file/migrator.cpp b/src/file/migrator.cpp index 391469b76..54963fb6f 100644 --- a/src/file/migrator.cpp +++ b/src/file/migrator.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "migrator.h" #include "fileindexerconfig.h" diff --git a/src/file/migrator.h b/src/file/migrator.h index 82d3d793d..87927538b 100644 --- a/src/file/migrator.h +++ b/src/file/migrator.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_MIGRATOR_H #define BALOO_MIGRATOR_H diff --git a/src/file/modifiedfileindexer.cpp b/src/file/modifiedfileindexer.cpp index 4ffc8b2f1..75158fe4b 100644 --- a/src/file/modifiedfileindexer.cpp +++ b/src/file/modifiedfileindexer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "modifiedfileindexer.h" #include "basicindexingjob.h" diff --git a/src/file/modifiedfileindexer.h b/src/file/modifiedfileindexer.h index a888df9c9..28e241efc 100644 --- a/src/file/modifiedfileindexer.h +++ b/src/file/modifiedfileindexer.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_MODIFIEDFILEINDEXER_H #define BALOO_MODIFIEDFILEINDEXER_H diff --git a/src/file/newfileindexer.cpp b/src/file/newfileindexer.cpp index 3ed40a100..6ab81825c 100644 --- a/src/file/newfileindexer.cpp +++ b/src/file/newfileindexer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "newfileindexer.h" #include "basicindexingjob.h" diff --git a/src/file/newfileindexer.h b/src/file/newfileindexer.h index 04a5ea536..40976fdd2 100644 --- a/src/file/newfileindexer.h +++ b/src/file/newfileindexer.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_NEWFILEINDEXER_H #define BALOO_NEWFILEINDEXER_H diff --git a/src/file/pendingfile.cpp b/src/file/pendingfile.cpp index d891e0477..74ddea150 100644 --- a/src/file/pendingfile.cpp +++ b/src/file/pendingfile.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "pendingfile.h" #include "baloodebug.h" diff --git a/src/file/pendingfile.h b/src/file/pendingfile.h index cb82283da..23ecb2ffb 100644 --- a/src/file/pendingfile.h +++ b/src/file/pendingfile.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_PENDINGFILE_H #define BALOO_PENDINGFILE_H diff --git a/src/file/pendingfilequeue.cpp b/src/file/pendingfilequeue.cpp index c6dac87ff..4beeb15b8 100644 --- a/src/file/pendingfilequeue.cpp +++ b/src/file/pendingfilequeue.cpp @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2013-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "pendingfilequeue.h" diff --git a/src/file/pendingfilequeue.h b/src/file/pendingfilequeue.h index 792f1fdc0..d2c22b569 100644 --- a/src/file/pendingfilequeue.h +++ b/src/file/pendingfilequeue.h @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2013-2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2013-2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef PENDINGFILEQUEUE_H diff --git a/src/file/powerstatemonitor.cpp b/src/file/powerstatemonitor.cpp index 8842dd3d2..b9c09cfb6 100644 --- a/src/file/powerstatemonitor.cpp +++ b/src/file/powerstatemonitor.cpp @@ -1,20 +1,9 @@ -/* This file is part of the KDE Project - Copyright (c) 2008 Sebastian Trueg - Copyright (c) 2010-15 Vishesh Handa +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008 Sebastian Trueg + SPDX-FileCopyrightText: 2010-15 Vishesh Handa - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #include "powerstatemonitor.h" diff --git a/src/file/powerstatemonitor.h b/src/file/powerstatemonitor.h index 956de45e8..93b4e7ec0 100644 --- a/src/file/powerstatemonitor.h +++ b/src/file/powerstatemonitor.h @@ -1,20 +1,9 @@ -/* This file is part of the KDE Project - Copyright (c) 2008 Sebastian Trueg - Copyright (c) 2012-2015 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008 Sebastian Trueg + SPDX-FileCopyrightText: 2012-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef BALOO_FILEINDEXER_POWER_STATE_MONITOR_H_ diff --git a/src/file/priority.cpp b/src/file/priority.cpp index 0f78a8bbb..7d9fe51e0 100644 --- a/src/file/priority.cpp +++ b/src/file/priority.cpp @@ -1,22 +1,11 @@ -/* This file is part of the KDE Project - Copyright (c) 2008 Sebastian Trueg +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008 Sebastian Trueg - Parts of this file are based on code from Strigi - Copyright (C) 2006-2007 Jos van den Oever + Parts of this file are based on code from Strigi + SPDX-FileCopyrightText: 2006-2007 Jos van den Oever - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #include "priority.h" diff --git a/src/file/priority.h b/src/file/priority.h index 439af7ecf..b3101d94d 100644 --- a/src/file/priority.h +++ b/src/file/priority.h @@ -1,19 +1,8 @@ -/* This file is part of the KDE Project - Copyright (c) 2008 Sebastian Trueg +/* + This file is part of the KDE Project + SPDX-FileCopyrightText: 2008 Sebastian Trueg - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. + SPDX-License-Identifier: LGPL-2.0-only */ #ifndef BALOO_LINUX_PRIORITY_H_ diff --git a/src/file/propertydata.cpp b/src/file/propertydata.cpp index af512ada3..d661a4fc5 100644 --- a/src/file/propertydata.cpp +++ b/src/file/propertydata.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2019 Stefan Brüns - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2019 Stefan Brüns + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "propertydata.h" #include diff --git a/src/file/propertydata.h b/src/file/propertydata.h index 44fa764b7..98206f4d2 100644 --- a/src/file/propertydata.h +++ b/src/file/propertydata.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2019 Stefan Brüns - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2019 Stefan Brüns + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_PROPERTYDATA_H #define BALOO_PROPERTYDATA_H diff --git a/src/file/regexpcache.cpp b/src/file/regexpcache.cpp index f63e23631..b3ad4e421 100644 --- a/src/file/regexpcache.cpp +++ b/src/file/regexpcache.cpp @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2010 Sebastian Trueg - Copyright (C) 2014 Vishesh Handa + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2010 Sebastian Trueg + SPDX-FileCopyrightText: 2014 Vishesh Handa - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "regexpcache.h" diff --git a/src/file/regexpcache.h b/src/file/regexpcache.h index 2ea3bb954..e458c6700 100644 --- a/src/file/regexpcache.h +++ b/src/file/regexpcache.h @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2010 Sebastian Trueg - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2010 Sebastian Trueg + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef REGEXP_CACHE_H_ diff --git a/src/file/storagedevices.cpp b/src/file/storagedevices.cpp index 97edf9e55..5e96126ef 100644 --- a/src/file/storagedevices.cpp +++ b/src/file/storagedevices.cpp @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "storagedevices.h" diff --git a/src/file/storagedevices.h b/src/file/storagedevices.h index afc2f6cd2..75d841ca0 100644 --- a/src/file/storagedevices.h +++ b/src/file/storagedevices.h @@ -1,23 +1,9 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2011 Sebastian Trueg - Copyright (C) 2014 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2011 Sebastian Trueg + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef STORAGE_DEVICES_H diff --git a/src/file/timeestimator.cpp b/src/file/timeestimator.cpp index 1a67e03b7..8a40b647f 100644 --- a/src/file/timeestimator.cpp +++ b/src/file/timeestimator.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include diff --git a/src/file/timeestimator.h b/src/file/timeestimator.h index 4b01cc7e0..94c42e5d4 100644 --- a/src/file/timeestimator.h +++ b/src/file/timeestimator.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_TIMEESTIMATOR_H #define BALOO_TIMEESTIMATOR_H diff --git a/src/file/unindexedfileindexer.cpp b/src/file/unindexedfileindexer.cpp index 95bac9fb5..fe59ec7fc 100644 --- a/src/file/unindexedfileindexer.cpp +++ b/src/file/unindexedfileindexer.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "unindexedfileindexer.h" diff --git a/src/file/unindexedfileindexer.h b/src/file/unindexedfileindexer.h index 02213d37c..9310c50fe 100644 --- a/src/file/unindexedfileindexer.h +++ b/src/file/unindexedfileindexer.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_UNINDEXEDFILEINDEXER #define BALOO_UNINDEXEDFILEINDEXER diff --git a/src/file/unindexedfileiterator.cpp b/src/file/unindexedfileiterator.cpp index 9b2f43fa1..e4d34cfec 100644 --- a/src/file/unindexedfileiterator.cpp +++ b/src/file/unindexedfileiterator.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "unindexedfileiterator.h" #include "fileindexerconfig.h" diff --git a/src/file/unindexedfileiterator.h b/src/file/unindexedfileiterator.h index 60e9bb219..01fd96977 100644 --- a/src/file/unindexedfileiterator.h +++ b/src/file/unindexedfileiterator.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_UNINDEXEDFILEITERATOR_H #define BALOO_UNINDEXEDFILEITERATOR_H diff --git a/src/file/xattrindexer.cpp b/src/file/xattrindexer.cpp index a24d1296c..faa3d5df2 100644 --- a/src/file/xattrindexer.cpp +++ b/src/file/xattrindexer.cpp @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "xattrindexer.h" #include "basicindexingjob.h" diff --git a/src/file/xattrindexer.h b/src/file/xattrindexer.h index bb80a29c1..5c7e2e47e 100644 --- a/src/file/xattrindexer.h +++ b/src/file/xattrindexer.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_XATTRINDEXER_H #define BALOO_XATTRINDEXER_H diff --git a/src/kioslaves/kded/baloosearchmodule.cpp b/src/kioslaves/kded/baloosearchmodule.cpp index ca9581733..1d83b9f62 100644 --- a/src/kioslaves/kded/baloosearchmodule.cpp +++ b/src/kioslaves/kded/baloosearchmodule.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "baloosearchmodule.h" diff --git a/src/kioslaves/kded/baloosearchmodule.h b/src/kioslaves/kded/baloosearchmodule.h index 312b97240..e65b09ca4 100644 --- a/src/kioslaves/kded/baloosearchmodule.h +++ b/src/kioslaves/kded/baloosearchmodule.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef KDED_BALOO_SEARCH_MODULE_H_ #define KDED_BALOO_SEARCH_MODULE_H_ diff --git a/src/kioslaves/search/kio_search.cpp b/src/kioslaves/search/kio_search.cpp index 813ca466c..5c7b83f8e 100644 --- a/src/kioslaves/search/kio_search.cpp +++ b/src/kioslaves/search/kio_search.cpp @@ -1,21 +1,9 @@ /* - Copyright (C) 2008-2010 by Sebastian Trueg - Copyright (C) 2012-2014 by Vishesh Handa - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2008-2010 Sebastian Trueg + SPDX-FileCopyrightText: 2012-2014 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-or-later +*/ #include "kio_search.h" diff --git a/src/kioslaves/search/kio_search.h b/src/kioslaves/search/kio_search.h index 991191d73..1ffed1c3c 100644 --- a/src/kioslaves/search/kio_search.h +++ b/src/kioslaves/search/kio_search.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_KIO_SEARCH_H_ #define BALOO_KIO_SEARCH_H_ diff --git a/src/kioslaves/tags/kio_tags.cpp b/src/kioslaves/tags/kio_tags.cpp index 6f523830a..c1979ca96 100644 --- a/src/kioslaves/tags/kio_tags.cpp +++ b/src/kioslaves/tags/kio_tags.cpp @@ -1,25 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2012-2014 Vishesh Handa - * Copyright (C) 2017-2018 James D. Smith - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2012-2014 Vishesh Handa + SPDX-FileCopyrightText: 2017-2018 James D. Smith + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "kio_tags.h" #include "kio_tags_debug.h" diff --git a/src/kioslaves/tags/kio_tags.h b/src/kioslaves/tags/kio_tags.h index b2b9ac2c6..c8dffbd79 100644 --- a/src/kioslaves/tags/kio_tags.h +++ b/src/kioslaves/tags/kio_tags.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_KIO_TAGS_H_ #define BALOO_KIO_TAGS_H_ diff --git a/src/kioslaves/timeline/kio_timeline.cpp b/src/kioslaves/timeline/kio_timeline.cpp index 77b9f3f2a..f2769c82f 100644 --- a/src/kioslaves/timeline/kio_timeline.cpp +++ b/src/kioslaves/timeline/kio_timeline.cpp @@ -1,22 +1,8 @@ /* - Copyright 2009-2010 Sebastian Trueg - Copyright 2013 Vishesh Handa - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor approved - by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . + SPDX-FileCopyrightText: 2009-2010 Sebastian Trueg + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #include "kio_timeline.h" diff --git a/src/kioslaves/timeline/kio_timeline.h b/src/kioslaves/timeline/kio_timeline.h index 9da49468e..85740db63 100644 --- a/src/kioslaves/timeline/kio_timeline.h +++ b/src/kioslaves/timeline/kio_timeline.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef KIO_TIMELINE_H_ #define KIO_TIMELINE_H_ diff --git a/src/kioslaves/timeline/timelinetools.cpp b/src/kioslaves/timeline/timelinetools.cpp index bb613a576..31ebc49a3 100644 --- a/src/kioslaves/timeline/timelinetools.cpp +++ b/src/kioslaves/timeline/timelinetools.cpp @@ -1,23 +1,9 @@ /* - This file is part of the Nepomuk KDE project. - Copyright (C) 2010 Sebastian Trueg + This file is part of the Nepomuk KDE project. + SPDX-FileCopyrightText: 2010 Sebastian Trueg - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . - */ + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "timelinetools.h" #include "kio_timeline_debug.h" diff --git a/src/kioslaves/timeline/timelinetools.h b/src/kioslaves/timeline/timelinetools.h index 26db82914..d957a024f 100644 --- a/src/kioslaves/timeline/timelinetools.h +++ b/src/kioslaves/timeline/timelinetools.h @@ -1,21 +1,9 @@ /* - This file is part of the Nepomuk KDE project. - Copyright (C) 2010 Sebastian Trueg + This file is part of the Nepomuk KDE project. + SPDX-FileCopyrightText: 2010 Sebastian Trueg - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. - */ + SPDX-License-Identifier: LGPL-2.0-only +*/ #ifndef BALOO_TIMELINE_TOOLS_H_ #define BALOO_TIMELINE_TOOLS_H_ diff --git a/src/lib/advancedqueryparser.cpp b/src/lib/advancedqueryparser.cpp index 6572845a8..408816fd5 100644 --- a/src/lib/advancedqueryparser.cpp +++ b/src/lib/advancedqueryparser.cpp @@ -1,22 +1,9 @@ /* - * Copyright (C) 2014-2015 Vishesh Handa - * Copyright (C) 2014 Denis Steckelmacher - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + SPDX-FileCopyrightText: 2014 Denis Steckelmacher + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "advancedqueryparser.h" diff --git a/src/lib/advancedqueryparser.h b/src/lib/advancedqueryparser.h index 908353fc1..a0615491d 100644 --- a/src/lib/advancedqueryparser.h +++ b/src/lib/advancedqueryparser.h @@ -1,21 +1,8 @@ /* - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_ADVANCEDQUERYPARSER_H #define BALOO_ADVANCEDQUERYPARSER_H diff --git a/src/lib/file.cpp b/src/lib/file.cpp index b6bba47a3..502ba4088 100644 --- a/src/lib/file.cpp +++ b/src/lib/file.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "file.h" #include "global.h" diff --git a/src/lib/file.h b/src/lib/file.h index 2aeb30a39..0643f5b54 100644 --- a/src/lib/file.h +++ b/src/lib/file.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_FILE_H #define BALOO_FILE_H diff --git a/src/lib/filemonitor.cpp b/src/lib/filemonitor.cpp index 80f463c5e..974a63f67 100644 --- a/src/lib/filemonitor.cpp +++ b/src/lib/filemonitor.cpp @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "filemonitor.h" diff --git a/src/lib/filemonitor.h b/src/lib/filemonitor.h index 060d3b11e..b97cc70cf 100644 --- a/src/lib/filemonitor.h +++ b/src/lib/filemonitor.h @@ -1,22 +1,8 @@ /* - * - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_FILEMONITOR_H #define BALOO_FILEMONITOR_H diff --git a/src/lib/indexerconfig.cpp b/src/lib/indexerconfig.cpp index 8527b293b..ef9ad2394 100644 --- a/src/lib/indexerconfig.cpp +++ b/src/lib/indexerconfig.cpp @@ -1,23 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * Copyright (C) 2020 Benjamin Port - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + SPDX-FileCopyrightText: 2020 Benjamin Port + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "indexerconfig.h" #include "../file/fileindexerconfig.h" diff --git a/src/lib/indexerconfig.h b/src/lib/indexerconfig.h index db98fa083..0af680d5f 100644 --- a/src/lib/indexerconfig.h +++ b/src/lib/indexerconfig.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_INDEXERCONFIG_H #define BALOO_INDEXERCONFIG_H diff --git a/src/lib/query.cpp b/src/lib/query.cpp index 0139a03a5..9b1ca0244 100644 --- a/src/lib/query.cpp +++ b/src/lib/query.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "query.h" #include "term.h" diff --git a/src/lib/query.h b/src/lib/query.h index af8bf2721..b92f0322b 100644 --- a/src/lib/query.h +++ b/src/lib/query.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_QUERY_H #define BALOO_QUERY_H diff --git a/src/lib/queryrunnable.cpp b/src/lib/queryrunnable.cpp index e8fa49457..64db4198b 100644 --- a/src/lib/queryrunnable.cpp +++ b/src/lib/queryrunnable.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "queryrunnable.h" #include diff --git a/src/lib/queryrunnable.h b/src/lib/queryrunnable.h index f65b08bbe..6702b1ae4 100644 --- a/src/lib/queryrunnable.h +++ b/src/lib/queryrunnable.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef QUERYRUNNABLE_H #define QUERYRUNNABLE_H diff --git a/src/lib/resultiterator.cpp b/src/lib/resultiterator.cpp index 8a1f86f6f..8146a223d 100644 --- a/src/lib/resultiterator.cpp +++ b/src/lib/resultiterator.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "resultiterator.h" #include "searchstore.h" diff --git a/src/lib/resultiterator.h b/src/lib/resultiterator.h index 7b7ed1fe0..840f5ea3f 100644 --- a/src/lib/resultiterator.h +++ b/src/lib/resultiterator.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_CORE_RESULT_ITERATOR_H #define BALOO_CORE_RESULT_ITERATOR_H diff --git a/src/lib/searchstore.cpp b/src/lib/searchstore.cpp index f231974e0..147072800 100644 --- a/src/lib/searchstore.cpp +++ b/src/lib/searchstore.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "baloodebug.h" #include "searchstore.h" diff --git a/src/lib/searchstore.h b/src/lib/searchstore.h index d3f0e4131..6de4fe752 100644 --- a/src/lib/searchstore.h +++ b/src/lib/searchstore.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_SEARCHSTORE_H #define BALOO_SEARCHSTORE_H diff --git a/src/lib/taglistjob.cpp b/src/lib/taglistjob.cpp index 74938191c..cea578895 100644 --- a/src/lib/taglistjob.cpp +++ b/src/lib/taglistjob.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "taglistjob.h" #include "global.h" diff --git a/src/lib/taglistjob.h b/src/lib/taglistjob.h index 018807ba8..a761b6fab 100644 --- a/src/lib/taglistjob.h +++ b/src/lib/taglistjob.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_TAGLISTJOB_H #define BALOO_TAGLISTJOB_H diff --git a/src/lib/term.cpp b/src/lib/term.cpp index e588eb17b..65150cf92 100644 --- a/src/lib/term.cpp +++ b/src/lib/term.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "term.h" diff --git a/src/lib/term.h b/src/lib/term.h index 2e6550f8a..0a7ee9863 100644 --- a/src/lib/term.h +++ b/src/lib/term.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_TERM_H #define BALOO_TERM_H diff --git a/src/qml/balooplugin.cpp b/src/qml/balooplugin.cpp index 534bffdd0..449bcbdca 100644 --- a/src/qml/balooplugin.cpp +++ b/src/qml/balooplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2014 Antonis Tsiapaliokas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "balooplugin.h" diff --git a/src/qml/balooplugin.h b/src/qml/balooplugin.h index a5c99c657..4c73035ed 100644 --- a/src/qml/balooplugin.h +++ b/src/qml/balooplugin.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 Antonis Tsiapaliokas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef BALOOPLUGIN_H #define BALOOPLUGIN_H diff --git a/src/qml/experimental/baloomonitorplugin.cpp b/src/qml/experimental/baloomonitorplugin.cpp index dafb447c2..72a1474ab 100644 --- a/src/qml/experimental/baloomonitorplugin.cpp +++ b/src/qml/experimental/baloomonitorplugin.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2015 Pinak Ahuja - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "baloomonitorplugin.h" #include "monitor.h" diff --git a/src/qml/experimental/baloomonitorplugin.h b/src/qml/experimental/baloomonitorplugin.h index 4d55a3cbd..dc5a226fb 100644 --- a/src/qml/experimental/baloomonitorplugin.h +++ b/src/qml/experimental/baloomonitorplugin.h @@ -1,21 +1,8 @@ /* - * Copyright 2015 Pinak Ahuja - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef BALOOMONITORPLUGIN_H #define BALOOMONITORPLUGIN_H diff --git a/src/qml/experimental/monitor.cpp b/src/qml/experimental/monitor.cpp index 8a438cbf3..6c94cacbb 100644 --- a/src/qml/experimental/monitor.cpp +++ b/src/qml/experimental/monitor.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "monitor.h" diff --git a/src/qml/experimental/monitor.h b/src/qml/experimental/monitor.h index f19f49312..678806d09 100644 --- a/src/qml/experimental/monitor.h +++ b/src/qml/experimental/monitor.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOOMONITOR_MONITOR_H #define BALOOMONITOR_MONITOR_H diff --git a/src/qml/queryresultsmodel.cpp b/src/qml/queryresultsmodel.cpp index dc99acbab..42bf75faf 100644 --- a/src/qml/queryresultsmodel.cpp +++ b/src/qml/queryresultsmodel.cpp @@ -1,21 +1,8 @@ /* - * Copyright 2014 Antonis Tsiapaliokas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #include "queryresultsmodel.h" #include "query.h" diff --git a/src/qml/queryresultsmodel.h b/src/qml/queryresultsmodel.h index ff2822347..6e0338d91 100644 --- a/src/qml/queryresultsmodel.h +++ b/src/qml/queryresultsmodel.h @@ -1,21 +1,8 @@ /* - * Copyright 2014 Antonis Tsiapaliokas - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2, or - * (at your option) any later version. - * - * This program 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 Library General Public License for more details - * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + SPDX-FileCopyrightText: 2014 Antonis Tsiapaliokas + + SPDX-License-Identifier: LGPL-2.0-or-later +*/ #ifndef BALOO_QUERYRESULTSMODEL_H #define BALOO_QUERYRESULTSMODEL_H diff --git a/src/tools/balooctl/command.cpp b/src/tools/balooctl/command.cpp index 5b822926a..30ae38232 100644 --- a/src/tools/balooctl/command.cpp +++ b/src/tools/balooctl/command.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "command.h" diff --git a/src/tools/balooctl/command.h b/src/tools/balooctl/command.h index 2b44d5ec3..c84fc84ca 100644 --- a/src/tools/balooctl/command.h +++ b/src/tools/balooctl/command.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_COMMAND_H #define BALOO_COMMAND_H diff --git a/src/tools/balooctl/configcommand.cpp b/src/tools/balooctl/configcommand.cpp index 43f4871e5..360264dc8 100644 --- a/src/tools/balooctl/configcommand.cpp +++ b/src/tools/balooctl/configcommand.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "configcommand.h" #include "indexerconfig.h" diff --git a/src/tools/balooctl/configcommand.h b/src/tools/balooctl/configcommand.h index 96798ad07..42da018ad 100644 --- a/src/tools/balooctl/configcommand.h +++ b/src/tools/balooctl/configcommand.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_CONFIGCOMMAND_H #define BALOO_CONFIGCOMMAND_H diff --git a/src/tools/balooctl/indexer.cpp b/src/tools/balooctl/indexer.cpp index 6596cda4f..90e83a1f0 100644 --- a/src/tools/balooctl/indexer.cpp +++ b/src/tools/balooctl/indexer.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "indexer.h" #include "basicindexingjob.h" diff --git a/src/tools/balooctl/indexer.h b/src/tools/balooctl/indexer.h index 59b07d0c4..e6f814b93 100644 --- a/src/tools/balooctl/indexer.h +++ b/src/tools/balooctl/indexer.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_INDEXER_H #define BALOO_INDEXER_H diff --git a/src/tools/balooctl/main.cpp b/src/tools/balooctl/main.cpp index 787637844..bb25c5441 100644 --- a/src/tools/balooctl/main.cpp +++ b/src/tools/balooctl/main.cpp @@ -1,21 +1,7 @@ /* - Copyright (c) 2012-2015 Vishesh Handa - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor approved - by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . + SPDX-FileCopyrightText: 2012-2015 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #include diff --git a/src/tools/balooctl/monitorcommand.cpp b/src/tools/balooctl/monitorcommand.cpp index 9e9d12ec8..6d5024b7e 100644 --- a/src/tools/balooctl/monitorcommand.cpp +++ b/src/tools/balooctl/monitorcommand.cpp @@ -1,25 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "monitorcommand.h" #include "indexerstate.h" diff --git a/src/tools/balooctl/monitorcommand.h b/src/tools/balooctl/monitorcommand.h index ddc0d97f3..4f5bd468c 100644 --- a/src/tools/balooctl/monitorcommand.h +++ b/src/tools/balooctl/monitorcommand.h @@ -1,25 +1,10 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef MONITOR_H #define MONITOR_H diff --git a/src/tools/balooctl/statuscommand.cpp b/src/tools/balooctl/statuscommand.cpp index 1444b535b..f59bc66c3 100644 --- a/src/tools/balooctl/statuscommand.cpp +++ b/src/tools/balooctl/statuscommand.cpp @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #include "statuscommand.h" #include "indexerconfig.h" diff --git a/src/tools/balooctl/statuscommand.h b/src/tools/balooctl/statuscommand.h index 68c6adb42..466d668aa 100644 --- a/src/tools/balooctl/statuscommand.h +++ b/src/tools/balooctl/statuscommand.h @@ -1,22 +1,9 @@ /* - * This file is part of the KDE Baloo project. - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * - */ + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-or-later +*/ #ifndef BALOO_STATUSCOMMAND_H #define BALOO_STATUSCOMMAND_H diff --git a/src/tools/baloosearch/main.cpp b/src/tools/baloosearch/main.cpp index 70fba6121..861e0caf7 100644 --- a/src/tools/baloosearch/main.cpp +++ b/src/tools/baloosearch/main.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2013-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2013-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/src/tools/balooshow/main.cpp b/src/tools/balooshow/main.cpp index 22c024a5e..0f32ffaf6 100644 --- a/src/tools/balooshow/main.cpp +++ b/src/tools/balooshow/main.cpp @@ -1,21 +1,7 @@ /* - Copyright (c) 2012-2013 Vishesh Handa - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License or (at your option) version 3 or any later version - accepted by the membership of KDE e.V. (or its successor approved - by the membership of KDE e.V.), which shall act as a proxy - defined in Section 14 of version 3 of the license. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . + SPDX-FileCopyrightText: 2012-2013 Vishesh Handa + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL */ #include diff --git a/src/tools/experimental/baloodb/main.cpp b/src/tools/experimental/baloodb/main.cpp index 74f9645d4..f39878dac 100644 --- a/src/tools/experimental/baloodb/main.cpp +++ b/src/tools/experimental/baloodb/main.cpp @@ -1,23 +1,8 @@ /* - * - * Copyright 2018 Michael Heidelbach - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License or (at your option) version 3 or any later version - * accepted by the membership of KDE e.V. (or its successor approved - * by the membership of KDE e.V.), which shall act as a proxy - * defined in Section 14 of version 3 of the license. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ + SPDX-FileCopyrightText: 2018 Michael Heidelbach + + SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +*/ #include "global.h" #include "experimental/databasesanitizer.h" diff --git a/tests/benchmarks/unindexedfileiteratortest.cpp b/tests/benchmarks/unindexedfileiteratortest.cpp index 4d030f05a..8e6f0531e 100644 --- a/tests/benchmarks/unindexedfileiteratortest.cpp +++ b/tests/benchmarks/unindexedfileiteratortest.cpp @@ -1,22 +1,8 @@ /* - This file is part of the KDE Baloo project. - Copyright (C) 2015 Vishesh Handa - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) version 3, or any - later version accepted by the membership of KDE e.V. (or its - successor approved by the membership of KDE e.V.), which shall - act as a proxy defined in Section 6 of version 3 of the license. - - 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. - - You should have received a copy of the GNU Lesser General Public - License along with this library. If not, see . + This file is part of the KDE Baloo project. + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "unindexedfileiterator.h" diff --git a/tests/engine/basicindexingtest.cpp b/tests/engine/basicindexingtest.cpp index 696ed3f77..1ebe35de9 100644 --- a/tests/engine/basicindexingtest.cpp +++ b/tests/engine/basicindexingtest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/engine/documenturldbtest.cpp b/tests/engine/documenturldbtest.cpp index 8307bae61..e25d92ae5 100644 --- a/tests/engine/documenturldbtest.cpp +++ b/tests/engine/documenturldbtest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/engine/memorytest.cpp b/tests/engine/memorytest.cpp index 915dee09f..0eca727bc 100644 --- a/tests/engine/memorytest.cpp +++ b/tests/engine/memorytest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/engine/writeiotest.cpp b/tests/engine/writeiotest.cpp index 402cb4082..645477ab8 100644 --- a/tests/engine/writeiotest.cpp +++ b/tests/engine/writeiotest.cpp @@ -1,25 +1,9 @@ - /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014-2015 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014-2015 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/file/filtereddiriteratorbenchmark.cpp b/tests/file/filtereddiriteratorbenchmark.cpp index 500ac80e8..b138e1ae1 100644 --- a/tests/file/filtereddiriteratorbenchmark.cpp +++ b/tests/file/filtereddiriteratorbenchmark.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/file/indexerconfigtest.cpp b/tests/file/indexerconfigtest.cpp index c2856df17..0da4ff9d1 100644 --- a/tests/file/indexerconfigtest.cpp +++ b/tests/file/indexerconfigtest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include "fileindexerconfig.h" diff --git a/tests/file/inotify.cpp b/tests/file/inotify.cpp index 51b5ebdec..5502731fc 100644 --- a/tests/file/inotify.cpp +++ b/tests/file/inotify.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/file/remainingtimetest.cpp b/tests/file/remainingtimetest.cpp index 5c2520360..ab2ce1f9c 100644 --- a/tests/file/remainingtimetest.cpp +++ b/tests/file/remainingtimetest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2015 Pinak Ahuja - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2015 Pinak Ahuja + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ /** * WARNING: make sure baloo_file is not running before running this test diff --git a/tests/file/storagedevicestest.cpp b/tests/file/storagedevicestest.cpp index d8b624115..12afb4c14 100644 --- a/tests/file/storagedevicestest.cpp +++ b/tests/file/storagedevicestest.cpp @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #include #include diff --git a/tests/file/util.h b/tests/file/util.h index 198b42d57..c7991acdd 100644 --- a/tests/file/util.h +++ b/tests/file/util.h @@ -1,24 +1,9 @@ /* - * This file is part of the KDE Baloo Project - * Copyright (C) 2014 Vishesh Handa - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) version 3, or any - * later version accepted by the membership of KDE e.V. (or its - * successor approved by the membership of KDE e.V.), which shall - * act as a proxy defined in Section 6 of version 3 of the license. - * - * 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. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see . - * - */ + This file is part of the KDE Baloo Project + SPDX-FileCopyrightText: 2014 Vishesh Handa + + SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL +*/ #ifndef BALOO_FILE_TEST_UTIL_H #define BALOO_FILE_TEST_UTIL_H