From c4a6487c827add9382001ff1892b8fb3bfa94682 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 22 Dec 2023 18:45:07 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro --- tdm/kfrontend/kchooser.cpp | 2 +- tdm/kfrontend/kgapp.cpp | 2 +- tdm/kfrontend/krootimage.cpp | 4 ++-- tdm/kfrontend/themer/tdmthemer.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdm') diff --git a/tdm/kfrontend/kchooser.cpp b/tdm/kfrontend/kchooser.cpp index 9f0c714c0..3076d4a3c 100644 --- a/tdm/kfrontend/kchooser.cpp +++ b/tdm/kfrontend/kchooser.cpp @@ -106,7 +106,7 @@ ChooserDlg::ChooserDlg() vbox->addWidget( consoleView ); #endif - sn = new TQSocketNotifier( rfd, TQSocketNotifier::Read, TQT_TQOBJECT(this) ); + sn = new TQSocketNotifier( rfd, TQSocketNotifier::Read, this ); connect( sn, TQT_SIGNAL(activated( int )), TQT_SLOT(slotReadPipe()) ); connect( pingButton, TQT_SIGNAL(clicked()), TQT_SLOT(pingHosts()) ); diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp index 521c624f2..c7d694608 100644 --- a/tdm/kfrontend/kgapp.cpp +++ b/tdm/kfrontend/kgapp.cpp @@ -411,7 +411,7 @@ kg_main( const char *argv0 ) } if (cmd == G_ErrorGreet) { - if (KGVerify::handleFailVerify( TQT_TQWIDGET(tqApp->desktop()->screen( _greeterScreen )) )) + if (KGVerify::handleFailVerify( tqApp->desktop()->screen( _greeterScreen ) )) break; _autoLoginDelay = 0; cmd = G_Greet; diff --git a/tdm/kfrontend/krootimage.cpp b/tdm/kfrontend/krootimage.cpp index 7145eb18a..889f41e58 100644 --- a/tdm/kfrontend/krootimage.cpp +++ b/tdm/kfrontend/krootimage.cpp @@ -72,8 +72,8 @@ MyApplication::renderDone() TQPixmap pm = renderer.pixmap(); // ...set it to the desktop widget... - TQT_TQWIDGET(desktop())->setBackgroundPixmap( pm ); - TQT_TQWIDGET(desktop())->repaint( true ); + desktop()->setBackgroundPixmap( pm ); + desktop()->repaint( true ); // ...and export it via Esetroot-style so that composition managers can use it! Pixmap bgPm = pm.handle(); // fetch the actual X handle to it diff --git a/tdm/kfrontend/themer/tdmthemer.cpp b/tdm/kfrontend/themer/tdmthemer.cpp index 0a0e7fabb..16fdf7c89 100644 --- a/tdm/kfrontend/themer/tdmthemer.cpp +++ b/tdm/kfrontend/themer/tdmthemer.cpp @@ -432,8 +432,8 @@ KdmThemer::slotPaintRoot() } else return; - TQT_TQWIDGET(TQApplication::desktop()->screen())->setErasePixmap(pm); - TQT_TQWIDGET(TQApplication::desktop()->screen())->erase(); + TQApplication::desktop()->screen()->setErasePixmap(pm); + TQApplication::desktop()->screen()->erase(); } #include "tdmthemer.moc" -- cgit v1.2.1