summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/kbabeldictbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/kbabeldictbox.cpp')
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp90
1 files changed, 45 insertions, 45 deletions
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);