summaryrefslogtreecommitdiffstats
path: root/parts/documentation/searchview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:51:21 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /parts/documentation/searchview.cpp
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'parts/documentation/searchview.cpp')
-rw-r--r--parts/documentation/searchview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp
index fd88c6c0..74d7a11b 100644
--- a/parts/documentation/searchview.cpp
+++ b/parts/documentation/searchview.cpp
@@ -23,10 +23,10 @@
***************************************************************************/
#include "searchview.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqdir.h>
#include <tqregexp.h>
@@ -182,11 +182,11 @@ void SearchView::search()
d.mkdir(savedir);
TQString query = TQString("words=%1;method=%2;matchesperpage=%3;format=%4;sort=%5")
- .tqarg(m_edit->text())
- .tqarg(m_searchMethodBox->currentItem()==1? "or" : "and")
- .tqarg(50)
- .tqarg("builtin-short")
- .tqarg(m_sortMethodBox->currentItem()==2? "date" : m_sortMethodBox->currentItem()==1? "title" : "score");
+ .arg(m_edit->text())
+ .arg(m_searchMethodBox->currentItem()==1? "or" : "and")
+ .arg(50)
+ .arg("builtin-short")
+ .arg(m_sortMethodBox->currentItem()==2? "date" : m_sortMethodBox->currentItem()==1? "title" : "score");
kdDebug(9002) << "starting kprocess" << endl;
kdDebug(9002) << "htdig line:" << exe << " -c " << (indexdir + "/htdig.conf ") << query << endl;
@@ -211,7 +211,7 @@ void SearchView::search()
}
// While receiving data from the subprocess, we want
- // to block the user interface, but still get tqrepaint
+ // to block the user interface, but still get repaint
// events. Hack taken from NetAccess...
kapp->setOverrideCursor(waitCursor);
TQWidget blocker(0, 0, WType_Dialog | WShowModal);