summaryrefslogtreecommitdiffstats
path: root/tdeui/qxembed.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:44:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:58:12 +0900
commit57e0ed66347db15cb1cd66488f095107e7772ad9 (patch)
treeaed23e1b51b285cf2ca9417fea697a7c2e52e700 /tdeui/qxembed.cpp
parentc8ece3630d4d21acaf1749fc2cf660a0463070c3 (diff)
downloadtdelibs-57e0ed66347db15cb1cd66488f095107e7772ad9.tar.gz
tdelibs-57e0ed66347db15cb1cd66488f095107e7772ad9.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() ) );