summaryrefslogtreecommitdiffstats
path: root/tdespell2/ui
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2/ui')
-rw-r--r--tdespell2/ui/configwidget.cpp2
-rw-r--r--tdespell2/ui/dialog.cpp58
-rw-r--r--tdespell2/ui/highlighter.cpp2
3 files changed, 31 insertions, 31 deletions
diff --git a/tdespell2/ui/configwidget.cpp b/tdespell2/ui/configwidget.cpp
index 2317f7307..8efaddb04 100644
--- a/tdespell2/ui/configwidget.cpp
+++ b/tdespell2/ui/configwidget.cpp
@@ -71,7 +71,7 @@ void ConfigWidget::init( Broker *broker )
d->ui->m_ignoreListBox->insertStringList( ignoreList );
d->ui->m_bgSpellCB->setChecked( d->broker->settings()->backgroundCheckerEnabled() );
d->ui->m_bgSpellCB->hide();//hidden by default
- connect( d->ui->m_ignoreListBox, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()) );
+ connect( d->ui->m_ignoreListBox, TQ_SIGNAL(changed()), TQ_SLOT(slotChanged()) );
layout->addWidget( d->ui );
}
diff --git a/tdespell2/ui/dialog.cpp b/tdespell2/ui/dialog.cpp
index a47c7664b..9eb592a5c 100644
--- a/tdespell2/ui/dialog.cpp
+++ b/tdespell2/ui/dialog.cpp
@@ -79,35 +79,35 @@ Dialog::~Dialog()
void Dialog::initConnections()
{
- connect( d->ui->m_addBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotAddWord()) );
- connect( d->ui->m_replaceBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotReplaceWord()) );
- connect( d->ui->m_replaceAllBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotReplaceAll()) );
- connect( d->ui->m_skipBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotSkip()) );
- connect( d->ui->m_skipAllBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotSkipAll()) );
- connect( d->ui->m_suggestBtn, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotSuggest()) );
- connect( d->ui->m_language, TQT_SIGNAL(activated(const TQString&)),
- TQT_SLOT(slotChangeLanguage(const TQString&)) );
- connect( d->ui->m_suggestions, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- TQT_SLOT(slotSelectionChanged(TQListViewItem*)) );
- connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)),
- TQT_SIGNAL(misspelling(const TQString&, int)) );
- connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)),
- TQT_SLOT(slotMisspelling(const TQString&, int)) );
- connect( d->checker, TQT_SIGNAL(done()),
- TQT_SLOT(slotDone()) );
- connect( d->ui->m_suggestions, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
- TQT_SLOT( slotReplaceWord() ) );
- connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotFinished()) );
- connect( this, TQT_SIGNAL(cancelClicked()),this, TQT_SLOT(slotCancel()) );
- connect( d->ui->m_replacement, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotReplaceWord()) );
- connect( d->ui->m_autoCorrect, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotAutocorrect()) );
+ connect( d->ui->m_addBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotAddWord()) );
+ connect( d->ui->m_replaceBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotReplaceWord()) );
+ connect( d->ui->m_replaceAllBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotReplaceAll()) );
+ connect( d->ui->m_skipBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotSkip()) );
+ connect( d->ui->m_skipAllBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotSkipAll()) );
+ connect( d->ui->m_suggestBtn, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotSuggest()) );
+ connect( d->ui->m_language, TQ_SIGNAL(activated(const TQString&)),
+ TQ_SLOT(slotChangeLanguage(const TQString&)) );
+ connect( d->ui->m_suggestions, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ TQ_SLOT(slotSelectionChanged(TQListViewItem*)) );
+ connect( d->checker, TQ_SIGNAL(misspelling(const TQString&, int)),
+ TQ_SIGNAL(misspelling(const TQString&, int)) );
+ connect( d->checker, TQ_SIGNAL(misspelling(const TQString&, int)),
+ TQ_SLOT(slotMisspelling(const TQString&, int)) );
+ connect( d->checker, TQ_SIGNAL(done()),
+ TQ_SLOT(slotDone()) );
+ connect( d->ui->m_suggestions, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
+ TQ_SLOT( slotReplaceWord() ) );
+ connect( this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(slotFinished()) );
+ connect( this, TQ_SIGNAL(cancelClicked()),this, TQ_SLOT(slotCancel()) );
+ connect( d->ui->m_replacement, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(slotReplaceWord()) );
+ connect( d->ui->m_autoCorrect, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotAutocorrect()) );
// button use by kword/kpresenter
// hide by default
d->ui->m_autoCorrect->hide();
diff --git a/tdespell2/ui/highlighter.cpp b/tdespell2/ui/highlighter.cpp
index 9af6a6725..080737dae 100644
--- a/tdespell2/ui/highlighter.cpp
+++ b/tdespell2/ui/highlighter.cpp
@@ -87,7 +87,7 @@ int Highlighter::highlightParagraph( const TQString& text,
w = d->filter->nextWord();
}
}
- //TQTimer::singleShot( 0, this, TQT_SLOT(checkWords()) );
+ //TQTimer::singleShot( 0, this, TQ_SLOT(checkWords()) );
return 0;
}