PrintConfig Class Reference
Represents a configuration for printing.
#include <printConfig.h>
Public Member Functions | |
PrintConfig (dpyPrinter::Parameter parameter, int value) | |
dpyPrinter::Parameter | getParameter () const |
int | getValue () const |
void | setValue (const int value) |
Static Public Member Functions | |
static std::string | parameterToString (dpyPrinter::Parameter parameter) |
static dpyPrinter::Parameter | stringToParameter (std::string parameter) |
Member Function Documentation
dpyPrinter::Parameter getParameter | ( | ) | const |
Gets configuration parameter
- Returns
- configuration parameter
int getValue | ( | ) | const |
Gets configuration value
- Returns
- configuration value
void setValue | ( | const int | value | ) |
Sets configuration value
- Parameters
-
value value to be set