detailledstyle.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef DETAILLEDSTYLE_H
00018 #define DETAILLEDSTYLE_H
00019
00020 #include <kabc/addressee.h>
00021
00022 #include "printstyle.h"
00023 #include "kabentrypainter.h"
00024
00025 class AppearancePage;
00026
00027 namespace KABPrinting {
00028
00029 class DetailledPrintStyle : public PrintStyle
00030 {
00031 Q_OBJECT
00032 public:
00033 DetailledPrintStyle(PrintingWizard* parent, const char* name=0);
00034 ~DetailledPrintStyle();
00035 void print(QStringList contacts, PrintProgress*);
00036 protected:
00037 bool printEntries(const QStringList& contacts,
00038 KPrinter *printer,
00039 QPainter *painter,
00040 const QRect& window);
00041 bool printEntry(const KABC::Addressee& contact,
00042 const QRect& window,
00043 QPainter *painter,
00044 int top, bool fake, QRect *brect);
00045 private:
00046 AppearancePage *mPageAppearance;
00047 KABEntryPainter *mEPntr;
00048 PrintProgress *mPrintProgress;
00049 };
00050
00051 class DetailledPrintStyleFactory : public PrintStyleFactory
00052 {
00053 public:
00054 DetailledPrintStyleFactory(PrintingWizard* parent_,
00055 const char* name_=0);
00056 PrintStyle *create();
00057 QString description();
00058 };
00059
00060 }
00061
00062 #endif
This file is part of the documentation for kdelibs Version 3.1.4.