File indexing completed on 2024-12-22 04:55:33
0001 /* 0002 This file is part of KAddressBook. 0003 0004 SPDX-FileCopyrightText: 2002 Jost Schenck <jost@schenck.de> 0005 SPDX-FileCopyrightText: 2009 Tobias Koenig <tokoe@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0 0008 */ 0009 0010 #pragma once 0011 0012 #include "printstyle.h" 0013 0014 namespace KABPrinting 0015 { 0016 class RingBinderStyleAppearanceForm; 0017 0018 class RingBinderPrintStyle : public PrintStyle 0019 { 0020 public: 0021 explicit RingBinderPrintStyle(PrintingWizard *parent); 0022 ~RingBinderPrintStyle() override; 0023 0024 void print(const KContacts::Addressee::List &contacts, PrintProgress *) override; 0025 0026 private: 0027 RingBinderStyleAppearanceForm *mPageAppearance = nullptr; 0028 }; 0029 0030 class RingBinderPrintStyleFactory : public PrintStyleFactory 0031 { 0032 public: 0033 explicit RingBinderPrintStyleFactory(PrintingWizard *parent); 0034 0035 PrintStyle *create() const override; 0036 QString description() const override; 0037 }; 0038 }