File indexing completed on 2024-12-29 04:47:03
0001 /* 0002 This file is part of KAddressBook. 0003 SPDX-FileCopyrightText: 1996-2002 Mirko Boehm <mirko@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0 0006 */ 0007 0008 #pragma once 0009 0010 #include "printing/printstyle.h" 0011 0012 #include <KContacts/Addressee> 0013 0014 namespace KABPrinting 0015 { 0016 class AppearancePage; 0017 0018 class DetailledPrintStyle : public PrintStyle 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 explicit DetailledPrintStyle(PrintingWizard *parent); 0024 ~DetailledPrintStyle() override; 0025 0026 void print(const KContacts::Addressee::List &contacts, PrintProgress *) override; 0027 0028 private: 0029 AppearancePage *mPageAppearance = nullptr; 0030 }; 0031 0032 class DetailledPrintStyleFactory : public PrintStyleFactory 0033 { 0034 public: 0035 explicit DetailledPrintStyleFactory(PrintingWizard *parent); 0036 0037 PrintStyle *create() const override; 0038 QString description() const override; 0039 }; 0040 }