Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtMultimediaPrivate::QLoggingCategoryEnabler Class Reference

#include <qmessagespy_p.h>

Collaboration diagram for QtMultimediaPrivate::QLoggingCategoryEnabler:

Public Member Functions

 QLoggingCategoryEnabler (const QLoggingCategory &category)
 ~QLoggingCategoryEnabler ()

Detailed Description

QLoggingCategoryEnabler temporarily enables a logging category for all message types, and restores the original state on destruction.

Usage:

// all message types for qLcMyCategory are now active for this scope
QLoggingCategoryEnabler(const QLoggingCategory &category)
GLboolean enable

Definition at line 49 of file qmessagespy_p.h.

Constructor & Destructor Documentation

◆ QLoggingCategoryEnabler()

QtMultimediaPrivate::QLoggingCategoryEnabler::QLoggingCategoryEnabler ( const QLoggingCategory & category)
inlineexplicit

Definition at line 53 of file qmessagespy_p.h.

◆ ~QLoggingCategoryEnabler()

QtMultimediaPrivate::QLoggingCategoryEnabler::~QLoggingCategoryEnabler ( )
inline

Definition at line 65 of file qmessagespy_p.h.


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