summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-22 18:45:07 +0900
committerMichele Calgaro <[email protected]>2023-12-26 21:26:32 +0900
commitc4a6487c827add9382001ff1892b8fb3bfa94682 (patch)
treeec6c8a691a15099df946531b66355a76ca02b2db /tdm
parent7c724a49212a9ffdf42381d99648f15457867787 (diff)
downloadtdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.tar.gz
tdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdm')
-rw-r--r--tdm/kfrontend/kchooser.cpp2
-rw-r--r--tdm/kfrontend/kgapp.cpp2
-rw-r--r--tdm/kfrontend/krootimage.cpp4
-rw-r--r--tdm/kfrontend/themer/tdmthemer.cpp4
4 files changed, 6 insertions, 6 deletions
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"