28 #ifndef KORG_NOPRINTER
30 #include <tqptrlist.h>
31 #include <kdialogbase.h>
32 #include <korganizer/baseview.h>
33 #include <korganizer/printplugin.h>
34 #include <tdemacros.h>
59 enum ePrintOrientation {
82 void setDateRange( const TQDate &start, const TQDate &end );
88 void doPrint( KOrg::PrintPlugin *selectedStyle, CalPrinter::ePrintOrientation dlgorientation, bool preview = false );
91 void print( int type, const TQDate &fd, const TQDate &td,
92 Incidence::List selectedIncidences = Incidence::List(), bool preview = false );
95 TDEConfig *config() const;
98 KOrg::PrintPlugin::List mPrintPlugins;
104 KOrg::CoreHelper *mCoreHelper;
107 class CalPrintDialog : public KDialogBase
112 CalPrintDialog( KOrg::PrintPlugin::List plugins,
113 TQWidget *parent = 0, const char *name = 0 );
114 virtual ~CalPrintDialog();
116 void setOrientation( CalPrinter::ePrintOrientation orientation );
117 CalPrinter::ePrintOrientation orientation() { return mOrientation; }
120 void setPrintType( int );
121 void setPreview( bool );
127 TQVButtonGroup *mTypeGroup;
128 TQWidgetStack *mConfigArea;
129 TQMap<int, KOrg::PrintPlugin*> mPluginIDs;
130 TQString mPreviewText;
131 TQComboBox *mOrientationSelection;
133 CalPrinter::ePrintOrientation mOrientation;
CalPrinter is a class for printing Calendars.
Base class of KOrganizer printer class.
Base class for KOrganizer printing classes.
|