1 /* ============================================================ 2 * 3 * This file is a part of digiKam project 4 * https://www.digikam.org 5 * 6 * Date : 2014-09-18 7 * Description : slideshow error view 8 * 9 * Copyright (C) 2014-2021 by Gilles Caulier <caulier dot gilles at gmail dot com> 10 * Copyright (C) 2019-2020 by Minh Nghia Duong <minhnghiaduong997 at gmail dot com> 11 * 12 * This program is free software; you can redistribute it 13 * and/or modify it under the terms of the GNU General 14 * Public License as published by the Free Software Foundation; 15 * either version 2, or (at your option) 16 * any later version. 17 * 18 * This program is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU General Public License for more details. 22 * 23 * ============================================================ */ 24 25 #ifndef DIGIKAM_SLIDE_ERROR_PLUGIN_H 26 #define DIGIKAM_SLIDE_ERROR_PLUGIN_H 27 28 // Qt includes 29 30 #include <QWidget> 31 #include <QUrl> 32 33 // Local includes 34 35 #include "digikam_export.h" 36 37 namespace DigikamGenericSlideShowPlugin 38 { 39 40 class SlideError : public QWidget 41 { 42 Q_OBJECT 43 44 public: 45 46 explicit SlideError(QWidget* const parent = nullptr); 47 ~SlideError() override; 48 49 void setCurrentUrl(const QUrl& url); 50 51 private: 52 53 class Private; 54 Private* const d; 55 }; 56 57 } // namespace DigikamGenericSlideShowPlugin 58 59 #endif // DIGIKAM_SLIDE_ERROR_PLUGIN_H 60