summaryrefslogtreecommitdiffstats
path: root/tdeui/tdeaction.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-18 16:44:23 +0900
committerMichele Calgaro <[email protected]>2023-11-18 16:58:12 +0900
commit57e0ed66347db15cb1cd66488f095107e7772ad9 (patch)
treeaed23e1b51b285cf2ca9417fea697a7c2e52e700 /tdeui/tdeaction.cpp
parentc8ece3630d4d21acaf1749fc2cf660a0463070c3 (diff)
downloadtdelibs-57e0ed66347db15cb1cd66488f095107e7772ad9.tar.gz
tdelibs-57e0ed66347db15cb1cd66488f095107e7772ad9.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/tdeaction.cpp')
-rw-r--r--tdeui/tdeaction.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeui/tdeaction.cpp b/tdeui/tdeaction.cpp
index 9e9ec6a54..fe9b0644b 100644
--- a/tdeui/tdeaction.cpp
+++ b/tdeui/tdeaction.cpp
@@ -256,7 +256,7 @@ void TDEAction::initPrivate( const TQString& text, const TDEShortcut& cut,
{
d->m_cutDefault = cut;
- m_parentCollection = tqt_dynamic_cast<TDEActionCollection *>( parent() );
+ m_parentCollection = dynamic_cast<TDEActionCollection *>( parent() );
kdDebug(129) << "TDEAction::initPrivate(): this = " << this << " name = \"" << name() << "\" cut = " << cut.toStringInternal() << " m_parentCollection = " << m_parentCollection << endl;
if ( m_parentCollection )
m_parentCollection->insert( this );
@@ -822,7 +822,7 @@ void TDEAction::plugMainWindowAccel( TQWidget *w )
while ( !tl->isDialog() && ( n = tl->parentWidget() ) ) // lookup parent and store
tl = n;
- TDEMainWindow * mw = tqt_dynamic_cast<TDEMainWindow *>(tl); // try to see if it's a tdemainwindow
+ TDEMainWindow * mw = dynamic_cast<TDEMainWindow *>(tl); // try to see if it's a tdemainwindow
if (mw)
plugAccel( mw->accel() );
else
@@ -1057,12 +1057,12 @@ TQWidget* TDEAction::container( int index ) const
TDEToolBar* TDEAction::toolBar( int index ) const
{
- return tqt_dynamic_cast<TDEToolBar *>( d->m_containers[ index ].m_container );
+ return dynamic_cast<TDEToolBar *>( d->m_containers[ index ].m_container );
}
TQPopupMenu* TDEAction::popupMenu( int index ) const
{
- return tqt_dynamic_cast<TQPopupMenu *>( d->m_containers[ index ].m_container );
+ return dynamic_cast<TQPopupMenu *>( d->m_containers[ index ].m_container );
}
TQWidget* TDEAction::representative( int index ) const
@@ -1126,14 +1126,14 @@ void TDEAction::slotPopupActivated()
{
if( ::tqqt_cast<TQSignal *>(sender()))
{
- int id = tqt_dynamic_cast<const TQSignal *>(sender())->value().toInt();
+ int id = dynamic_cast<const TQSignal *>(sender())->value().toInt();
int pos = findContainer(id);
if(pos != -1)
{
- TQPopupMenu* qpm = tqt_dynamic_cast<TQPopupMenu *>( container(pos) );
+ TQPopupMenu* qpm = dynamic_cast<TQPopupMenu *>( container(pos) );
if(qpm)
{
- TDEPopupMenu* kpm = tqt_dynamic_cast<TDEPopupMenu *>( qpm );
+ TDEPopupMenu* kpm = dynamic_cast<TDEPopupMenu *>( qpm );
TQt::ButtonState state;
if ( kpm ) // TDEPopupMenu? Nice, it stores the state.
state = kpm->state();