summaryrefslogtreecommitdiffstats
path: root/tdeui/qxembed.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 16:44:23 +0900
committerMichele Calgaro <[email protected]>2023-11-20 13:29:51 +0900
commit0e4a5c95a4675da94170d7c8997bf14f76451e31 (patch)
treed275a38208f309ad1270af8c6f782f0ad7fa5b7c /tdeui/qxembed.cpp
parent303b6445011a6ed10c48ac6e1eda415e5c371264 (diff)
downloadtdelibs-0e4a5c95a4675da94170d7c8997bf14f76451e31.tar.gz
tdelibs-0e4a5c95a4675da94170d7c8997bf14f76451e31.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 57e0ed66347db15cb1cd66488f095107e7772ad9)
Diffstat (limited to 'tdeui/qxembed.cpp')
-rw-r--r--tdeui/qxembed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/qxembed.cpp b/tdeui/qxembed.cpp
index 34543cf04..cb25ca3fe 100644
--- a/tdeui/qxembed.cpp
+++ b/tdeui/qxembed.cpp
@@ -479,7 +479,7 @@ static int qxembed_x11_event_filter( XEvent* e)
// L0683: Set focus on saved focus widget
if ( focusCurrent ) {
focusCurrent->setFocus();
- if( QXEmbed* emb = tqt_dynamic_cast< QXEmbed* >( focusCurrent ))
+ if( QXEmbed* emb = dynamic_cast< QXEmbed* >( focusCurrent ))
emb->updateEmbeddedFocus( true );
}
else if ( !w->topLevelWidget()->focusWidget() )
@@ -513,7 +513,7 @@ static int qxembed_x11_event_filter( XEvent* e)
// We first record what the focus widget was
// and clear the Qt focus.
if ( w->topLevelWidget()->focusWidget() ) {
- if( QXEmbed* emb = tqt_dynamic_cast< QXEmbed* >( w->topLevelWidget()->focusWidget()))
+ if( QXEmbed* emb = dynamic_cast< QXEmbed* >( w->topLevelWidget()->focusWidget()))
emb->updateEmbeddedFocus( false );
focusMap->insert( w->topLevelWidget(),
new TQGuardedPtr<TQWidget>(w->topLevelWidget()->focusWidget() ) );