|
|
@ -1,25 +1,29 @@ |
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) |
|
|
|
* Copyright (C) 2015-2016 Département de l'Instruction Publique (DIP-SEM) |
|
|
|
* |
|
|
|
* |
|
|
|
* This file is part of Open-Sankoré. |
|
|
|
* Copyright (C) 2013 Open Education Foundation |
|
|
|
* |
|
|
|
* |
|
|
|
* Open-Sankoré is free software: you can redistribute it and/or modify |
|
|
|
* Copyright (C) 2010-2013 Groupement d'Intérêt Public pour |
|
|
|
|
|
|
|
* l'Education Numérique en Afrique (GIP ENA) |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* This file is part of OpenBoard. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* OpenBoard is free software: you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|
* the Free Software Foundation, version 3 of the License, |
|
|
|
* the Free Software Foundation, version 3 of the License, |
|
|
|
* with a specific linking exception for the OpenSSL project's |
|
|
|
* with a specific linking exception for the OpenSSL project's |
|
|
|
* "OpenSSL" library (or with modified versions of it that use the |
|
|
|
* "OpenSSL" library (or with modified versions of it that use the |
|
|
|
* same license as the "OpenSSL" library). |
|
|
|
* same license as the "OpenSSL" library). |
|
|
|
* |
|
|
|
* |
|
|
|
* Open-Sankoré is distributed in the hope that it will be useful, |
|
|
|
* OpenBoard is distributed in the hope that it will be useful, |
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
* GNU General Public License for more details. |
|
|
|
* GNU General Public License for more details. |
|
|
|
* |
|
|
|
* |
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
* along with Open-Sankoré. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
* along with OpenBoard. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "UBImportDocumentSetAdaptor.h" |
|
|
|
#include "UBImportDocumentSetAdaptor.h" |
|
|
|
|
|
|
|
|
|
|
|
#include "document/UBDocumentProxy.h" |
|
|
|
#include "document/UBDocumentProxy.h" |
|
|
@ -60,7 +64,7 @@ QStringList UBImportDocumentSetAdaptor::supportedExtentions() |
|
|
|
|
|
|
|
|
|
|
|
QString UBImportDocumentSetAdaptor::importFileFilter() |
|
|
|
QString UBImportDocumentSetAdaptor::importFileFilter() |
|
|
|
{ |
|
|
|
{ |
|
|
|
return tr("Open-Sankore (set of documents) (*.ubx)"); |
|
|
|
return tr("Openboard (set of documents) (*.ubx)"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
QFileInfoList UBImportDocumentSetAdaptor::importData(const QString &zipFile, const QString &destination) |
|
|
|
QFileInfoList UBImportDocumentSetAdaptor::importData(const QString &zipFile, const QString &destination) |
|
|
|