diff options
Diffstat (limited to 'tqtinterface/qt4/tools/assistant/finddialog.ui.h')
-rw-r--r-- | tqtinterface/qt4/tools/assistant/finddialog.ui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/tools/assistant/finddialog.ui.h b/tqtinterface/qt4/tools/assistant/finddialog.ui.h index dc10393..9204cd7 100644 --- a/tqtinterface/qt4/tools/assistant/finddialog.ui.h +++ b/tqtinterface/qt4/tools/assistant/finddialog.ui.h @@ -37,7 +37,7 @@ void FindDialog::init() { lastBrowser = 0; onceFound = FALSE; - tqfindExpr = ""; + findExpr = ""; sb = new TQStatusBar( this ); FindDialogLayout->addWidget( sb ); sb->message( tr( "Enter the text you are looking for." ) ); @@ -57,18 +57,18 @@ void FindDialog::doFind(bool forward) TQTextBrowser *browser = (TQTextBrowser*) mainWindow()->browsers()->currentBrowser(); sb->clear(); - if (comboFind->currentText() != tqfindExpr || lastBrowser != browser) + if (comboFind->currentText() != findExpr || lastBrowser != browser) onceFound = false; - tqfindExpr = comboFind->currentText(); + findExpr = comboFind->currentText(); bool found; if (browser->hasSelectedText()) { // Search either forward or backward from cursor. - found = browser->tqfind(tqfindExpr, checkCase->isChecked(), checkWords->isChecked(), + found = browser->find(findExpr, checkCase->isChecked(), checkWords->isChecked(), forward); } else { int para = forward ? 0 : INT_MAX; int index = forward ? 0 : INT_MAX; - found = browser->tqfind(tqfindExpr, checkCase->isChecked(), checkWords->isChecked(), + found = browser->find(findExpr, checkCase->isChecked(), checkWords->isChecked(), forward, ¶, &index); } @@ -95,7 +95,7 @@ MainWindow* FindDialog::mainWindow() bool FindDialog::hasFindExpression() { - return !tqfindExpr.isEmpty(); + return !findExpr.isEmpty(); } void FindDialog::statusMessage(const TQString &message) |