Changeset View
Changeset View
Standalone View
Standalone View
document/kpDocumentSaveOptions.cpp
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 70 | { | |||
---|---|---|---|---|---|
74 | d->m_quality = rhs.quality (); | 74 | d->m_quality = rhs.quality (); | ||
75 | } | 75 | } | ||
76 | 76 | | |||
77 | //--------------------------------------------------------------------- | 77 | //--------------------------------------------------------------------- | ||
78 | 78 | | |||
79 | kpDocumentSaveOptions::kpDocumentSaveOptions (QString mimeType, int colorDepth, bool dither, int quality) | 79 | kpDocumentSaveOptions::kpDocumentSaveOptions (QString mimeType, int colorDepth, bool dither, int quality) | ||
80 | : d (new kpDocumentSaveOptionsPrivate ()) | 80 | : d (new kpDocumentSaveOptionsPrivate ()) | ||
81 | { | 81 | { | ||
82 | d->m_mimeType = mimeType; | 82 | d->m_mimeType = std::move(mimeType); | ||
83 | d->m_colorDepth = colorDepth; | 83 | d->m_colorDepth = colorDepth; | ||
84 | d->m_dither = dither; | 84 | d->m_dither = dither; | ||
85 | d->m_quality = quality; | 85 | d->m_quality = quality; | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | //--------------------------------------------------------------------- | 88 | //--------------------------------------------------------------------- | ||
89 | 89 | | |||
90 | kpDocumentSaveOptions::~kpDocumentSaveOptions () | 90 | kpDocumentSaveOptions::~kpDocumentSaveOptions () | ||
▲ Show 20 Lines • Show All 532 Lines • Show Last 20 Lines |