.TH "QETUtils::FontRestorationScope" 3 "Version 0.200.1-dev" "QElectroTech" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QETUtils::FontRestorationScope
.SH SYNOPSIS
.br
.PP
.PP
\fR#include <qetutils\&.h>\fP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBFontRestorationScope\fP ()"
.br
.RI "\fBQETUtils::FontRestorationScope::FontRestorationScope\fP Open a fresh counting window: the enclosing window's counts are kept aside and restored by the destructor, so a project load nested inside another one (through the event loop) reports its own numbers only\&. "
.ti -1c
.RI "\fB~FontRestorationScope\fP ()"
.br
.ti -1c
.RI "\fBFontRestorationScope\fP (const FontRestorationScope &)=delete"
.br
.ti -1c
.RI "\fBFontRestorationScope\fP & \fBoperator=\fP (const \fBFontRestorationScope\fP &)=delete"
.br
.ti -1c
.RI "int \fBsalvaged\fP () const"
.br
.RI "\fBQETUtils::FontRestorationScope::salvaged\fP\&. "
.ti -1c
.RI "int \fBunreadable\fP () const"
.br
.RI "\fBQETUtils::FontRestorationScope::unreadable\fP\&. "
.in -1c
.SS "Private Attributes"

.in +1c
.ti -1c
.RI "int \fBm_outer_salvaged\fP"
.br
.ti -1c
.RI "int \fBm_outer_unreadable\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
RAII counting window for the font descriptions \fBfontFromString()\fP salvages or fails to read: construction opens a fresh window, the destructor restores the enclosing one\&. Windows nest strictly LIFO, which covers project loads re-entered through the event loop (\fBDialogWaiting\fP pumps it while the folios are built)\&. 
.SH "Constructor & Destructor Documentation"
.PP 
.SS "QETUtils::FontRestorationScope::FontRestorationScope ()"

.PP
\fBQETUtils::FontRestorationScope::FontRestorationScope\fP Open a fresh counting window: the enclosing window's counts are kept aside and restored by the destructor, so a project load nested inside another one (through the event loop) reports its own numbers only\&. 
.SS "QETUtils::FontRestorationScope::~FontRestorationScope ()"

.SS "QETUtils::FontRestorationScope::FontRestorationScope (const FontRestorationScope & )\fR [delete]\fP"

.SH "Member Function Documentation"
.PP 
.SS "\fBFontRestorationScope\fP & QETUtils::FontRestorationScope::operator= (const \fBFontRestorationScope\fP & )\fR [delete]\fP"

.SS "int QETUtils::FontRestorationScope::salvaged () const"

.PP
\fBQETUtils::FontRestorationScope::salvaged\fP\&. 
.PP
\fBReturns\fP
.RS 4
How many font descriptions \fBfontFromString()\fP restored from a foreign or corrupt format since this window was opened\&. Such descriptions are rewritten in the stable format on the next save\&. 
.RE
.PP

.SS "int QETUtils::FontRestorationScope::unreadable () const"

.PP
\fBQETUtils::FontRestorationScope::unreadable\fP\&. 
.PP
\fBReturns\fP
.RS 4
How many font descriptions \fBfontFromString()\fP could not restore at all since this window was opened (the caller's default font applies)\&. 
.RE
.PP

.SH "Member Data Documentation"
.PP 
.SS "int QETUtils::FontRestorationScope::m_outer_salvaged\fR [private]\fP"

.SS "int QETUtils::FontRestorationScope::m_outer_unreadable\fR [private]\fP"


.SH "Author"
.PP 
Generated automatically by Doxygen for QElectroTech from the source code\&.
