summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/toolaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui/toolaction.cpp')
-rw-r--r--kbabel/commonui/toolaction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kbabel/commonui/toolaction.cpp b/kbabel/commonui/toolaction.cpp
index 9be27a69..37f9f671 100644
--- a/kbabel/commonui/toolaction.cpp
+++ b/kbabel/commonui/toolaction.cpp
@@ -34,8 +34,8 @@
#include <kdebug.h>
ToolAction::ToolAction( const TQString & text, const KShortcut& cut, const KDataToolInfo & info, const TQString & command,
- TQObject * tqparent, const char * name )
- : KAction( text, info.iconName() == "unknown" ? TQString() : info.iconName(), cut, tqparent, name ),
+ TQObject * parent, const char * name )
+ : KAction( text, info.iconName() == "unknown" ? TQString() : info.iconName(), cut, parent, name ),
m_command( command ),
m_info( info )
{
@@ -46,7 +46,7 @@ void ToolAction::slotActivated()
emit toolActivated( m_info, m_command );
}
-TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* tqparent, const TQString& namePrefix )
+TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* parent, const TQString& namePrefix )
{
TQPtrList<KAction> actionList;
if ( tools.isEmpty() )
@@ -74,7 +74,7 @@ TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolIn
TQString sc=*sit;
ToolAction * action = new ToolAction( *uit, (sc.isEmpty()?TQString():sc), *entry, *cit
- , tqparent
+ , parent
, TQString(namePrefix+(*entry).service()->library()+"_"+(*cit)).utf8() );
connect( action, TQT_SIGNAL( toolActivated( const KDataToolInfo &, const TQString & ) ),
receiver, slot );