calendarsupport
calprinter.cpp
Go to the documentation of this file.
108 printDialog->setOrientation( CalPrinter::ePrintOrientation( grp.readEntry( "Orientation", 1 ) ) );
197 QLabel *orientationLabel = new QLabel( i18nc( "@label", "Page &orientation:" ), splitterRight );
void setDateRange(const QDate &start, const QDate &end)
Set date range to be printed.
Definition: calprinter.cpp:89
PrintPlugin::List mPrintPlugins
Definition: calprinter.h:91
void clear()
virtual bool enabled()
Returns true if the plugin should be enabled; false otherwise.
Definition: printplugin.h:102
Akonadi::ETMCalendar::Ptr calendar() const
void insertStretch(int index, int stretch)
CalPrintDialog(int initialPrintType, PrintPlugin::List plugins, QWidget *parent=0, bool mUniqItem=false)
Definition: calprinter.cpp:173
QWidget * currentWidget() const
virtual void doPrint(QPrinter *printer)=0
Actually do the printing.
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void addButton(QAbstractButton *button)
CalPrinter::ePrintOrientation orientation()
Definition: calprinter.h:111
void setAlignment(QFlags< Qt::AlignmentFlag >)
QAbstractButton * button(int id) const
Definition: yearprint.h:32
void setOrientation(CalPrinter::ePrintOrientation orientation)
Definition: calprinter.cpp:290
void setSpacing(int spacing)
void setOrientation(Qt::Orientation)
void init(const Akonadi::ETMCalendar::Ptr &calendar)
Definition: calprinter.cpp:63
void setBuddy(QWidget *buddy)
void setEnabled(bool)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setChildrenCollapsible(bool)
void raise()
void setCurrentIndex(int index)
typedef Iterator
void hide()
void setMargin(int margin)
virtual QString description()=0
Returns short description of print format.
Definition: calprinter.h:100
iterator end()
void setOrientation(Orientation orientation)
const Key key(const T &value) const
void setChecked(bool)
void setWhatsThis(const QString &)
int insertWidget(int index, QWidget *widget)
void print(int type, const QDate &fd, const QDate &td, KCalCore::Incidence::List selectedIncidences=KCalCore::Incidence::List(), bool preview=false)
Definition: calprinter.cpp:97
PrintPlugin * selectedPlugin()
Definition: calprinter.cpp:296
typedef ConstIterator
virtual QPrinter::Orientation defaultOrientation()
Orientation of printout.
Definition: printplugin.h:127
void prepend(const T &value)
void setToolTip(const QString &)
const_iterator constEnd() const
const_iterator constBegin() const
virtual ~CalPrintDialog()
Definition: calprinter.cpp:267
QObject * parent() const
CalPrinter(QWidget *par, const Akonadi::ETMCalendar::Ptr &calendar, bool uniqItem=false)
Definition: calprinter.cpp:47
iterator begin()
const T value(const Key &key) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.