summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/pocompendium
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 13:10:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 13:34:26 +0900
commitb0c86264e0cd10a0d3a47de3b05be453d9417bcd (patch)
tree7ae4535306d69dc4b55f68eae0a65298330ee610 /kbabel/kbabeldict/modules/pocompendium
parentd859a5c1f439fe432dedde763e40b2dad9875354 (diff)
downloadtdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.tar.gz
tdesdk-b0c86264e0cd10a0d3a47de3b05be453d9417bcd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbabel/kbabeldict/modules/pocompendium')
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp6
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp32
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp58
3 files changed, 48 insertions, 48 deletions
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
index 22598cbf..9c6f96a5 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
@@ -77,12 +77,12 @@ bool CompendiumData::load(KURL url)
emit progressStarts(i18n("Loading PO compendium"));
- connect(_catalog, TQT_SIGNAL(signalProgress(int)), this, TQT_SIGNAL(progress(int)));
+ connect(_catalog, TQ_SIGNAL(signalProgress(int)), this, TQ_SIGNAL(progress(int)));
ConversionStatus stat=_catalog->openURL(url);
- disconnect(_catalog, TQT_SIGNAL(signalProgress(int))
- , this, TQT_SIGNAL(progress(int)));
+ disconnect(_catalog, TQ_SIGNAL(signalProgress(int))
+ , this, TQ_SIGNAL(progress(int)));
if( stat!= OK && stat != RECOVERED_PARSE_ERROR)
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 9d1f6440..6045612b 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -88,7 +88,7 @@ PoCompendium::PoCompendium(TQObject *parent, const char *name)
loadTimer = new TQTimer(this);
- connect(loadTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(slotLoadCompendium()));
+ connect(loadTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(slotLoadCompendium()));
}
PoCompendium::~PoCompendium()
@@ -164,9 +164,9 @@ PrefWidget *PoCompendium::preferencesWidget(TQWidget *parent)
{
prefWidget = new CompendiumPreferencesWidget(parent,"pocompendium_prefwidget");
kdDebug(KBABEL_SEARCH) << "PreferencesWidget is " << prefWidget << endl;
- connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings()));
- connect(prefWidget, TQT_SIGNAL(restoreSettings())
- , this, TQT_SLOT(restoreSettings()));
+ connect(prefWidget, TQ_SIGNAL(applySettings()), this, TQ_SLOT(applySettings()));
+ connect(prefWidget, TQ_SIGNAL(restoreSettings())
+ , this, TQ_SLOT(restoreSettings()));
restoreSettings();
@@ -828,7 +828,7 @@ void PoCompendium::slotLoadCompendium()
}
else
{
- connect(data, TQT_SIGNAL(progressEnds()), this, TQT_SLOT(recheckData()));
+ connect(data, TQ_SIGNAL(progressEnds()), this, TQ_SLOT(recheckData()));
}
}
else
@@ -847,7 +847,7 @@ void PoCompendium::recheckData()
{
if(data)
{
- disconnect(data, TQT_SIGNAL(progressEnds()), this, TQT_SLOT(recheckData()));
+ disconnect(data, TQ_SIGNAL(progressEnds()), this, TQ_SLOT(recheckData()));
error = data->hasErrors();
errorMsg = data->errorMsg();
@@ -1153,14 +1153,14 @@ void PoCompendium::unregisterData()
{
if(data)
{
- disconnect(data, TQT_SIGNAL(progressStarts(const TQString&)), this
- , TQT_SIGNAL(progressStarts(const TQString&)));
- disconnect(data, TQT_SIGNAL(progressEnds()), this , TQT_SIGNAL(progressEnds()));
- disconnect(data, TQT_SIGNAL(progress(int)), this , TQT_SIGNAL(progress(int)));
+ disconnect(data, TQ_SIGNAL(progressStarts(const TQString&)), this
+ , TQ_SIGNAL(progressStarts(const TQString&)));
+ disconnect(data, TQ_SIGNAL(progressEnds()), this , TQ_SIGNAL(progressEnds()));
+ disconnect(data, TQ_SIGNAL(progress(int)), this , TQ_SIGNAL(progress(int)));
if(data->active())
{
- disconnect(data,TQT_SIGNAL(progressEnds()),this,TQT_SLOT(recheckData()));
+ disconnect(data,TQ_SIGNAL(progressEnds()),this,TQ_SLOT(recheckData()));
}
if(data->unregisterObject(this))
@@ -1171,7 +1171,7 @@ void PoCompendium::unregisterData()
}
else
{
- connect(data,TQT_SIGNAL(progressEnds()),this,TQT_SLOT(removeData()));
+ connect(data,TQ_SIGNAL(progressEnds()),this,TQ_SLOT(removeData()));
}
}
@@ -1195,11 +1195,11 @@ void PoCompendium::registerData()
emit progressStarts(i18n("Loading PO compendium"));
}
- connect(data, TQT_SIGNAL(
+ connect(data, TQ_SIGNAL(
progressStarts(const TQString&)), this
- , TQT_SIGNAL(progressStarts(const TQString&)));
- connect(data, TQT_SIGNAL(progressEnds()), this , TQT_SIGNAL(progressEnds()));
- connect(data, TQT_SIGNAL(progress(int)), this , TQT_SIGNAL(progress(int)));
+ , TQ_SIGNAL(progressStarts(const TQString&)));
+ connect(data, TQ_SIGNAL(progressEnds()), this , TQ_SIGNAL(progressEnds()));
+ connect(data, TQ_SIGNAL(progress(int)), this , TQ_SIGNAL(progress(int)));
}
void PoCompendium::removeData()
diff --git a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
index 4ecb2886..d152e3b1 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
@@ -53,36 +53,36 @@ CompendiumPreferencesWidget::CompendiumPreferencesWidget(TQWidget *parent, const
prefWidget = new CompendiumPWidget(this);
layout->addWidget(prefWidget);
- connect(prefWidget->caseBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->equalBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->ngramBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->isContainedBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->containsBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->fuzzyBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->hasWordBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
- connect(prefWidget->wholeBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(setChanged()));
+ connect(prefWidget->caseBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->equalBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->ngramBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->isContainedBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->containsBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->fuzzyBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->hasWordBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
+ connect(prefWidget->wholeBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(setChanged()));
- connect(prefWidget->urlInput->lineEdit(),TQT_SIGNAL(textChanged(const TQString&))
- , this, TQT_SLOT(setChanged()));
-
- connect(prefWidget->equalBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(equalBtnToggled(bool)));
- connect(prefWidget->ngramBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(ngramBtnToggled(bool)));
- connect(prefWidget->isContainedBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(isContainedBtnToggled(bool)));
- connect(prefWidget->containsBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(containsBtnToggled(bool)));
- connect(prefWidget->hasWordBtn, TQT_SIGNAL(toggled(bool))
- , this, TQT_SLOT(hasWordBtnToggled(bool)));
+ connect(prefWidget->urlInput->lineEdit(),TQ_SIGNAL(textChanged(const TQString&))
+ , this, TQ_SLOT(setChanged()));
+
+ connect(prefWidget->equalBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(equalBtnToggled(bool)));
+ connect(prefWidget->ngramBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(ngramBtnToggled(bool)));
+ connect(prefWidget->isContainedBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(isContainedBtnToggled(bool)));
+ connect(prefWidget->containsBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(containsBtnToggled(bool)));
+ connect(prefWidget->hasWordBtn, TQ_SIGNAL(toggled(bool))
+ , this, TQ_SLOT(hasWordBtnToggled(bool)));
TQString whatsthis=i18n("<qt><p><b>Parameters</b></p>"