summaryrefslogtreecommitdiffstats
path: root/tdespell2
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-26 18:42:01 +0900
commit2a3a62bb995b73481a8a64658266adf22e523f7b (patch)
tree17e63d11e590bd93137dee185ff1342873f4ddea /tdespell2
parentaf8caeadf368a17dabd9f53d4c661213c840eebd (diff)
downloadtdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz
tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
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() ) );