Doc - making the code snippet quoting more consistent by removing more

of the \code tags and using \snippet tags instead
This commit is contained in:
Kavindra Devi Palaraja
2009-04-02 13:33:40 +02:00
parent 1997d8fb9a
commit 1e8e1c0536
3 changed files with 14 additions and 20 deletions
+6 -4
View File
@@ -29,18 +29,20 @@
#include "textfinder.h"
//! [1]
#include <QtCore/QFile>
#include <QtCore/QTextStream>
//! [1]
#include <QtGui/QMessageBox>
//! [2]
//! [3]
TextFinder::TextFinder(QWidget *parent)
: QWidget(parent), ui(new Ui::TextFinder)
{
ui->setupUi(this);
loadTextFile();
}
//! [2]
//! [3]
TextFinder::~TextFinder()
{
@@ -63,10 +65,10 @@ void TextFinder::loadTextFile()
}
//! [0]
//! [1]
//! [2]
void TextFinder::on_findButton_clicked()
{
QString searchString = ui->lineEdit->text();
ui->textEdit->find(searchString, QTextDocument::FindWholeWords);
}
//! [1]
//! [2]