karm

MyPrinter Class Reference

#include <print.h>

Inherits KPrinter.

Public Member Functions

 MyPrinter (const TaskView *taskView)
 
void print ()
 
void printLine (TQString total, TQString session, TQString name, TQPainter &, int)
 
void printTask (Task *task, TQPainter &, int level)
 
int calculateReqNameWidth (Task *task, TQFontMetrics &metrics, int level)
 

Detailed Description

Provide printing capabilities.

Definition at line 18 of file print.h.

Constructor & Destructor Documentation

◆ MyPrinter()

MyPrinter::MyPrinter ( const TaskView taskView)

Definition at line 17 of file print.cpp.

Member Function Documentation

◆ calculateReqNameWidth()

int MyPrinter::calculateReqNameWidth ( Task task,
TQFontMetrics &  metrics,
int  level 
)

Definition at line 113 of file print.cpp.

◆ print()

void MyPrinter::print ( )

Definition at line 22 of file print.cpp.

◆ printLine()

void MyPrinter::printLine ( TQString  total,
TQString  session,
TQString  name,
TQPainter &  painter,
int  level 
)

Definition at line 143 of file print.cpp.

◆ printTask()

void MyPrinter::printTask ( Task task,
TQPainter &  painter,
int  level 
)

Definition at line 128 of file print.cpp.


The documentation for this class was generated from the following files: