summaryrefslogtreecommitdiffstats
path: root/languages/java/javasupportpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/javasupportpart.cpp')
-rw-r--r--languages/java/javasupportpart.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp
index 3c2090e8..63b174fc 100644
--- a/languages/java/javasupportpart.cpp
+++ b/languages/java/javasupportpart.cpp
@@ -17,10 +17,10 @@
#include "javasupport_events.h"
#include "problemreporter.h"
#include "backgroundparser.h"
-#include "TDevJavaSupportIface.h"
+#include "KDevJavaSupportIface.h"
#include "javasupportfactory.h"
#include "catalog.h"
-#include "tdevdriver.h"
+#include "kdevdriver.h"
#include "javasupport_utils.h"
#include "JavaStoreWalker.hpp"
@@ -63,12 +63,12 @@
#include <tdetexteditor/texthintinterface.h>
-#include <tdevcore.h>
-#include <tdevproject.h>
-#include <tdevmainwindow.h>
-#include <tdevpartcontroller.h>
-#include <tdevmakefrontend.h>
-#include <tdevcoderepository.h>
+#include <kdevcore.h>
+#include <kdevproject.h>
+#include <kdevmainwindow.h>
+#include <kdevpartcontroller.h>
+#include <kdevmakefrontend.h>
+#include <kdevcoderepository.h>
#include <domutil.h>
#include <urlutil.h>
@@ -77,11 +77,11 @@
enum { KDEV_DB_VERSION = 7 };
enum { KDEV_PCS_VERSION = 8 };
-class JavaDriver: public TDevDriver
+class JavaDriver: public KDevDriver
{
public:
JavaDriver( JavaSupportPart* javaSupport )
- : TDevDriver( javaSupport )
+ : KDevDriver( javaSupport )
{
}
@@ -119,7 +119,7 @@ public:
};
JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStringList &/*args*/)
- : TDevLanguageSupport(JavaSupportFactory::info(), parent, name ? name : "TDevJavaSupport"),
+ : KDevLanguageSupport(JavaSupportFactory::info(), parent, name ? name : "KDevJavaSupport"),
m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ),
m_activeViewCursor( 0 ), m_projectClosed( true ), m_valid( false )
{
@@ -127,7 +127,7 @@ JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStr
m_driver = new JavaDriver( this );
- setXMLFile( "tdevjavasupport.rc" );
+ setXMLFile( "kdevjavasupport.rc" );
m_catalogList.setAutoDelete( true );
setupCatalog();
@@ -167,7 +167,7 @@ JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStr
connect( core( ), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ), this,
TQT_SLOT( projectConfigWidget( KDialogBase* ) ) );
- new TDevJavaSupportIface( this );
+ new KDevJavaSupportIface( this );
//(void) dcopClient();
}
@@ -434,7 +434,7 @@ TQString JavaSupportPart::findSourceFile()
return m_activeFileName;
}
-TDevLanguageSupport::Features JavaSupportPart::features()
+KDevLanguageSupport::Features JavaSupportPart::features()
{
return Features( Classes | Functions | Variables );
}
@@ -830,7 +830,7 @@ TQString JavaSupportPart::formatModelItem( const CodeModelItem *item, bool short
return arg.stripWhiteSpace();
}
else
- return TDevLanguageSupport::formatModelItem( item, shortDescription );
+ return KDevLanguageSupport::formatModelItem( item, shortDescription );
}
void JavaSupportPart::addClass( )