Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcups.cpp File Reference
#include "qcups_p.h"
#include "qprintdevice_p.h"
#include "qprintengine.h"
+ Include dependency graph for qcups.cpp:

Go to the source code of this file.

Functions

 QT_IMPL_METATYPE_EXTERN_TAGGED (QCUPSSupport::JobHoldUntil, QCUPSSupport__JobHoldUntil) QT_IMPL_METATYPE_EXTERN_TAGGED(QCUPSSupport
 
static QString jobHoldToString (const QCUPSSupport::JobHoldUntil jobHold, QTime holdUntilTime)
 
static QString bannerPageToString (const QCUPSSupport::BannerPage bannerPage)
 
static QCUPSSupport::BannerPage stringToBannerPage (const QString &bannerPage)
 

Function Documentation

◆ bannerPageToString()

static QString bannerPageToString ( const QCUPSSupport::BannerPage  bannerPage)
inlinestatic

Definition at line 167 of file qcups.cpp.

References QCUPSSupport::Classified, QCUPSSupport::Confidential, QCUPSSupport::NoBanner, QStringLiteral, QCUPSSupport::Secret, QCUPSSupport::Standard, QCUPSSupport::TopSecret, and QCUPSSupport::Unclassified.

Referenced by QCUPSSupport::setBannerPages().

+ Here is the caller graph for this function:

◆ jobHoldToString()

static QString jobHoldToString ( const QCUPSSupport::JobHoldUntil  jobHold,
QTime  holdUntilTime 
)
inlinestatic

Definition at line 62 of file qcups.cpp.

References QDateTime::addDays(), QDateTime::currentDateTime(), QCUPSSupport::DayTime, QCUPSSupport::Indefinite, QTime::isNull(), QCUPSSupport::Night, QCUPSSupport::NoHold, Q_FALLTHROUGH, QStringLiteral, QCUPSSupport::SecondShift, QDateTime::setTime(), QCUPSSupport::SpecificTime, QCUPSSupport::ThirdShift, QDateTime::time(), QDateTime::toUTC(), and QCUPSSupport::Weekend.

Referenced by QCUPSSupport::setJobHold().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QT_IMPL_METATYPE_EXTERN_TAGGED()

QT_IMPL_METATYPE_EXTERN_TAGGED ( QCUPSSupport::JobHoldUntil  ,
QCUPSSupport__JobHoldUntil   
)

Definition at line 13 of file qcups.cpp.

References PPK_CupsOptions.

◆ stringToBannerPage()

static QCUPSSupport::BannerPage stringToBannerPage ( const QString bannerPage)
inlinestatic

Definition at line 181 of file qcups.cpp.

References QCUPSSupport::Classified, QCUPSSupport::Confidential, QCUPSSupport::NoBanner, QCUPSSupport::Secret, QCUPSSupport::Standard, QCUPSSupport::TopSecret, and QCUPSSupport::Unclassified.

Referenced by QCUPSSupport::parseJobSheets().

+ Here is the caller graph for this function: