File indexing completed on 2025-01-19 03:51:10
0001 /* ============================================================ 0002 * 0003 * This file is a part of digiKam project 0004 * https://www.digikam.org 0005 * 0006 * Date : 2009-02-06 0007 * Description : image editor printing interface. 0008 * 0009 * SPDX-FileCopyrightText: 2009 by Angelo Naselli <anaselli at linux dot it> 0010 * SPDX-FileCopyrightText: 2009-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0011 * 0012 * SPDX-License-Identifier: GPL-2.0-or-later 0013 * 0014 * ============================================================ */ 0015 0016 #ifndef DIGIKAM_PRINT_HELPER_H 0017 #define DIGIKAM_PRINT_HELPER_H 0018 0019 // Local includes 0020 0021 #include "dimg.h" 0022 0023 class QWidget; 0024 0025 using namespace Digikam; 0026 0027 namespace DigikamEditorPrintToolPlugin 0028 { 0029 0030 class PrintHelper 0031 { 0032 0033 public: 0034 0035 explicit PrintHelper(QWidget* const parent); 0036 ~PrintHelper(); 0037 0038 void print(DImg&); 0039 0040 private: 0041 0042 // Disable 0043 PrintHelper(const PrintHelper&) = delete; 0044 PrintHelper& operator=(const PrintHelper&) = delete; 0045 0046 private: 0047 0048 class Private; 0049 Private* const d; 0050 }; 0051 0052 } // namespace DigikamEditorPrintToolPlugin 0053 0054 #endif // DIGIKAM_PRINT_HELPER_H