From 1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:35:10 -0600 Subject: Rename old tq methods that no longer need a unique name --- kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp | 10 +++++----- kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp | 4 ++-- kbabel/kbabeldict/modules/dbsearchengine/dbseprefwidget.ui | 12 ++++++------ .../kbabeldict/modules/dbsearchengine/preferenceswidget.cpp | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'kbabel/kbabeldict/modules/dbsearchengine') diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp index 4c79bacd..46948614 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp @@ -474,7 +474,7 @@ KDBSearchEngine::messagesForFilter (const SearchFilter * filter, if (count % step == 0) { emit progress (100 * count / totalRecord); - kapp->tqprocessEvents (100); + kapp->processEvents (100); } if (stopNow) { @@ -582,7 +582,7 @@ KDBSearchEngine::repeat () if (count % step == 0) { emit progress (100 * count / totalRecord); - kapp->tqprocessEvents (100); + kapp->processEvents (100); } if (stopNow) { @@ -755,7 +755,7 @@ KDBSearchEngine::startSearchNow (int searchmode) step = 100; emit progress (0); - kapp->tqprocessEvents (100); + kapp->processEvents (100); if (stopNow) { stopNow = false; @@ -775,7 +775,7 @@ KDBSearchEngine::startSearchNow (int searchmode) { emit progress (100 * count / /*TQMAX( */ totalprogress /*,1) */ ); - kapp->tqprocessEvents (100); + kapp->processEvents (100); if (stopNow) { @@ -1715,7 +1715,7 @@ TQValueList < KeyAndScore > KDBSearchEngine::searchWords (TQString phrase, { emit progress (100 * count / totalprogress); - kapp->tqprocessEvents (100); + kapp->processEvents (100); } if (stopNow) { diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp index 2969a9df..10a3a796 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp @@ -128,7 +128,7 @@ emit fileLoading(0); KURL u(fileName); -ConversiontqStatus rr=catalog->openURL(u); +ConversionStatus rr=catalog->openURL(u); if(rr != OK && rr !=RECOVERED_PARSE_ERROR ) { delete catalog; @@ -159,7 +159,7 @@ for (i=0;itqprocessEvents(100); + kapp->processEvents(100); } fuzzy=catalog->isFuzzy(i); diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbseprefwidget.ui b/kbabel/kbabeldict/modules/dbsearchengine/dbseprefwidget.ui index b457bf74..6c3fa8a9 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/dbseprefwidget.ui +++ b/kbabel/kbabeldict/modules/dbsearchengine/dbseprefwidget.ui @@ -179,7 +179,7 @@ It also substitutes groups of more than one space character with only one space 0 - + 0 20 @@ -245,7 +245,7 @@ It also substitutes groups of more than one space character with only one space Fixed - + 20 20 @@ -262,7 +262,7 @@ It also substitutes groups of more than one space character with only one space Fixed - + 20 20 @@ -332,7 +332,7 @@ It also substitutes groups of more than one space character with only one space Fixed - + 20 20 @@ -384,7 +384,7 @@ If you search for <em>My name is Andrea</em> and you have activated Fixed - + 20 20 @@ -415,7 +415,7 @@ If you search for <em>My name is Andrea</em> and you have activated Fixed - + 20 20 diff --git a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp index a2c8c289..a3481a07 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp +++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp @@ -25,7 +25,7 @@ PreferencesWidget::PreferencesWidget(TQWidget *parent, const char* name) dbpw->dirInput->setMode(KFile::Directory | KFile::LocalOnly); tqlayout->addWidget(dbpw); - resize(TQSize(200,200).expandedTo(tqminimumSizeHint())); + resize(TQSize(200,200).expandedTo(minimumSizeHint())); // connect(dbpw->browseTB_3,TQT_SIGNAL(clicked()),TQT_SLOT(browse1())); -- cgit v1.2.1