summaryrefslogtreecommitdiffstats
path: root/src/searchresultsdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchresultsdlg.cpp')
-rw-r--r--src/searchresultsdlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/searchresultsdlg.cpp b/src/searchresultsdlg.cpp
index bb63fa5..bbcdd9b 100644
--- a/src/searchresultsdlg.cpp
+++ b/src/searchresultsdlg.cpp
@@ -25,10 +25,10 @@
*
***************************************************************************/
-#include <qpushbutton.h>
-#include <qlineedit.h>
-#include <qcombobox.h>
-#include <qradiobutton.h>
+#include <ntqpushbutton.h>
+#include <ntqlineedit.h>
+#include <ntqcombobox.h>
+#include <ntqradiobutton.h>
#include "searchresultsdlg.h"
int SearchResultsDlg::s_nType = PlainText;
@@ -40,7 +40,7 @@ bool SearchResultsDlg::s_bNegate = false;
* @param pParent The parent widget
* @param szName Optional widget name
*/
-SearchResultsDlg::SearchResultsDlg(QWidget* pParent, const char* szName) :
+SearchResultsDlg::SearchResultsDlg(TQWidget* pParent, const char* szName) :
SearchResultsLayout(pParent, szName, true, 0)
{
// Select the last selected type radio button
@@ -96,16 +96,16 @@ int SearchResultsDlg::getColumn()
* Creates a regular expression based on the given pattern and type of search.
* @param re A regular expression object to set
*/
-void SearchResultsDlg::getPattern(QRegExp& re)
+void SearchResultsDlg::getPattern(TQRegExp& re)
{
- QString sPattern;
+ TQString sPattern;
sPattern = m_pSearchEdit->text();
// Create the regular expression
switch (s_nType) {
case PlainText:
- re.setPattern(QRegExp::escape(sPattern));
+ re.setPattern(TQRegExp::escape(sPattern));
re.setWildcard(false);
break;
@@ -130,7 +130,7 @@ void SearchResultsDlg::getPattern(QRegExp& re)
*/
void SearchResultsDlg::accept()
{
- QString sText;
+ TQString sText;
// Determine the selected type and store its value for the next invocation
if (m_pTextRadio->isChecked())
@@ -148,12 +148,12 @@ void SearchResultsDlg::accept()
sText = m_pSearchEdit->text();
sText.stripWhiteSpace();
if (sText.isEmpty()) {
- QDialog::reject();
+ TQDialog::reject();
return;
}
// Close the dialogue
- QDialog::accept();
+ TQDialog::accept();
}
#include "searchresultsdlg.moc"