MagicSmoke  $VERSION$
PrintIcon Class Reference

This represents the icon in the system tray and the main UI of the Print at Home client. More...

#include <pah.h>

Inheritance diagram for PrintIcon:

Public Types

enum  PrintMode { PrintMode::Normal, PrintMode::Printing, PrintMode::Blocked, PrintMode::Problem }
 

Public Slots

void setNextTime (QString s)
 tells the tool tio when we will print next time More...
 
void setPrintMode (PrintMode)
 sets the icon variant More...
 

Signals

void printActivated (bool)
 emitted when the "Activate Printing" menu item is changed More...
 
void settingsChanged ()
 emitted whenever settings have changed More...
 
void startPrinting ()
 emitted when the user wants to start printing immediately More...
 

Public Member Functions

 PrintIcon ()
 
bool printIsActive ()
 returns true if the "Activate Printing" menu item is ticked More...
 

Static Public Member Functions

static PrintIconinstance ()
 returns the Icon instance More...
 

Detailed Description

This represents the icon in the system tray and the main UI of the Print at Home client.

Member Enumeration Documentation

enum PrintIcon::PrintMode
strong
Enumerator
Normal 

Normal operation, waiting for events.

Printing 

Actively printing.

Blocked 

operation blocked, no connection or printing deactivated

Problem 

operation not possible, problem with settings

Constructor & Destructor Documentation

PrintIcon::PrintIcon ( )

Member Function Documentation

PrintIcon * PrintIcon::instance ( )
static
void PrintIcon::printActivated ( bool  )
signal

emitted when the "Activate Printing" menu item is changed

bool PrintIcon::printIsActive ( )
inline

returns true if the "Activate Printing" menu item is ticked

Referenced by PrintScheduler::PrintScheduler(), and PrintScheduler::startPrinting().

void PrintIcon::setNextTime ( QString  s)
slot

tells the tool tio when we will print next time

Referenced by PrintScheduler::reinit().

void PrintIcon::setPrintMode ( PrintMode  m)
slot
void PrintIcon::settingsChanged ( )
signal

emitted whenever settings have changed

void PrintIcon::startPrinting ( )
signal

emitted when the user wants to start printing immediately

Referenced by PrintIcon().


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