summaryrefslogtreecommitdiffstats
path: root/kdeui/kactioncollection.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kactioncollection.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kactioncollection.cpp')
-rw-r--r--kdeui/kactioncollection.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kdeui/kactioncollection.cpp b/kdeui/kactioncollection.cpp
index e383809c6..b22f4fe13 100644
--- a/kdeui/kactioncollection.cpp
+++ b/kdeui/kactioncollection.cpp
@@ -426,7 +426,7 @@ TQStringList KActionCollection::groups() const
TQAsciiDictIterator<KAction> it( d->m_actionDict );
for( ; it.current(); ++it )
- if ( !it.current()->group().isEmpty() && !lst.contains( it.current()->group() ) )
+ if ( !it.current()->group().isEmpty() && !lst.tqcontains( it.current()->group() ) )
lst.append( it.current()->group() );
return lst;
@@ -549,12 +549,12 @@ void KActionCollection::slotMenuItemHighlighted( int id )
TQWidget *container = static_cast<TQWidget *>( const_cast<TQObject *>( sender() ) );
- d->m_currentHighlightAction = findAction( container, id );
+ d->m_currentHighlightAction = tqfindAction( container, id );
if ( !d->m_currentHighlightAction )
{
if ( !d->m_statusCleared )
- emit clearStatusText();
+ emit cleartqStatusText();
d->m_statusCleared = true;
return;
}
@@ -562,7 +562,7 @@ void KActionCollection::slotMenuItemHighlighted( int id )
d->m_statusCleared = false;
emit actionHighlighted( d->m_currentHighlightAction );
emit actionHighlighted( d->m_currentHighlightAction, true );
- emit actionStatusText( d->m_currentHighlightAction->toolTip() );
+ emit actiontqStatusText( d->m_currentHighlightAction->toolTip() );
}
void KActionCollection::slotMenuAboutToHide()
@@ -572,7 +572,7 @@ void KActionCollection::slotMenuAboutToHide()
d->m_currentHighlightAction = 0;
if ( !d->m_statusCleared )
- emit clearStatusText();
+ emit cleartqStatusText();
d->m_statusCleared = true;
}
@@ -583,13 +583,13 @@ void KActionCollection::slotToolBarButtonHighlighted( int id, bool highlight )
TQWidget *container = static_cast<TQWidget *>( const_cast<TQObject *>( sender() ) );
- KAction *action = findAction( container, id );
+ KAction *action = tqfindAction( container, id );
if ( !action )
{
d->m_currentHighlightAction = 0;
// use tooltip groups for toolbar status text stuff instead (Simon)
-// emit clearStatusText();
+// emit cleartqStatusText();
return;
}
@@ -600,7 +600,7 @@ void KActionCollection::slotToolBarButtonHighlighted( int id, bool highlight )
else
{
d->m_currentHighlightAction = 0;
-// emit clearStatusText();
+// emit cleartqStatusText();
}
}
@@ -609,7 +609,7 @@ void KActionCollection::slotDestroyed()
d->m_dctHighlightContainers.remove( reinterpret_cast<void *>( const_cast<TQObject *>(sender()) ) );
}
-KAction *KActionCollection::findAction( TQWidget *container, int id )
+KAction *KActionCollection::tqfindAction( TQWidget *container, int id )
{
TQPtrList<KAction> *actionList = d->m_dctHighlightContainers[ reinterpret_cast<void *>( container ) ];
@@ -713,8 +713,8 @@ bool KActionShortcutList::save() const
if( m_actions.xmlFile().isEmpty() )
return writeSettings();
- TQString attrShortcut = TQString::fromLatin1("shortcut");
- TQString attrAccel = TQString::fromLatin1("accel"); // Depricated attribute
+ TQString attrShortcut = TQString::tqfromLatin1("shortcut");
+ TQString attrAccel = TQString::tqfromLatin1("accel"); // Depricated attribute
// Read XML file
TQString sXml( KXMLGUIFactory::readConfigFile( xmlFile, false, instance() ) );
@@ -736,7 +736,7 @@ bool KActionShortcutList::save() const
// now see if this element already exists
// and create it if necessary (unless bSameAsDefault)
- TQDomElement act_elem = KXMLGUIFactory::findActionByName( elem, sName, !bSameAsDefault );
+ TQDomElement act_elem = KXMLGUIFactory::tqfindActionByName( elem, sName, !bSameAsDefault );
if ( act_elem.isNull() )
continue;