Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
67480db9
Commit
67480db9
authored
Mar 24, 2009
by
hjk
Browse files
fix example (task 249064)
parent
96545632
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/qtcreator.qdoc
View file @
67480db9
...
...
@@ -559,7 +559,7 @@
void on_findButton_clicked();
private:
Ui::
Form
ui;
Ui::
TextFinder *
ui;
void loadTextFile();
\endcode
...
...
@@ -581,8 +581,8 @@
QString line = in.readAll();
inputFile.close();
ui
.
textEdit->setPlainText(line);
QTextCursor cursor = ui
.
textEdit->textCursor();
ui
->
textEdit->setPlainText(line);
QTextCursor cursor = ui
->
textEdit->textCursor();
}
\endcode
...
...
@@ -600,8 +600,8 @@
\code
void TextFinder::on_findButton_clicked()
{
QString searchString = ui
.
lineEdit->text();
ui
.
textEdit->find(searchString, QTextDocument::FindWholeWords);
QString searchString = ui
->
lineEdit->text();
ui
->
textEdit->find(searchString, QTextDocument::FindWholeWords);
}
\endcode
...
...
@@ -612,7 +612,7 @@
TextFinder::TextFinder(QWidget *parent, Qt::WFlags flags)
: QWidget(parent, flags)
{
ui
.
setupUi(this);
ui
->
setupUi(this);
loadTextFile();
}
\endcode
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment