summaryrefslogtreecommitdiffstats
path: root/tdespell2
diff options
context:
space:
mode:
Diffstat (limited to 'tdespell2')
-rw-r--r--tdespell2/ui/dialog.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tdespell2/ui/dialog.cpp b/tdespell2/ui/dialog.cpp
index 0c45f3cd1..a47c7664b 100644
--- a/tdespell2/ui/dialog.cpp
+++ b/tdespell2/ui/dialog.cpp
@@ -69,7 +69,7 @@ Dialog::Dialog( BackgroundChecker *checker,
initGui();
initConnections();
- setMainWidget( TQT_TQWIDGET(d->ui) );
+ setMainWidget( static_cast<TQWidget*>(d->ui) );
}
Dialog::~Dialog()
@@ -79,27 +79,27 @@ Dialog::~Dialog()
void Dialog::initConnections()
{
- connect( TQT_TQOBJECT(d->ui->m_addBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_addBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotAddWord()) );
- connect( TQT_TQOBJECT(d->ui->m_replaceBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_replaceBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotReplaceWord()) );
- connect( TQT_TQOBJECT(d->ui->m_replaceAllBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_replaceAllBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotReplaceAll()) );
- connect( TQT_TQOBJECT(d->ui->m_skipBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_skipBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotSkip()) );
- connect( TQT_TQOBJECT(d->ui->m_skipAllBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_skipAllBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotSkipAll()) );
- connect( TQT_TQOBJECT(d->ui->m_suggestBtn), TQT_SIGNAL(clicked()),
+ connect( d->ui->m_suggestBtn, TQT_SIGNAL(clicked()),
TQT_SLOT(slotSuggest()) );
- connect( TQT_TQOBJECT(d->ui->m_language), TQT_SIGNAL(activated(const TQString&)),
+ connect( d->ui->m_language, TQT_SIGNAL(activated(const TQString&)),
TQT_SLOT(slotChangeLanguage(const TQString&)) );
- connect( TQT_TQOBJECT(d->ui->m_suggestions), TQT_SIGNAL(selectionChanged(TQListViewItem*)),
+ connect( d->ui->m_suggestions, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
TQT_SLOT(slotSelectionChanged(TQListViewItem*)) );
- connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(misspelling(const TQString&, int)),
+ connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)),
TQT_SIGNAL(misspelling(const TQString&, int)) );
- connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(misspelling(const TQString&, int)),
+ connect( d->checker, TQT_SIGNAL(misspelling(const TQString&, int)),
TQT_SLOT(slotMisspelling(const TQString&, int)) );
- connect( TQT_TQOBJECT(d->checker), TQT_SIGNAL(done()),
+ connect( d->checker, TQT_SIGNAL(done()),
TQT_SLOT(slotDone()) );
connect( d->ui->m_suggestions, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
TQT_SLOT( slotReplaceWord() ) );