summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx
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-20 19:37:16 +0900
commitd3656a49e67074e23e8df5daef0f585199b0a8da (patch)
treea4f8ca60d997f3342a31a8901e11cdb89ab5f270 /kbabel/kbabeldict/modules/tmx
parent34281174eaef4065e90b49b327f3763b04dd5854 (diff)
downloadtdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.tar.gz
tdesdk-d3656a49e67074e23e8df5daef0f585199b0a8da.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b0c86264e0cd10a0d3a47de3b05be453d9417bcd)
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx')
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp54
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp32
2 files changed, 43 insertions, 43 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
index 9b4cde15..a4ba2cb4 100644
--- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
@@ -55,34 +55,34 @@ TmxCompendiumPreferencesWidget::TmxCompendiumPreferencesWidget(TQWidget *parent,
prefWidget = new TmxCompendiumPWidget(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->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->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>"
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index 6ce92e84..2c2f5220 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -82,7 +82,7 @@ TmxCompendium::TmxCompendium(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()));
}
TmxCompendium::~TmxCompendium()
@@ -155,9 +155,9 @@ void TmxCompendium::readSettings(TDEConfigBase *config)
PrefWidget *TmxCompendium::preferencesWidget(TQWidget *parent)
{
prefWidget = new TmxCompendiumPreferencesWidget(parent,"tmxcompendium_prefwidget");
- 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();
@@ -718,7 +718,7 @@ void TmxCompendium::slotLoadCompendium()
}
else
{
- connect(data, TQT_SIGNAL(progressEnds()), this, TQT_SLOT(recheckData()));
+ connect(data, TQ_SIGNAL(progressEnds()), this, TQ_SLOT(recheckData()));
}
}
else
@@ -737,7 +737,7 @@ void TmxCompendium::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();
@@ -915,14 +915,14 @@ void TmxCompendium::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))
@@ -933,7 +933,7 @@ void TmxCompendium::unregisterData()
}
else
{
- connect(data,TQT_SIGNAL(progressEnds()),this,TQT_SLOT(removeData()));
+ connect(data,TQ_SIGNAL(progressEnds()),this,TQ_SLOT(removeData()));
}
}
@@ -957,10 +957,10 @@ void TmxCompendium::registerData()
emit progressStarts(i18n("Loading PO compendium"));
}
- connect(data, TQT_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)));
+ connect(data, TQ_SIGNAL(progressStarts(const TQString&)), this
+ , 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 TmxCompendium::removeData()