diff options
Diffstat (limited to 'parts/classview/classviewpart.cpp')
-rw-r--r-- | parts/classview/classviewpart.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp index 92e26bd0..7cdf8cbd 100644 --- a/parts/classview/classviewpart.cpp +++ b/parts/classview/classviewpart.cpp @@ -26,19 +26,19 @@ #include <kiconloader.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <tdepopupmenu.h> #include <kdebug.h> #include <kmimetype.h> -#include <kdevcore.h> -#include <kdevmainwindow.h> -#include <kdevlanguagesupport.h> +#include <tdevcore.h> +#include <tdevmainwindow.h> +#include <tdevlanguagesupport.h> #include <kcomboview.h> -#include <kdevpartcontroller.h> -#include <kdevproject.h> +#include <tdevpartcontroller.h> +#include <tdevproject.h> #include <urlutil.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include <codemodel.h> #include <codemodel_utils.h> @@ -138,17 +138,17 @@ class FunctionCompletion : public CustomCompleter { }; -typedef KDevGenericFactory<ClassViewPart> ClassViewFactory; -static const KDevPluginInfo data("kdevclassview"); -K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) ) +typedef TDevGenericFactory<ClassViewPart> ClassViewFactory; +static const TDevPluginInfo data("tdevclassview"); +K_EXPORT_COMPONENT_FACTORY( libtdevclassview, ClassViewFactory( data ) ) ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& ) - :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ), - KDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ), + :/// TDevPlugin( &data, parent, name ? name : "ClassViewPart" ), + TDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ), m_activeDocument(0), m_activeView(0), m_activeSelection(0), m_activeEditor(0), m_activeViewCursor(0), m_hierarchyDlg(0) { setInstance(ClassViewFactory::instance()); - setXMLFile("kdevclassview.rc"); + setXMLFile("tdevclassview.rc"); navigator = new Navigator(this); @@ -207,7 +207,7 @@ void ClassViewPart::setupActions( ) new TDEAction( i18n("Focus Navigator"), 0, this, TQT_SLOT(slotFocusNavbar()), actionCollection(), "focus_navigator" ); - if (langHasFeature(KDevLanguageSupport::Classes)) + if (langHasFeature(TDevLanguageSupport::Classes)) { TDEAction *ac = new TDEAction(i18n("Class Inheritance Diagram"), "view_tree", 0, this, TQT_SLOT(graphicalClassView()), actionCollection(), "inheritance_dia"); ac->setToolTip(i18n("Class inheritance diagram")); @@ -216,7 +216,7 @@ void ClassViewPart::setupActions( ) } } -bool ClassViewPart::langHasFeature(KDevLanguageSupport::Features feature) +bool ClassViewPart::langHasFeature(TDevLanguageSupport::Features feature) { bool result = false; if (languageSupport()) |