File indexing completed on 2024-04-28 04:21:25

0001 /* SPDX-FileCopyrightText: 2003-2018 Jesper K. Pedersen <blackie@kde.org>
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #include "AbstractDisplay.h"
0007 
0008 #include <DB/ImageInfo.h>
0009 #include <kpabase/SettingsData.h>
0010 
0011 Viewer::AbstractDisplay::AbstractDisplay(QWidget *parent)
0012     : QWidget(parent)
0013     , m_info(nullptr)
0014 {
0015 }
0016 
0017 bool Viewer::AbstractDisplay::setImage(DB::ImageInfoPtr info, bool forward)
0018 {
0019     m_info = info;
0020     return setImageImpl(info, forward);
0021 }
0022 
0023 #include "moc_AbstractDisplay.cpp"
0024 // vi:expandtab:tabstop=4 shiftwidth=4: