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

okteta

  • Kasten2
  • PrintTool
Public Slots | Signals | Public Member Functions | Protected Attributes | List of all members
Kasten2::PrintTool Class Reference

#include <printtool.h>

Inheritance diagram for Kasten2::PrintTool:
Inheritance graph
[legend]

Public Slots

void print ()
 

Signals

void viewChanged (bool hasView)
 

Public Member Functions

 PrintTool ()
 
virtual ~PrintTool ()
 
void setTargetModel (AbstractModel *model)
 

Protected Attributes

Okteta::AbstractByteArrayModel * mByteArrayModel
 
ByteArrayView * mByteArrayView
 
ByteArrayDocument * mDocument
 

Detailed Description

This tool cares for the printing of the byte array to a series of papers.

This is done by creating a series of print commands, which may also be in form of a pdf document. We don't care for this, it's done by Qt and the print dialog.

The content is printed into a series of frames. By default there are a header frame, the content frame and the footer frame on each page.

-> Header printer, footer printer, content printer -> called by a pageprinter which knows about the layout -> pageprinter controls the page settings and informs the embedded printer -> frameprinter return number of frames they need for their content -> endless frames vs. ending frames -> vars for each frame: see KWrite ->

Definition at line 61 of file printtool.h.

Constructor & Destructor Documentation

Kasten2::PrintTool::PrintTool ( )

Definition at line 50 of file printtool.cpp.

Kasten2::PrintTool::~PrintTool ( )
virtual

Definition at line 178 of file printtool.cpp.

Member Function Documentation

void Kasten2::PrintTool::print ( )
slot

Definition at line 68 of file printtool.cpp.

void Kasten2::PrintTool::setTargetModel ( AbstractModel *  model)

Definition at line 55 of file printtool.cpp.

void Kasten2::PrintTool::viewChanged ( bool  hasView)
signal

Member Data Documentation

Okteta::AbstractByteArrayModel* Kasten2::PrintTool::mByteArrayModel
protected

Definition at line 82 of file printtool.h.

ByteArrayView* Kasten2::PrintTool::mByteArrayView
protected

Definition at line 81 of file printtool.h.

ByteArrayDocument* Kasten2::PrintTool::mDocument
protected

Definition at line 79 of file printtool.h.


The documentation for this class was generated from the following files:
  • printtool.h
  • printtool.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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