From 6392f5a9dfce2bf83617d49bb7f332181ec6004e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2014 15:37:31 +0900 Subject: Revert "Finish renaming tdevelop components" This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73. --- parts/classview/classviewwidget.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'parts/classview/classviewwidget.cpp') diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp index cede06f3..22b865ef 100644 --- a/parts/classview/classviewwidget.cpp +++ b/parts/classview/classviewwidget.cpp @@ -31,10 +31,10 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -252,7 +252,7 @@ void ClassViewWidget::insertFile( const TQString& fileName ) } break; - case TDevelop2ViewMode: + case KDevelop2ViewMode: { } break; @@ -293,7 +293,7 @@ void ClassViewWidget::removeFile( const TQString& fileName ) } break; - case TDevelop2ViewMode: + case KDevelop2ViewMode: { } break; @@ -332,19 +332,19 @@ void ClassViewWidget::contentsContextMenuEvent( TQContextMenuEvent * ev ) bool sep = false; if( item && item->isClass() ){ - if( m_part->langHasFeature(TDevLanguageSupport::AddMethod) ) { + if( m_part->langHasFeature(KDevLanguageSupport::AddMethod) ) { m_actionAddMethod->plug( &menu ); sep = true; } - if( m_part->langHasFeature(TDevLanguageSupport::AddAttribute) ) { + if( m_part->langHasFeature(KDevLanguageSupport::AddAttribute) ) { m_actionAddAttribute->plug( &menu ); sep = true; } } if (item && item->isVariable()){ - if( m_part->langHasFeature(TDevLanguageSupport::CreateAccessMethods) ) + if( m_part->langHasFeature(KDevLanguageSupport::CreateAccessMethods) ) m_actionCreateAccessMethods->plug( &menu ); } @@ -1108,7 +1108,7 @@ TQString VariableDomBrowserItem::key( int , bool ) const void ClassViewWidget::slotNewClass( ) { - if( m_part->languageSupport()->features() & TDevLanguageSupport::NewClass ) + if( m_part->languageSupport()->features() & KDevLanguageSupport::NewClass ) m_part->languageSupport()->addClass(); } @@ -1116,7 +1116,7 @@ void ClassViewWidget::slotAddMethod( ) { if ( !selectedItem() ) return; - if( m_part->languageSupport()->features() & TDevLanguageSupport::AddMethod ) + if( m_part->languageSupport()->features() & KDevLanguageSupport::AddMethod ) m_part->languageSupport()->addMethod( static_cast( selectedItem() )->dom() ); } @@ -1124,7 +1124,7 @@ void ClassViewWidget::slotAddAttribute( ) { if ( !selectedItem() ) return; - if( m_part->languageSupport()->features() & TDevLanguageSupport::AddAttribute ) + if( m_part->languageSupport()->features() & KDevLanguageSupport::AddAttribute ) m_part->languageSupport()->addAttribute( static_cast( selectedItem() )->dom() ); } @@ -1271,7 +1271,7 @@ void ClassViewWidget::slotCreateAccessMethods( ) { if ( !selectedItem() ) return; - if( m_part->languageSupport()->features() & TDevLanguageSupport::CreateAccessMethods ) + if( m_part->languageSupport()->features() & KDevLanguageSupport::CreateAccessMethods ) { VariableDomBrowserItem* item = dynamic_cast( selectedItem() ); if (item == 0) -- cgit v1.2.1