PrivateImplementationDialog
0
0
400
200
Options & settings to move the private data fields of a class into a private structure
160
20
221
22
IBeamCursor
false
20
20
141
20
Private structure name:
20
80
361
111
Options
false
10
20
181
21
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">By default private implementation structures are declared as <span style=" font-style:italic;">struct</span> to have default public access.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Check this box if you wish the private implementation structure be declared as <span style=" font-style:italic;">class</span> with public access.</p></body></html>
Use class instead of struct
10
50
291
21
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Move any current variables that are initialized in the constructor initializer list to the private implementation structure's constructor initializer list.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:12pt; font-weight:600;">Note:</span> All references, and variables with types that do not offer default constructors are moved regardless of the state of this option.</p></body></html>
Move Variable initialization to private structure
10
80
151
21
Move all currently declared private methods to the private implementation structure.
Move Private methods
20
50
91
16
Pointer name:
160
50
221
22
false
The name of the member variable that will be the pointer held to the private implementation
d
false
KLineEdit
QLineEdit