summaryrefslogtreecommitdiffstats
path: root/examples/tools/completer
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-17 13:19:45 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-17 13:21:15 (GMT)
commit080231536cbc5e9acc486e57e165320416f66d85 (patch)
tree0cfafb4ee6efe9b02644b9d7ca41d19515d1c897 /examples/tools/completer
parent866e6e6338767086cef8f97bc4e7b38e78b83651 (diff)
downloadQt-080231536cbc5e9acc486e57e165320416f66d85.zip
Qt-080231536cbc5e9acc486e57e165320416f66d85.tar.gz
Qt-080231536cbc5e9acc486e57e165320416f66d85.tar.bz2
Update the documentation after the change in the completer exemple
Diffstat (limited to 'examples/tools/completer')
-rw-r--r--examples/tools/completer/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tools/completer/mainwindow.cpp b/examples/tools/completer/mainwindow.cpp
index 06f16de..c98482a 100644
--- a/examples/tools/completer/mainwindow.cpp
+++ b/examples/tools/completer/mainwindow.cpp
@@ -75,15 +75,15 @@ MainWindow::MainWindow(QWidget *parent)
caseCombo->addItem(tr("Case Insensitive"));
caseCombo->addItem(tr("Case Sensitive"));
caseCombo->setCurrentIndex(0);
+//! [0]
+//! [1]
QLabel *maxVisibleLabel = new QLabel;
maxVisibleLabel->setText(tr("Max Visible Items"));
maxVisibleSpinBox = new QSpinBox;
maxVisibleSpinBox->setRange(3,25);
maxVisibleSpinBox->setValue(10);
-//! [0]
-//! [1]
wrapCheckBox = new QCheckBox;
wrapCheckBox->setText(tr("Wrap around completions"));
wrapCheckBox->setChecked(true);