diff options
Diffstat (limited to 'languages/cpp/cppsupportpart.cpp')
-rw-r--r-- | languages/cpp/cppsupportpart.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 75d6b918..ca2f082e 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -251,7 +251,7 @@ CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStri connect( core(), TQT_SIGNAL( configWidget( KDialogBase* ) ), this, TQT_SLOT( configWidget( KDialogBase* ) ) ); - m_switchHeaderSourceAction = new KAction( i18n( "Switch Header/Implementation" ), SHIFT + Key_F12, + m_switchHeaderSourceAction = new TDEAction( i18n( "Switch Header/Implementation" ), SHIFT + Key_F12, this, TQT_SLOT( slotSwitchHeader() ), actionCollection(), "edit_switchheader" ); m_switchHeaderSourceAction->setToolTip( i18n( "Switch between header and implementation files" ) ); @@ -262,9 +262,9 @@ CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStri "this brings you to the corresponding header file." ) ); m_switchHeaderSourceAction->setEnabled( false ); - KAction *action; + TDEAction *action; - action = new KAction( i18n( "Complete Text" ), CTRL + Key_Space, + action = new TDEAction( i18n( "Complete Text" ), CTRL + Key_Space, this, TQT_SLOT( slotCompleteText() ), actionCollection(), "edit_complete_text" ); action->setToolTip( i18n( "Complete current expression" ) ); @@ -273,11 +273,11 @@ CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStri "for external libraries." ) ); action->setEnabled( false ); - m_createGetterSetterAction = new KAction( i18n( "Create Accessor Methods" ), 0, + m_createGetterSetterAction = new TDEAction( i18n( "Create Accessor Methods" ), 0, this, TQT_SLOT( slotCreateAccessMethods() ), actionCollection(), "edit_create_getter_setter" ); - action = new KAction( i18n( "Make Member" ), 0, Key_F2, + action = new TDEAction( i18n( "Make Member" ), 0, Key_F2, this, TQT_SLOT( slotMakeMember() ), actionCollection(), "edit_make_member" ); action->setToolTip( i18n( "Make member" ) ); @@ -285,7 +285,7 @@ CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStri "based on the member declaration at the current line." ) ); action->plug( &m_DummyActionWidget ); - action = new KAction( i18n( "Navigation Menu" ), 0, CTRL + ALT + Key_Space, + action = new TDEAction( i18n( "Navigation Menu" ), 0, CTRL + ALT + Key_Space, this, TQT_SLOT( slotNavigate() ), actionCollection(), "edit_navigate" ); action->setToolTip( i18n( "Show the navigation-menu" ) ); @@ -293,7 +293,7 @@ CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStri action->plug( &m_DummyActionWidget ); - action = new KAction( i18n( "New Class..." ), "classnew", 0, + action = new TDEAction( i18n( "New Class..." ), "classnew", 0, this, TQT_SLOT( slotNewClass() ), actionCollection(), "project_newclass" ); action->setToolTip( i18n( "Generate a new class" ) ); @@ -641,9 +641,9 @@ void CppSupportPart::slotNavigate() { unsigned int curLine = 0, curCol = 0; m_activeViewCursor->cursorPositionReal( &curLine, &curCol ); - if( m_navigationMenu ) delete (KPopupMenu*)m_navigationMenu; + if( m_navigationMenu ) delete (TDEPopupMenu*)m_navigationMenu; - m_navigationMenu = new KPopupMenu( m_activeView ); + m_navigationMenu = new TDEPopupMenu( m_activeView ); codeCompletion()->contextEvaluationMenus( m_navigationMenu, 0, curLine, curCol ); |