File indexing completed on 2024-12-22 04:55:33

0001 /*
0002   This file is part of KAddressBook.
0003   SPDX-FileCopyrightText: 1996-2002 Mirko Boehm <mirko@kde.org>
0004   SPDX-FileCopyrightText: 2002 Mike Pilone <mpilone@slac.com>
0005 
0006   SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0
0007 */
0008 
0009 #pragma once
0010 
0011 #include "printstyle.h"
0012 
0013 namespace KABPrinting
0014 {
0015 class PrintProgress;
0016 
0017 class MikesStyle : public PrintStyle
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     explicit MikesStyle(PrintingWizard *parent);
0023     ~MikesStyle() override;
0024 
0025     void print(const KContacts::Addressee::List &, PrintProgress *) override;
0026 };
0027 
0028 class MikesStyleFactory : public PrintStyleFactory
0029 {
0030 public:
0031     explicit MikesStyleFactory(PrintingWizard *parent);
0032 
0033     PrintStyle *create() const override;
0034     QString description() const override;
0035 };
0036 }