summaryrefslogtreecommitdiffstats
path: root/examples/tools
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-07-17 15:19:45 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-07-17 15:21:15 +0200
commit080231536cbc5e9acc486e57e165320416f66d85 (patch)
tree0cfafb4ee6efe9b02644b9d7ca41d19515d1c897 /examples/tools
parent866e6e6338767086cef8f97bc4e7b38e78b83651 (diff)
Update the documentation after the change in the completer exemple
Diffstat (limited to 'examples/tools')
-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 06f16de175..c98482a536 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);