summaryrefslogtreecommitdiffstats
path: root/khelpcenter/htmlsearch
diff options
context:
space:
mode:
Diffstat (limited to 'khelpcenter/htmlsearch')
-rw-r--r--khelpcenter/htmlsearch/htmlsearch.cpp20
-rw-r--r--khelpcenter/htmlsearch/htmlsearch.h4
-rw-r--r--khelpcenter/htmlsearch/kcmhtmlsearch.cpp32
-rw-r--r--khelpcenter/htmlsearch/kcmhtmlsearch.h2
-rw-r--r--khelpcenter/htmlsearch/klangcombo.h2
-rw-r--r--khelpcenter/htmlsearch/ktagcombobox.cpp16
-rw-r--r--khelpcenter/htmlsearch/ktagcombobox.h2
-rw-r--r--khelpcenter/htmlsearch/progressdialog.h2
8 files changed, 40 insertions, 40 deletions
diff --git a/khelpcenter/htmlsearch/htmlsearch.cpp b/khelpcenter/htmlsearch/htmlsearch.cpp
index 5fd0f4640..ee8cb5bd4 100644
--- a/khelpcenter/htmlsearch/htmlsearch.cpp
+++ b/khelpcenter/htmlsearch/htmlsearch.cpp
@@ -276,11 +276,11 @@ bool HTMLSearch::generateIndex(TQString _lang, TQWidget *parent)
kdDebug() << "Running htdig" << endl;
- connect(_proc, TQT_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
- this, TQT_SLOT(htdigStdout(TDEProcess *,char*,int)));
+ connect(_proc, TQ_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
+ this, TQ_SLOT(htdigStdout(TDEProcess *,char*,int)));
- connect(_proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htdigExited(TDEProcess *)));
+ connect(_proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htdigExited(TDEProcess *)));
_htdigRunning = true;
@@ -340,8 +340,8 @@ bool HTMLSearch::generateIndex(TQString _lang, TQWidget *parent)
kdDebug() << "Running htmerge" << endl;
- connect(_proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htmergeExited(TDEProcess *)));
+ connect(_proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htmergeExited(TDEProcess *)));
_htmergeRunning = true;
@@ -444,10 +444,10 @@ TQString HTMLSearch::search(TQString _lang, TQString words, TQString method, int
kdDebug() << "Running htsearch" << endl;
- connect(_proc, TQT_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
- this, TQT_SLOT(htsearchStdout(TDEProcess *,char*,int)));
- connect(_proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htsearchExited(TDEProcess *)));
+ connect(_proc, TQ_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
+ this, TQ_SLOT(htsearchStdout(TDEProcess *,char*,int)));
+ connect(_proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htsearchExited(TDEProcess *)));
_htsearchRunning = true;
_searchResult = "";
diff --git a/khelpcenter/htmlsearch/htmlsearch.h b/khelpcenter/htmlsearch/htmlsearch.h
index 37d9bf39f..e0c533f81 100644
--- a/khelpcenter/htmlsearch/htmlsearch.h
+++ b/khelpcenter/htmlsearch/htmlsearch.h
@@ -16,9 +16,9 @@ class TDEProcess;
class ProgressDialog;
-class HTMLSearch : public QObject
+class HTMLSearch : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/khelpcenter/htmlsearch/kcmhtmlsearch.cpp b/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
index 3db9c9895..428f56d9e 100644
--- a/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
+++ b/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
@@ -60,8 +60,8 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
url->setText(i18n("ht://dig home page"));
url->setAlignment(TQLabel::AlignHCenter);
grid->addMultiCellWidget(url, 2,2, 0, 1);
- connect(url, TQT_SIGNAL(leftClickedURL(const TQString&)),
- this, TQT_SLOT(urlClicked(const TQString&)));
+ connect(url, TQ_SIGNAL(leftClickedURL(const TQString&)),
+ this, TQ_SLOT(urlClicked(const TQString&)));
gb = new TQGroupBox(i18n("Program Locations"), this);
@@ -74,7 +74,7 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
l->setBuddy( htdigBin );
grid->addWidget(l, 1,0);
grid->addWidget(htdigBin, 1,1);
- connect(htdigBin->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(configChanged()));
+ connect(htdigBin->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(configChanged()));
TQString wtstr = i18n( "Enter the path to your htdig program here, e.g. /usr/local/bin/htdig" );
TQWhatsThis::add( htdigBin, wtstr );
TQWhatsThis::add( l, wtstr );
@@ -84,7 +84,7 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
l->setBuddy( htsearchBin );
grid->addWidget(l, 2,0);
grid->addWidget(htsearchBin, 2,1);
- connect(htsearchBin->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(configChanged()));
+ connect(htsearchBin->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(configChanged()));
wtstr = i18n( "Enter the path to your htsearch program here, e.g. /usr/local/bin/htsearch" );
TQWhatsThis::add( htsearchBin, wtstr );
TQWhatsThis::add( l, wtstr );
@@ -94,7 +94,7 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
l->setBuddy( htmergeBin );
grid->addWidget(l, 3,0);
grid->addWidget(htmergeBin, 3,1);
- connect(htmergeBin->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(configChanged()));
+ connect(htmergeBin->lineEdit(), TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(configChanged()));
wtstr = i18n( "Enter the path to your htmerge program here, e.g. /usr/local/bin/htmerge" );
TQWhatsThis::add( htmergeBin, wtstr );
TQWhatsThis::add( l, wtstr );
@@ -110,17 +110,17 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
indexKDE = new TQCheckBox(i18n("&TDE help"), gb);
vvbox->addWidget(indexKDE);
- connect(indexKDE, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+ connect(indexKDE, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()));
indexMan = new TQCheckBox(i18n("&Man pages"), gb);
vvbox->addWidget(indexMan);
indexMan->setEnabled(false),
- connect(indexMan, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+ connect(indexMan, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()));
indexInfo = new TQCheckBox(i18n("&Info pages"), gb);
vvbox->addWidget(indexInfo);
indexInfo->setEnabled(false);
- connect(indexInfo, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+ connect(indexInfo, TQ_SIGNAL(clicked()), this, TQ_SLOT(configChanged()));
gb = new TQGroupBox(i18n("Additional Search Paths"), this);
hbox->addWidget(gb);
@@ -159,12 +159,12 @@ TDEHTMLSearchConfig::TDEHTMLSearchConfig(TQWidget *parent, const char *name)
TQWhatsThis::add( runButton, i18n( "Click this button to generate the index for the fulltext search." ) );
runButton->setFixedSize(runButton->sizeHint());
vbox->addWidget(runButton, AlignRight);
- connect(runButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(generateIndex()));
+ connect(runButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(generateIndex()));
- connect(addButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(addClicked()));
- connect(delButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(delClicked()));
- connect(searchPaths, TQT_SIGNAL(highlighted(const TQString &)),
- this, TQT_SLOT(pathSelected(const TQString &)));
+ connect(addButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(addClicked()));
+ connect(delButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(delClicked()));
+ connect(searchPaths, TQ_SIGNAL(highlighted(const TQString &)),
+ this, TQ_SLOT(pathSelected(const TQString &)));
checkButtons();
@@ -345,8 +345,8 @@ void TDEHTMLSearchConfig::generateIndex()
indexProc = new TDEProcess;
*indexProc << exe << "--lang" << language->currentTag();
- connect(indexProc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(indexTerminated(TDEProcess *)));
+ connect(indexProc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(indexTerminated(TDEProcess *)));
runButton->setEnabled(false);
@@ -362,7 +362,7 @@ void TDEHTMLSearchConfig::indexTerminated(TDEProcess *)
extern "C"
{
- KDE_EXPORT TDECModule *create_htmlsearch(TQWidget *parent, const char *name)
+ TDE_EXPORT TDECModule *create_htmlsearch(TQWidget *parent, const char *name)
{
TDEGlobal::locale()->insertCatalogue("kcmhtmlsearch");
return new TDEHTMLSearchConfig(parent, name);
diff --git a/khelpcenter/htmlsearch/kcmhtmlsearch.h b/khelpcenter/htmlsearch/kcmhtmlsearch.h
index 28445437a..72ae1c396 100644
--- a/khelpcenter/htmlsearch/kcmhtmlsearch.h
+++ b/khelpcenter/htmlsearch/kcmhtmlsearch.h
@@ -35,7 +35,7 @@ class KURLRequester;
class TDEHTMLSearchConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/khelpcenter/htmlsearch/klangcombo.h b/khelpcenter/htmlsearch/klangcombo.h
index 4ca6e2f3b..7b07fee03 100644
--- a/khelpcenter/htmlsearch/klangcombo.h
+++ b/khelpcenter/htmlsearch/klangcombo.h
@@ -34,7 +34,7 @@
*/
class KLanguageCombo : public KTagComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
KLanguageCombo(TQWidget *parent=0, const char *name=0);
diff --git a/khelpcenter/htmlsearch/ktagcombobox.cpp b/khelpcenter/htmlsearch/ktagcombobox.cpp
index b3c70915c..be9975d7a 100644
--- a/khelpcenter/htmlsearch/ktagcombobox.cpp
+++ b/khelpcenter/htmlsearch/ktagcombobox.cpp
@@ -98,10 +98,10 @@ void KTagComboBox::clear()
delete old_popup;
old_popup = popup;
popup = new TQPopupMenu(this);
- connect( popup, TQT_SIGNAL(activated(int)),
- TQT_SLOT(internalActivate(int)) );
- connect( popup, TQT_SIGNAL(highlighted(int)),
- TQT_SLOT(internalHighlight(int)) );
+ connect( popup, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(internalActivate(int)) );
+ connect( popup, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(internalHighlight(int)) );
}
int KTagComboBox::count() const
@@ -176,10 +176,10 @@ void KTagComboBox::insertSubmenu(const TQString &text, const TQString &tag, cons
checkInsertPos(pi, text, index);
pi->insertItem(text, p, count(), index);
tags->append(tag);
- connect( p, TQT_SIGNAL(activated(int)),
- TQT_SLOT(internalActivate(int)) );
- connect( p, TQT_SIGNAL(highlighted(int)),
- TQT_SLOT(internalHighlight(int)) );
+ connect( p, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(internalActivate(int)) );
+ connect( p, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(internalHighlight(int)) );
}
void KTagComboBox::paintEvent( TQPaintEvent * ev)
diff --git a/khelpcenter/htmlsearch/ktagcombobox.h b/khelpcenter/htmlsearch/ktagcombobox.h
index df58120ce..c28336f21 100644
--- a/khelpcenter/htmlsearch/ktagcombobox.h
+++ b/khelpcenter/htmlsearch/ktagcombobox.h
@@ -37,7 +37,7 @@ class TQPopupMenu;
*/
class KTagComboBox : public QComboBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
KTagComboBox(TQWidget *parent=0, const char *name=0);
diff --git a/khelpcenter/htmlsearch/progressdialog.h b/khelpcenter/htmlsearch/progressdialog.h
index 9ab5660d9..f39a0d83e 100644
--- a/khelpcenter/htmlsearch/progressdialog.h
+++ b/khelpcenter/htmlsearch/progressdialog.h
@@ -12,7 +12,7 @@ class KProgress;
class ProgressDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public: