<div dir="ltr"><div><div><div><div><div>Hi!<br><br></div><div><u><b>kcompletionuitest.cpp</b></u><br></div><div><br></div>In kcompletionuitest.cpp I have found many uses of QStringLiteral that perhaps aren't necessary, but I'm not sure:<br>
<br>Form1::Form1(QWidget *parent)<br> : QWidget(parent)<br>{<br> setAttribute(Qt::WA_DeleteOnClose);<br> <b>setObjectName(QStringLiteral("Form1"));</b><br> resize(559, 465);<br> <b>setWindowTitle(QStringLiteral("Form1"));</b><br>
Form1Layout = new QVBoxLayout(this);<br><br> GroupBox1 = new QGroupBox(this);<br> GroupBox1->setLayout(new QVBoxLayout());<br> <b>GroupBox1->setTitle(QStringLiteral("Completion Test"));</b><br>
<br></div>Can't it be just GroupBox1->setTitle("Completion Test"); for example?<br><br></div><div><u><b>kcomboboxtest.cpp</b></u><br></div><div><br></div>Another thing: the test kcomboboxtest has a Enable/Disable button that uses a QTimer, so, when pressed, it takes 5 endless seconds to enable/disable the combo boxes and change the text of the button. May I take off that QTimer or is it useful in some unknown way? :-/<br>
<br><br></div>Thanks!<br><br></div>David Gil<br></div>