summaryrefslogtreecommitdiffstats
path: root/parts/classview/classviewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/classviewwidget.cpp')
-rw-r--r--parts/classview/classviewwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index 22b865ef..cede06f3 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -31,10 +31,10 @@
#include <tdeconfig.h>
#include <urlutil.h>
-#include <kdevcore.h>
-#include <kdevlanguagesupport.h>
-#include <kdevproject.h>
-#include <kdevpartcontroller.h>
+#include <tdevcore.h>
+#include <tdevlanguagesupport.h>
+#include <tdevproject.h>
+#include <tdevpartcontroller.h>
#include <codemodel.h>
#include <codemodel_utils.h>
@@ -252,7 +252,7 @@ void ClassViewWidget::insertFile( const TQString& fileName )
}
break;
- case KDevelop2ViewMode:
+ case TDevelop2ViewMode:
{
}
break;
@@ -293,7 +293,7 @@ void ClassViewWidget::removeFile( const TQString& fileName )
}
break;
- case KDevelop2ViewMode:
+ case TDevelop2ViewMode:
{
}
break;
@@ -332,19 +332,19 @@ void ClassViewWidget::contentsContextMenuEvent( TQContextMenuEvent * ev )
bool sep = false;
if( item && item->isClass() ){
- if( m_part->langHasFeature(KDevLanguageSupport::AddMethod) ) {
+ if( m_part->langHasFeature(TDevLanguageSupport::AddMethod) ) {
m_actionAddMethod->plug( &menu );
sep = true;
}
- if( m_part->langHasFeature(KDevLanguageSupport::AddAttribute) ) {
+ if( m_part->langHasFeature(TDevLanguageSupport::AddAttribute) ) {
m_actionAddAttribute->plug( &menu );
sep = true;
}
}
if (item && item->isVariable()){
- if( m_part->langHasFeature(KDevLanguageSupport::CreateAccessMethods) )
+ if( m_part->langHasFeature(TDevLanguageSupport::CreateAccessMethods) )
m_actionCreateAccessMethods->plug( &menu );
}
@@ -1108,7 +1108,7 @@ TQString VariableDomBrowserItem::key( int , bool ) const
void ClassViewWidget::slotNewClass( )
{
- if( m_part->languageSupport()->features() & KDevLanguageSupport::NewClass )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::NewClass )
m_part->languageSupport()->addClass();
}
@@ -1116,7 +1116,7 @@ void ClassViewWidget::slotAddMethod( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::AddMethod )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::AddMethod )
m_part->languageSupport()->addMethod( static_cast<ClassDomBrowserItem*>( selectedItem() )->dom() );
}
@@ -1124,7 +1124,7 @@ void ClassViewWidget::slotAddAttribute( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::AddAttribute )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::AddAttribute )
m_part->languageSupport()->addAttribute( static_cast<ClassDomBrowserItem*>( selectedItem() )->dom() );
}
@@ -1271,7 +1271,7 @@ void ClassViewWidget::slotCreateAccessMethods( )
{
if ( !selectedItem() ) return;
- if( m_part->languageSupport()->features() & KDevLanguageSupport::CreateAccessMethods )
+ if( m_part->languageSupport()->features() & TDevLanguageSupport::CreateAccessMethods )
{
VariableDomBrowserItem* item = dynamic_cast<VariableDomBrowserItem*>( selectedItem() );
if (item == 0)