diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/assistant/finddialog.ui.h')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/assistant/finddialog.ui.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/tools/assistant/finddialog.ui.h b/experimental/tqtinterface/qt4/tools/assistant/finddialog.ui.h index dc103932b..9204cd799 100644 --- a/experimental/tqtinterface/qt4/tools/assistant/finddialog.ui.h +++ b/experimental/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) |