• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kaddressbook

  • sources
  • kde-4.12
  • kdepim
  • kaddressbook
  • printing
  • ringbinder
ringbinderstyle.h
Go to the documentation of this file.
1 /*
2  This file is part of KAddressBook.
3 
4  Copyright (c) 2002 Jost Schenck <jost@schenck.de>
5  2009 Tobias Koenig <tokoe@kde.org>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License along
18  with this program; if not, write to the Free Software Foundation, Inc.,
19  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 
26 #ifndef RINGBINDERSTYLE_H
27 #define RINGBINDERSTYLE_H
28 
29 #include "printstyle.h"
30 
31 namespace KABPrinting {
32 
33 class RingBinderStyleAppearanceForm;
34 
35 class RingBinderPrintStyle : public PrintStyle
36 {
37  public:
38  explicit RingBinderPrintStyle( PrintingWizard *parent );
39  ~RingBinderPrintStyle();
40 
41  void print( const KABC::Addressee::List &contacts, PrintProgress * );
42 
43  private:
44  RingBinderStyleAppearanceForm *mPageAppearance;
45 };
46 
47 class RingBinderPrintStyleFactory : public PrintStyleFactory
48 {
49  public:
50  explicit RingBinderPrintStyleFactory( PrintingWizard *parent );
51 
52  PrintStyle *create() const;
53  QString description() const;
54 };
55 
56 }
57 
58 #endif
59 // vim:tw=78 cin et sw=2 comments=sr\:/*,mb\:\ ,ex\:*/,\://
KABPrinting::RingBinderPrintStyle::print
void print(const KABC::Addressee::List &contacts, PrintProgress *)
This method must be reimplemented to actually print something.
Definition: ringbinderstyle.cpp:165
KABPrinting::PrintingWizard
The PrintingWizard combines pages common for all print styles and those provided by the respective st...
Definition: printingwizard.h:55
KABPrinting::RingBinderPrintStyle
Definition: ringbinderstyle.h:35
KABPrinting::RingBinderPrintStyleFactory
Definition: ringbinderstyle.h:47
KABPrinting::RingBinderPrintStyle::RingBinderPrintStyle
RingBinderPrintStyle(PrintingWizard *parent)
Definition: ringbinderstyle.cpp:142
KABPrinting::PrintStyle
The abstract interface to the PrintingWizards style objects.
Definition: printstyle.h:67
printstyle.h
KABPrinting::RingBinderPrintStyleFactory::description
QString description() const
Overload this method to provide a one-liner description for your print style.
Definition: ringbinderstyle.cpp:233
KABPrinting::RingBinderPrintStyle::~RingBinderPrintStyle
~RingBinderPrintStyle()
Definition: ringbinderstyle.cpp:161
KABPrinting::RingBinderPrintStyleFactory::RingBinderPrintStyleFactory
RingBinderPrintStyleFactory(PrintingWizard *parent)
Definition: ringbinderstyle.cpp:223
KABPrinting::PrintProgress
This defines a simple widget to display print progress information.
Definition: printprogress.h:41
KABPrinting::PrintStyleFactory
The factories are used to have all object of the respective print style created in one place...
Definition: printstyle.h:171
KABPrinting::RingBinderPrintStyleFactory::create
PrintStyle * create() const
Definition: ringbinderstyle.cpp:228
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal