summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict
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
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')
-rw-r--r--kbabel/kbabeldict/dictchooser.cpp22
-rw-r--r--kbabel/kbabeldict/dictionarymenu.cpp14
-rw-r--r--kbabel/kbabeldict/kbabeldict.cpp10
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp90
-rw-r--r--kbabel/kbabeldict/kbabeldictview.cpp34
-rw-r--r--kbabel/kbabeldict/main.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp122
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp24
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp2
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp16
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp4
-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
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp54
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp32
20 files changed, 267 insertions, 267 deletions
diff --git a/kbabel/kbabeldict/dictchooser.cpp b/kbabel/kbabeldict/dictchooser.cpp
index bcd1fcbc..09227802 100644
--- a/kbabel/kbabeldict/dictchooser.cpp
+++ b/kbabel/kbabeldict/dictchooser.cpp
@@ -122,17 +122,17 @@ DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
}
- connect(selectedBox,TQT_SIGNAL(highlighted(int)), this
- , TQT_SLOT(selectedMarked(int)));
- connect(unselectedBox,TQT_SIGNAL(highlighted(int)), this
- , TQT_SLOT(unselectedMarked(int)));
-
- connect(selectBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(select()));
- connect(unselectBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(unselect()));
- connect(upBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(up()));
- connect(downBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(down()));
- connect(configureBtn,TQT_SIGNAL(clicked()), this
- , TQT_SLOT(configureSelected()));
+ connect(selectedBox,TQ_SIGNAL(highlighted(int)), this
+ , TQ_SLOT(selectedMarked(int)));
+ connect(unselectedBox,TQ_SIGNAL(highlighted(int)), this
+ , TQ_SLOT(unselectedMarked(int)));
+
+ connect(selectBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(select()));
+ connect(unselectBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(unselect()));
+ connect(upBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(up()));
+ connect(downBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(down()));
+ connect(configureBtn,TQ_SIGNAL(clicked()), this
+ , TQ_SLOT(configureSelected()));
selectedBox->installEventFilter(this);
diff --git a/kbabel/kbabeldict/dictionarymenu.cpp b/kbabel/kbabeldict/dictionarymenu.cpp
index 4b4f1002..ae414c91 100644
--- a/kbabel/kbabeldict/dictionarymenu.cpp
+++ b/kbabel/kbabeldict/dictionarymenu.cpp
@@ -50,12 +50,12 @@ DictionaryMenu::DictionaryMenu(TDEPopupMenu *popupMenu, TDEActionCollection *col
if(popup)
{
- connect(popup,TQT_SIGNAL(activated(int)),this,TQT_SLOT(activated(int)));
+ connect(popup,TQ_SIGNAL(activated(int)),this,TQ_SLOT(activated(int)));
}
dictionaryMapper = new TQSignalMapper( this );
- connect( dictionaryMapper, TQT_SIGNAL( mapped( int ) ),
- this, TQT_SLOT( activated( int ) ) );
+ connect( dictionaryMapper, TQ_SIGNAL( mapped( int ) ),
+ this, TQ_SLOT( activated( int ) ) );
}
@@ -81,15 +81,15 @@ void DictionaryMenu::clear()
// create new mapper
delete dictionaryMapper;
dictionaryMapper = new TQSignalMapper( this );
- connect( dictionaryMapper, TQT_SIGNAL( mapped( int ) ),
- this, TQT_SLOT( activated( int ) ) );
+ connect( dictionaryMapper, TQ_SIGNAL( mapped( int ) ),
+ this, TQ_SLOT( activated( int ) ) );
}
void DictionaryMenu::add(const TQString& name, const TQString& moduleId)
{
if(popup)
{
- TDEAction* dictionaryAction = new TDEAction( name, 0, dictionaryMapper, TQT_SLOT(map()), actionCollection, moduleId.utf8() );
+ TDEAction* dictionaryAction = new TDEAction( name, 0, dictionaryMapper, TQ_SLOT(map()), actionCollection, moduleId.utf8() );
uint id = maxId++;
dictionaryAction->plug(popup, id);
@@ -116,7 +116,7 @@ void DictionaryMenu::add(const TQString& n, const TQString& moduleId
}
TDEShortcut k(keyString);
- TDEAction* dictionaryAction = new TDEAction( name, k, dictionaryMapper, TQT_SLOT(map()), actionCollection, key.arg(moduleId).utf8() );
+ TDEAction* dictionaryAction = new TDEAction( name, k, dictionaryMapper, TQ_SLOT(map()), actionCollection, key.arg(moduleId).utf8() );
uint id = maxId++;
dictionaryAction->plug(popup,id);
diff --git a/kbabel/kbabeldict/kbabeldict.cpp b/kbabel/kbabeldict/kbabeldict.cpp
index 03d08e38..6d8a35ef 100644
--- a/kbabel/kbabeldict/kbabeldict.cpp
+++ b/kbabel/kbabeldict/kbabeldict.cpp
@@ -47,13 +47,13 @@ KBabelDict::KBabelDict()
, i18n("About"), i18n("About Module")
, i18n("Hide Sett&ings"))
{
- connect(this, TQT_SIGNAL(closeClicked()),this,TQT_SLOT(saveConfig()));
- connect(this, TQT_SIGNAL(closeClicked()),this,TQT_SLOT(quit()));
+ connect(this, TQ_SIGNAL(closeClicked()),this,TQ_SLOT(saveConfig()));
+ connect(this, TQ_SIGNAL(closeClicked()),this,TQ_SLOT(quit()));
view = new KBabelDictView(this);
- connect(this, TQT_SIGNAL(user1Clicked()), view, TQT_SLOT(about()));
- connect(this, TQT_SIGNAL(user2Clicked()), view, TQT_SLOT(aboutModule()));
- connect(this, TQT_SIGNAL(user3Clicked()), this, TQT_SLOT(togglePref()));
+ connect(this, TQ_SIGNAL(user1Clicked()), view, TQ_SLOT(about()));
+ connect(this, TQ_SIGNAL(user2Clicked()), view, TQ_SLOT(aboutModule()));
+ connect(this, TQ_SIGNAL(user3Clicked()), this, TQ_SLOT(togglePref()));
// HACK: hide default button, otherwise it would be Help button
showButtonOK(false);
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index a459332e..f9ea82e7 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -254,12 +254,12 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
listButton = new TQToolButton(TQt::UpArrow,this);
listButton->setFixedSize(20,15);
listButton->setAutoRepeat(false);
- connect(listButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(showListOnly()));
+ connect(listButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(showListOnly()));
hbox->addWidget(listButton);
detailButton = new TQToolButton(TQt::DownArrow,this);
detailButton->setFixedSize(20,15);
detailButton->setAutoRepeat(false);
- connect(detailButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(showDetailsOnly()));
+ connect(detailButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(showDetailsOnly()));
hbox->addWidget(detailButton);
mainLayout->addLayout(hbox);
@@ -291,14 +291,14 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
resultListView->installEventFilter(this);
connect(resultListView
- , TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint&,int))
- , this, TQT_SLOT(editFile()));
- connect(resultListView, TQT_SIGNAL(returnPressed(TQListViewItem *))
- , this, TQT_SLOT(editFile()));
+ , TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint&,int))
+ , this, TQ_SLOT(editFile()));
+ connect(resultListView, TQ_SIGNAL(returnPressed(TQListViewItem *))
+ , this, TQ_SLOT(editFile()));
connect(resultListView
- , TQT_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint&))
+ , TQ_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint&))
, this
- , TQT_SLOT(showContextMenu(TDEListView *,TQListViewItem *,const TQPoint&)));
+ , TQ_SLOT(showContextMenu(TDEListView *,TQListViewItem *,const TQPoint&)));
resultSplitter->setResizeMode(viewContainer,TQSplitter::KeepSize);
TQValueList<int> sizes;
@@ -464,9 +464,9 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
}
}
- connect(nextButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotNextResult()));
- connect(prevButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotPrevResult()));
- connect(moreButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(nextInfo()));
+ connect(nextButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotNextResult()));
+ connect(prevButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotPrevResult()));
+ connect(moreButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(nextInfo()));
origView->installEventFilter(this);
@@ -475,8 +475,8 @@ KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
resultListView->setSorting(0,false);
resultListView->setAllColumnsShowFocus(true);
- connect(resultListView,TQT_SIGNAL(selectionChanged(TQListViewItem*))
- , this, TQT_SLOT(showResult(TQListViewItem*)));
+ connect(resultListView,TQ_SIGNAL(selectionChanged(TQListViewItem*))
+ , this, TQ_SLOT(showResult(TQListViewItem*)));
}
/*
@@ -490,18 +490,18 @@ void KBabelDictBox::registerModule( SearchEngine* e )
{
active = 0;
moduleList.append(e);
- connect(e, TQT_SIGNAL(started()),this,TQT_SIGNAL(searchStarted()));
- connect(e, TQT_SIGNAL(finished()),this,TQT_SIGNAL(searchStopped()));
- connect(e, TQT_SIGNAL(finished()),this
- ,TQT_SLOT(clearModuleResults()));
- connect(e, TQT_SIGNAL(progress(int)),this,TQT_SIGNAL(progressed(int)));
- connect(e, TQT_SIGNAL(progressStarts(const TQString&)),this
- , TQT_SIGNAL(progressStarts(const TQString&)));
- connect(e, TQT_SIGNAL(progressEnds()),this,TQT_SIGNAL(progressEnds()));
- connect(e, TQT_SIGNAL(resultFound(const SearchResult*)), this
- , TQT_SLOT(addResult(const SearchResult*)));
- connect(e, TQT_SIGNAL(hasError(const TQString&)), this
- , TQT_SIGNAL(errorInModule(const TQString&)));
+ connect(e, TQ_SIGNAL(started()),this,TQ_SIGNAL(searchStarted()));
+ connect(e, TQ_SIGNAL(finished()),this,TQ_SIGNAL(searchStopped()));
+ connect(e, TQ_SIGNAL(finished()),this
+ ,TQ_SLOT(clearModuleResults()));
+ connect(e, TQ_SIGNAL(progress(int)),this,TQ_SIGNAL(progressed(int)));
+ connect(e, TQ_SIGNAL(progressStarts(const TQString&)),this
+ , TQ_SIGNAL(progressStarts(const TQString&)));
+ connect(e, TQ_SIGNAL(progressEnds()),this,TQ_SIGNAL(progressEnds()));
+ connect(e, TQ_SIGNAL(resultFound(const SearchResult*)), this
+ , TQ_SLOT(addResult(const SearchResult*)));
+ connect(e, TQ_SIGNAL(hasError(const TQString&)), this
+ , TQ_SIGNAL(errorInModule(const TQString&)));
}
void KBabelDictBox::saveSettings(TDEConfigBase *config)
@@ -661,8 +661,8 @@ void KBabelDictBox::startSearch(const TQString text)
if(engine->isSearching())
{
engine->stopSearch();
- connect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedSearch()));
+ connect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedSearch()));
searchText=text;
}
@@ -687,8 +687,8 @@ void KBabelDictBox::startTranslationSearch(const TQString text)
if(engine->isSearching())
{
engine->stopSearch();
- connect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedTranslationSearch()));
+ connect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedTranslationSearch()));
searchText=text;
}
@@ -713,13 +713,13 @@ void KBabelDictBox::startDelayedSearch(const TQString text)
{
engine->stopSearch();
- connect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedSearch()));
+ connect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedSearch()));
}
else
{
- TQTimer::singleShot(5,this,TQT_SLOT(startDelayedSearch()));
+ TQTimer::singleShot(5,this,TQ_SLOT(startDelayedSearch()));
}
}
}
@@ -741,13 +741,13 @@ void KBabelDictBox::startDelayedTranslationSearch(const TQString text)
{
engine->stopSearch();
- connect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedTranslationSearch()));
+ connect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedTranslationSearch()));
}
else
{
- TQTimer::singleShot(5,this,TQT_SLOT(startDelayedTranslationSearch()));
+ TQTimer::singleShot(5,this,TQ_SLOT(startDelayedTranslationSearch()));
}
}
}
@@ -824,8 +824,8 @@ void KBabelDictBox::startDelayedSearch()
}
else
{
- disconnect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedSearch()));
+ disconnect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedSearch()));
engine->startSearch(searchText);
@@ -844,8 +844,8 @@ void KBabelDictBox::startDelayedTranslationSearch()
}
else
{
- disconnect(this, TQT_SIGNAL(searchStopped()), this
- , TQT_SLOT(startDelayedTranslationSearch()));
+ disconnect(this, TQ_SIGNAL(searchStopped()), this
+ , TQ_SLOT(startDelayedTranslationSearch()));
engine->startSearchInTranslation(searchText);
@@ -1447,7 +1447,7 @@ void KBabelDictBox::setRMBMenu(TQPopupMenu *popup)
popup->insertSeparator();
editFileIndex = popup->insertItem(i18n("Edit File")
- , this, TQT_SLOT(editFile()));
+ , this, TQ_SLOT(editFile()));
popup->setItemEnabled(editFileIndex,false);
KContextMenuManager::insert(origView,popup);
@@ -1513,12 +1513,12 @@ void KBabelDictBox::configure(const TQString& id, bool modal)
PrefWidget *prefWidget = e->preferencesWidget(dialog);
dialog->setMainWidget(prefWidget);
- connect(dialog, TQT_SIGNAL(okClicked()),prefWidget,TQT_SLOT(apply()));
- connect(dialog, TQT_SIGNAL(applyClicked()),prefWidget,TQT_SLOT(apply()));
- connect(dialog, TQT_SIGNAL(defaultClicked()),prefWidget,TQT_SLOT(standard()));
- connect(dialog, TQT_SIGNAL(cancelClicked()),prefWidget,TQT_SLOT(cancel()));
+ connect(dialog, TQ_SIGNAL(okClicked()),prefWidget,TQ_SLOT(apply()));
+ connect(dialog, TQ_SIGNAL(applyClicked()),prefWidget,TQ_SLOT(apply()));
+ connect(dialog, TQ_SIGNAL(defaultClicked()),prefWidget,TQ_SLOT(standard()));
+ connect(dialog, TQ_SIGNAL(cancelClicked()),prefWidget,TQ_SLOT(cancel()));
- connect(dialog, TQT_SIGNAL(finished()),this,TQT_SLOT(destroyConfigDialog()));
+ connect(dialog, TQ_SIGNAL(finished()),this,TQ_SLOT(destroyConfigDialog()));
prefDialogs.insert(id,dialog);
diff --git a/kbabel/kbabeldict/kbabeldictview.cpp b/kbabel/kbabeldict/kbabeldictview.cpp
index 7964c65a..0579dee8 100644
--- a/kbabel/kbabeldict/kbabeldictview.cpp
+++ b/kbabel/kbabeldict/kbabeldictview.cpp
@@ -158,25 +158,25 @@ KBabelDictView::KBabelDictView( TQWidget* parent, const char* name, WFlags fl )
progressLabel = new TQLabel(h);
progressBar = new KProgress(h);
- connect(textEdit,TQT_SIGNAL(returnPressed()),startButton,TQT_SLOT(animateClick()));
- connect(startButton,TQT_SIGNAL(clicked()),this, TQT_SLOT(startSearch()));
- connect(stopButton, TQT_SIGNAL(clicked()), dictBox,TQT_SLOT(slotStopSearch()));
- connect(editButton, TQT_SIGNAL(clicked()), dictBox, TQT_SLOT(edit()));
- connect(dictBox, TQT_SIGNAL(searchStarted()), this, TQT_SLOT(searchStarted()));
- connect(dictBox, TQT_SIGNAL(searchStopped()), this, TQT_SLOT(searchStopped()));
- connect(dictBox, TQT_SIGNAL(progressed(int)), progressBar, TQT_SLOT(setProgress(int)));
- connect(dictBox, TQT_SIGNAL(activeModuleChanged(bool))
- , editButton, TQT_SLOT(setEnabled(bool)));
+ connect(textEdit,TQ_SIGNAL(returnPressed()),startButton,TQ_SLOT(animateClick()));
+ connect(startButton,TQ_SIGNAL(clicked()),this, TQ_SLOT(startSearch()));
+ connect(stopButton, TQ_SIGNAL(clicked()), dictBox,TQ_SLOT(slotStopSearch()));
+ connect(editButton, TQ_SIGNAL(clicked()), dictBox, TQ_SLOT(edit()));
+ connect(dictBox, TQ_SIGNAL(searchStarted()), this, TQ_SLOT(searchStarted()));
+ connect(dictBox, TQ_SIGNAL(searchStopped()), this, TQ_SLOT(searchStopped()));
+ connect(dictBox, TQ_SIGNAL(progressed(int)), progressBar, TQ_SLOT(setProgress(int)));
+ connect(dictBox, TQ_SIGNAL(activeModuleChanged(bool))
+ , editButton, TQ_SLOT(setEnabled(bool)));
- connect(dictBox, TQT_SIGNAL(progressStarts(const TQString&))
- , this, TQT_SLOT(progressStarted(const TQString&)));
- connect(dictBox, TQT_SIGNAL(progressEnds()), this, TQT_SLOT(progressStopped()));
+ connect(dictBox, TQ_SIGNAL(progressStarts(const TQString&))
+ , this, TQ_SLOT(progressStarted(const TQString&)));
+ connect(dictBox, TQ_SIGNAL(progressEnds()), this, TQ_SLOT(progressStopped()));
- connect(moduleCombo, TQT_SIGNAL(activated(int)),
- dictBox, TQT_SLOT(setActiveModule(int)));
- connect(dictBox, TQT_SIGNAL(activeModuleChanged(int))
- , this, TQT_SLOT(switchModule(int)));
- connect(clearButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClearSearch()));
+ connect(moduleCombo, TQ_SIGNAL(activated(int)),
+ dictBox, TQ_SLOT(setActiveModule(int)));
+ connect(dictBox, TQ_SIGNAL(activeModuleChanged(int))
+ , this, TQ_SLOT(switchModule(int)));
+ connect(clearButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClearSearch()));
}
/*
diff --git a/kbabel/kbabeldict/main.cpp b/kbabel/kbabeldict/main.cpp
index 98d00d05..77ad6e48 100644
--- a/kbabel/kbabeldict/main.cpp
+++ b/kbabel/kbabeldict/main.cpp
@@ -91,8 +91,8 @@ KBabelDictApplication::KBabelDictApplication()
TDEApplication::restoreOverrideCursor();
}
- TQObject::connect( topLevel, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( quit() ) );
+ TQObject::connect( topLevel, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( quit() ) );
}
KBabelDictApplication::~KBabelDictApplication()
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
index 5423bca9..7280bbbd 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
@@ -82,8 +82,8 @@ SearchEngine (parent, name)
dbOpened = false;
dbname = "";
lasterror = i18n ("No error");
- connect (this, TQT_SIGNAL (hasError (const TQString &)),
- TQT_SLOT (setLastError (const TQString &)));
+ connect (this, TQ_SIGNAL (hasError (const TQString &)),
+ TQ_SLOT (setLastError (const TQString &)));
IAmReady = true; // I don't know if it is a good idea, no DB loaded!!!
@@ -548,9 +548,9 @@ KDBSearchEngine::repeat ()
new TQProgressDialog (i18n ("Looking for repetitions"), i18n ("Stop"),
100);
- connect (this, TQT_SIGNAL (progress (int)), pd, TQT_SLOT (setProgress (int)));
- connect (this, TQT_SIGNAL (finished ()), pd, TQT_SLOT (close ()));
- connect (pd, TQT_SIGNAL (cancelled ()), this, TQT_SLOT (stopSearch ()));
+ connect (this, TQ_SIGNAL (progress (int)), pd, TQ_SLOT (setProgress (int)));
+ connect (this, TQ_SIGNAL (finished ()), pd, TQ_SLOT (close ()));
+ connect (pd, TQ_SIGNAL (cancelled ()), this, TQ_SLOT (stopSearch ()));
TQString txt = "// %1 repetitions, %2 translation(s)\ni18n(\"%3\");\n";
@@ -1208,15 +1208,15 @@ KDBSearchEngine::preferencesWidget (TQWidget * parent)
pw = new PreferencesWidget (parent);
setSettings ();
- connect (pw, TQT_SIGNAL (restoreNow ()), this, TQT_SLOT (setSettings ()));
- connect (pw, TQT_SIGNAL (applyNow ()), this, TQT_SLOT (updateSettings ()));
- connect (pw, TQT_SIGNAL (destroyed ()), this, TQT_SLOT (prefDestr ()));
- connect (pw->dbpw->scanPB_2, TQT_SIGNAL (clicked ()), this, TQT_SLOT (scan ()));
- connect (pw->dbpw->scanrecPB, TQT_SIGNAL (clicked ()), this,
- TQT_SLOT (scanRecur ()));
- connect (pw->dbpw->scanFilePB, TQT_SIGNAL (clicked ()), this,
- TQT_SLOT (scanFile ()));
- connect (pw->dbpw->repeatPB, TQT_SIGNAL (clicked ()), this, TQT_SLOT (repeat ()));
+ connect (pw, TQ_SIGNAL (restoreNow ()), this, TQ_SLOT (setSettings ()));
+ connect (pw, TQ_SIGNAL (applyNow ()), this, TQ_SLOT (updateSettings ()));
+ connect (pw, TQ_SIGNAL (destroyed ()), this, TQ_SLOT (prefDestr ()));
+ connect (pw->dbpw->scanPB_2, TQ_SIGNAL (clicked ()), this, TQ_SLOT (scan ()));
+ connect (pw->dbpw->scanrecPB, TQ_SIGNAL (clicked ()), this,
+ TQ_SLOT (scanRecur ()));
+ connect (pw->dbpw->scanFilePB, TQ_SIGNAL (clicked ()), this,
+ TQ_SLOT (scanFile ()));
+ connect (pw->dbpw->repeatPB, TQ_SIGNAL (clicked ()), this, TQ_SLOT (repeat ()));
return pw;
@@ -1246,32 +1246,32 @@ KDBSearchEngine::scanRecur ()
}
if (pw)
{
- connect (sca, TQT_SIGNAL (patternProgress (int)), pw->dbpw->totalPB,
- TQT_SLOT (setProgress (int)));
- connect (sca, TQT_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
- TQT_SLOT (setProgress (int)));
- connect (sca, TQT_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
- TQT_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (patternProgress (int)), pw->dbpw->totalPB,
+ TQ_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
+ TQ_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
+ TQ_SLOT (setProgress (int)));
}
- connect (sca, TQT_SIGNAL (patternProgress (int)), TQT_SIGNAL (progress (int))); //Kbabel progress bar
+ connect (sca, TQ_SIGNAL (patternProgress (int)), TQ_SIGNAL (progress (int))); //Kbabel progress bar
- connect (sca, TQT_SIGNAL (added (int)), pw, TQT_SLOT (setEntries (int)));
- connect (sca, TQT_SIGNAL (filename (TQString)), pw, TQT_SLOT (setName (TQString)));
+ connect (sca, TQ_SIGNAL (added (int)), pw, TQ_SLOT (setEntries (int)));
+ connect (sca, TQ_SIGNAL (filename (TQString)), pw, TQ_SLOT (setName (TQString)));
progressStarts (i18n ("Scanning folder %1").arg (cvsdir));
- connect (sca, TQT_SIGNAL (patternFinished ()), TQT_SIGNAL (progressEnds ()));
+ connect (sca, TQ_SIGNAL (patternFinished ()), TQ_SIGNAL (progressEnds ()));
sca->scanPattern (cvsdir, "*.po", true);
- disconnect (this, TQT_SIGNAL (progress (int)));
-//disconnect(TQT_SIGNAL(patternStarted()),this,TQT_SIGNAL(started()) );
- disconnect (this, TQT_SIGNAL (progressEnds ()));
+ disconnect (this, TQ_SIGNAL (progress (int)));
+//disconnect(TQ_SIGNAL(patternStarted()),this,TQ_SIGNAL(started()) );
+ disconnect (this, TQ_SIGNAL (progressEnds ()));
if (pw)
{
- disconnect (pw->dbpw->totalPB, TQT_SLOT (setProgress (int)));
- disconnect (pw->dbpw->loadingPB, TQT_SLOT (setProgress (int)));
- disconnect (pw->dbpw->processPB, TQT_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->totalPB, TQ_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->loadingPB, TQ_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->processPB, TQ_SLOT (setProgress (int)));
}
totalRecord = dm->count ();
@@ -1304,32 +1304,32 @@ KDBSearchEngine::scan ()
}
if (pw)
{
- connect (sca, TQT_SIGNAL (patternProgress (int)), pw->dbpw->totalPB,
- TQT_SLOT (setProgress (int)));
- connect (sca, TQT_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
- TQT_SLOT (setProgress (int)));
- connect (sca, TQT_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
- TQT_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (patternProgress (int)), pw->dbpw->totalPB,
+ TQ_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
+ TQ_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
+ TQ_SLOT (setProgress (int)));
}
- connect (sca, TQT_SIGNAL (patternProgress (int)), TQT_SIGNAL (progress (int)));
+ connect (sca, TQ_SIGNAL (patternProgress (int)), TQ_SIGNAL (progress (int)));
progressStarts (i18n ("Scanning folder %1").arg (cvsdir));
- connect (sca, TQT_SIGNAL (patternFinished ()), TQT_SIGNAL (progressEnds ()));
+ connect (sca, TQ_SIGNAL (patternFinished ()), TQ_SIGNAL (progressEnds ()));
- connect (sca, TQT_SIGNAL (added (int)), pw, TQT_SLOT (setEntries (int)));
- connect (sca, TQT_SIGNAL (filename (TQString)), pw, TQT_SLOT (setName (TQString)));
+ connect (sca, TQ_SIGNAL (added (int)), pw, TQ_SLOT (setEntries (int)));
+ connect (sca, TQ_SIGNAL (filename (TQString)), pw, TQ_SLOT (setName (TQString)));
sca->scanPattern (cvsdir, "*.po", false);
- disconnect (this, TQT_SIGNAL (progress (int)));
-//disconnect(TQT_SIGNAL(patternStarted()),this,TQT_SIGNAL(started()) );
- disconnect (this, TQT_SIGNAL (progressEnds ()));
+ disconnect (this, TQ_SIGNAL (progress (int)));
+//disconnect(TQ_SIGNAL(patternStarted()),this,TQ_SIGNAL(started()) );
+ disconnect (this, TQ_SIGNAL (progressEnds ()));
if (pw)
{
- disconnect (pw->dbpw->totalPB, TQT_SLOT (setProgress (int)));
- disconnect (pw->dbpw->loadingPB, TQT_SLOT (setProgress (int)));
- disconnect (pw->dbpw->processPB, TQT_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->totalPB, TQ_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->loadingPB, TQ_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->processPB, TQ_SLOT (setProgress (int)));
}
totalRecord = dm->count ();
@@ -1363,31 +1363,31 @@ KDBSearchEngine::scanFile ()
}
if (pw)
{
- connect (sca, TQT_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
- TQT_SLOT (setProgress (int)));
- connect (sca, TQT_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
- TQT_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileLoading (int)), pw->dbpw->loadingPB,
+ TQ_SLOT (setProgress (int)));
+ connect (sca, TQ_SIGNAL (fileProgress (int)), pw->dbpw->processPB,
+ TQ_SLOT (setProgress (int)));
}
- connect (sca, TQT_SIGNAL (fileProgress (int)), TQT_SIGNAL (progress (int)));
+ connect (sca, TQ_SIGNAL (fileProgress (int)), TQ_SIGNAL (progress (int)));
progressStarts (i18n ("Scanning file %1").arg (directory (cvsdir, 0)));
- connect (sca, TQT_SIGNAL (fileFinished ()), TQT_SIGNAL (progressEnds ()));
+ connect (sca, TQ_SIGNAL (fileFinished ()), TQ_SIGNAL (progressEnds ()));
- connect (sca, TQT_SIGNAL (added (int)), pw, TQT_SLOT (setEntries (int)));
- connect (sca, TQT_SIGNAL (filename (TQString)), pw, TQT_SLOT (setName (TQString)));
+ connect (sca, TQ_SIGNAL (added (int)), pw, TQ_SLOT (setEntries (int)));
+ connect (sca, TQ_SIGNAL (filename (TQString)), pw, TQ_SLOT (setName (TQString)));
sca->scanFile (cvsdir);
- sca->disconnect (TQT_SIGNAL (fileProgress (int)), this,
- TQT_SIGNAL (progress (int)));
-//disconnect(TQT_SIGNAL(patternStarted()),this,TQT_SIGNAL(started()) );
- sca->disconnect (TQT_SIGNAL (fileFinished ()), this,
- TQT_SIGNAL (progressEnds ()));
+ sca->disconnect (TQ_SIGNAL (fileProgress (int)), this,
+ TQ_SIGNAL (progress (int)));
+//disconnect(TQ_SIGNAL(patternStarted()),this,TQ_SIGNAL(started()) );
+ sca->disconnect (TQ_SIGNAL (fileFinished ()), this,
+ TQ_SIGNAL (progressEnds ()));
if (pw)
{
- disconnect (pw->dbpw->loadingPB, TQT_SLOT (setProgress (int)));
- disconnect (pw->dbpw->processPB, TQT_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->loadingPB, TQ_SLOT (setProgress (int)));
+ disconnect (pw->dbpw->processPB, TQ_SLOT (setProgress (int)));
}
totalRecord = dm->count ();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
index 183b1e4d..c8b46db4 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
@@ -121,7 +121,7 @@ Catalog * catalog=new Catalog(this,"ScanPoCatalog");
TQString location=fileName.right(fileName.length()-fileName.findRev("/")-1);
-connect(catalog,TQT_SIGNAL(signalProgress(int)),this,TQT_SIGNAL(fileLoading(int)));
+connect(catalog,TQ_SIGNAL(signalProgress(int)),this,TQ_SIGNAL(fileLoading(int)));
emit filename(location);
emit fileProgress(0);
emit fileLoading(0);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
index e87294e4..06f9939b 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
@@ -27,7 +27,7 @@ PreferencesWidget::PreferencesWidget(TQWidget *parent, const char* name)
layout->addWidget(dbpw);
resize(TQSize(200,200).expandedTo(minimumSizeHint()));
-// connect(dbpw->browseTB_3,TQT_SIGNAL(clicked()),TQT_SLOT(browse1()));
+// connect(dbpw->browseTB_3,TQ_SIGNAL(clicked()),TQ_SLOT(browse1()));
emit restoreNow(); //Fill with actual params.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
index 2d564267..25ef4819 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
@@ -55,7 +55,7 @@ KDBSearchEngine2::KDBSearchEngine2(TQObject *parent,const char*name)
di=0; //Database Interface is not yet initialized
- connect(this,TQT_SIGNAL(hasError(TQString)),TQT_SLOT(setLastError(TQString)));
+ connect(this,TQ_SIGNAL(hasError(TQString)),TQ_SLOT(setLastError(TQString)));
searching=false; // i'm not searching
iAmReady=true; //there are no reason to say I'm not ready.
@@ -134,8 +134,8 @@ bool KDBSearchEngine2::startSearch(TQString str)
strategy.addAlgorithm(&wbyw);
- connect(&strategy,TQT_SIGNAL(newResult(QueryResult)),this,TQT_SLOT(receiveResult(QueryResult)));
- strategy.exec(searchingString); disconnect(&strategy,TQT_SIGNAL(newResult(QueryResult)),this,TQT_SLOT(receiveResult(QueryResult)));
+ connect(&strategy,TQ_SIGNAL(newResult(QueryResult)),this,TQ_SLOT(receiveResult(QueryResult)));
+ strategy.exec(searchingString); disconnect(&strategy,TQ_SIGNAL(newResult(QueryResult)),this,TQ_SLOT(receiveResult(QueryResult)));
kdDebug(0) << "End of search for " << searchingString << endl;
@@ -230,7 +230,7 @@ bool KDBSearchEngine2::init()
else
{
di = new DataBaseInterface(dbDirectory,&settings);
- connect(di,TQT_SIGNAL(newResult(QueryResult)),this,TQT_SLOT(receiveResult(QueryResult)));
+ connect(di,TQ_SIGNAL(newResult(QueryResult)),this,TQ_SLOT(receiveResult(QueryResult)));
//FIXME: what wbout ready()
if(!di->mainOk()) return false; //check if the main DB is OK.
@@ -261,16 +261,16 @@ PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *parent)
pw = new KDB2PreferencesWidget(parent);
kdDebug(0) << "new KDB2 preferences widget" << endl;
setSettings();
- connect(pw,TQT_SIGNAL(restoreNow()),this,TQT_SLOT(setSettings()));
- connect(pw,TQT_SIGNAL(applyNow()),this,TQT_SLOT(updateSettings()));
- connect(pw,TQT_SIGNAL(destroyed()),this,TQT_SLOT(prefDestr()));
+ connect(pw,TQ_SIGNAL(restoreNow()),this,TQ_SLOT(setSettings()));
+ connect(pw,TQ_SIGNAL(applyNow()),this,TQ_SLOT(updateSettings()));
+ connect(pw,TQ_SIGNAL(destroyed()),this,TQ_SLOT(prefDestr()));
- connect(pw->dbpw->scanAll,TQT_SIGNAL(clicked()),this,TQT_SLOT(scanAllPressed()));
- connect(pw->dbpw->scanSource,TQT_SIGNAL(clicked()),this,TQT_SLOT(scanNowPressed()));
- connect(pw->dbpw->addSource,TQT_SIGNAL(clicked()),this,TQT_SLOT(addSource()));
- connect(pw->dbpw->editSource,TQT_SIGNAL(clicked()),this,TQT_SLOT(editSource()));
- connect(pw->dbpw->removeSource,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeSource()));
+ connect(pw->dbpw->scanAll,TQ_SIGNAL(clicked()),this,TQ_SLOT(scanAllPressed()));
+ connect(pw->dbpw->scanSource,TQ_SIGNAL(clicked()),this,TQ_SLOT(scanNowPressed()));
+ connect(pw->dbpw->addSource,TQ_SIGNAL(clicked()),this,TQ_SLOT(addSource()));
+ connect(pw->dbpw->editSource,TQ_SIGNAL(clicked()),this,TQ_SLOT(editSource()));
+ connect(pw->dbpw->removeSource,TQ_SIGNAL(clicked()),this,TQ_SLOT(removeSource()));
return pw;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
index 466b68e5..fc3fd048 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.cpp
@@ -42,12 +42,12 @@ DataBaseInterface::ResultList GenericSearchAlgorithm::exec(const TQString& query
uint countResults=0;
for(TQValueList<AbstractSearchAlgorithm *>::iterator algoit = algoChain.begin(); algoit!=algoChain.end() && countResults < maxResults; algoit++)
{
- connect(*algoit,TQT_SIGNAL(newResult(QueryResult)),this,TQT_SIGNAL(newResult(QueryResult)));
+ connect(*algoit,TQ_SIGNAL(newResult(QueryResult)),this,TQ_SIGNAL(newResult(QueryResult)));
kdDebug(0) << "Algo pointer" << (*algoit) << endl;
res+=(*algoit)->exec(query);
countResults=res.count();
kdDebug(0) << "Count = " << countResults << endl;
- disconnect(*algoit,TQT_SIGNAL(newResult(QueryResult)),this,TQT_SIGNAL(newResult(QueryResult)));
+ disconnect(*algoit,TQ_SIGNAL(newResult(QueryResult)),this,TQ_SIGNAL(newResult(QueryResult)));
}
return res;
}
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
index 2fe4ae98..db7ac4ee 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
@@ -205,7 +205,7 @@ Catalog * catalog=new Catalog(this,"ScanPoCatalog");
TQString pretty=u.prettyURL();
TQString location=pretty.right(pretty.length()-pretty.findRev("/")-1);
-connect(catalog,TQT_SIGNAL(signalProgress(int)),this,TQT_SIGNAL(fileLoading(int)));
+connect(catalog,TQ_SIGNAL(signalProgress(int)),this,TQ_SIGNAL(fileLoading(int)));
emit filename(location);
emit fileProgress(0);
emit fileLoading(0);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
index 0b332eef..b413c8b2 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
@@ -30,7 +30,7 @@ KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *parent, const char* name)
standard();
-// connect(dbpw->browseTB_3,TQT_SIGNAL(clicked()),TQT_SLOT(browse1()));
+// connect(dbpw->browseTB_3,TQ_SIGNAL(clicked()),TQ_SLOT(browse1()));
emit restoreNow(); //Fill with actual params.
diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
index 815e025f..aa85f267 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
@@ -64,7 +64,7 @@ PoAuxiliary::PoAuxiliary(TQObject *parent, const char *name)
ignoreFuzzy=true;
loadTimer = new TQTimer(this);
- connect(loadTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(loadAuxiliary()));
+ connect(loadTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(loadAuxiliary()));
msgidDict.setAutoDelete(true);
}
@@ -127,9 +127,9 @@ void PoAuxiliary::readSettings(TDEConfigBase *config)
PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *parent)
{
prefWidget = new AuxiliaryPreferencesWidget(parent,"pocompendium_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();
@@ -424,8 +424,8 @@ void PoAuxiliary::loadAuxiliary()
}
emit progressStarts(i18n("Loading PO auxiliary"));
- 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(u);
if( stat != OK && stat != RECOVERED_PARSE_ERROR)
@@ -476,8 +476,8 @@ void PoAuxiliary::loadAuxiliary()
auxTranslator = catalog->lastTranslator();
}
- disconnect(catalog, TQT_SIGNAL(signalProgress(int))
- , this, TQT_SIGNAL(progress(int)));
+ disconnect(catalog, TQ_SIGNAL(signalProgress(int))
+ , this, TQ_SIGNAL(progress(int)));
emit progressEnds();
diff --git a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
index 378b1830..ddf63616 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
@@ -53,8 +53,8 @@ AuxiliaryPreferencesWidget::AuxiliaryPreferencesWidget(TQWidget *parent, const c
layout->addWidget(prefWidget);
- connect(prefWidget->urlInput->lineEdit(),TQT_SIGNAL(textChanged(const TQString&))
- , this, TQT_SLOT(setChanged()));
+ connect(prefWidget->urlInput->lineEdit(),TQ_SIGNAL(textChanged(const TQString&))
+ , this, TQ_SLOT(setChanged()));
}
AuxiliaryPreferencesWidget::~AuxiliaryPreferencesWidget()
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>"
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()