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/CMakeLists.txt | 10 ++--- parts/classview/Makefile.am | 14 +++--- parts/classview/classtooldlg.cpp | 8 ++-- parts/classview/classtooldlg.h | 4 +- parts/classview/classtreebase.cpp | 26 +++++------ parts/classview/classviewpart.cpp | 30 ++++++------- parts/classview/classviewpart.h | 12 ++--- parts/classview/classviewwidget.cpp | 26 +++++------ parts/classview/classviewwidget.h | 4 +- parts/classview/hierarchydlg.cpp | 18 ++++---- parts/classview/hierarchydlg.h | 4 +- parts/classview/kdevclassview.desktop | 82 +++++++++++++++++++++++++++++++++++ parts/classview/kdevclassview.rc | 20 +++++++++ parts/classview/navigator.cpp | 6 +-- parts/classview/tdevclassview.desktop | 82 ----------------------------------- parts/classview/tdevclassview.rc | 20 --------- 16 files changed, 183 insertions(+), 183 deletions(-) create mode 100644 parts/classview/kdevclassview.desktop create mode 100644 parts/classview/kdevclassview.rc delete mode 100644 parts/classview/tdevclassview.desktop delete mode 100644 parts/classview/tdevclassview.rc (limited to 'parts/classview') diff --git a/parts/classview/CMakeLists.txt b/parts/classview/CMakeLists.txt index a5ec68dc..2d19388a 100644 --- a/parts/classview/CMakeLists.txt +++ b/parts/classview/CMakeLists.txt @@ -30,17 +30,17 @@ link_directories( ##### other data ################################ -install( FILES tdevclassview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES tdevclassview.rc DESTINATION ${DATA_INSTALL_DIR}/tdevclassview ) +install( FILES kdevclassview.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES kdevclassview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevclassview ) -##### libtdevclassview (module) ################# +##### libkdevclassview (module) ################# -tde_add_kpart( libtdevclassview AUTOMOC +tde_add_kpart( libkdevclassview AUTOMOC SOURCES classviewpart.cpp classviewwidget.cpp digraphview.cpp hierarchydlg.cpp navigator.cpp viewcombos.cpp LINK - tdevextensions-static tdevelop-shared tdevwidgets-shared + kdevextensions-static tdevelop-shared kdevwidgets-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/parts/classview/Makefile.am b/parts/classview/Makefile.am index ccc02078..3041259e 100644 --- a/parts/classview/Makefile.am +++ b/parts/classview/Makefile.am @@ -3,20 +3,20 @@ INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces -I$(top_srcdir)/lib/interfaces/extensions \ -I$(top_srcdir)/lib/interfaces/external -I$(top_srcdir)/lib/util -I$(top_srcdir)/lib/widgets $(all_includes) -kde_module_LTLIBRARIES = libtdevclassview.la -libtdevclassview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevclassview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libtdevwidgets.la $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libtdevextensions.la +kde_module_LTLIBRARIES = libkdevclassview.la +libkdevclassview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevclassview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la $(top_builddir)/lib/widgets/libkdevwidgets.la $(LIB_TDEHTML) $(top_builddir)/lib/interfaces/extensions/libkdevextensions.la -libtdevclassview_la_SOURCES = classviewpart.cpp classviewwidget.cpp \ +libkdevclassview_la_SOURCES = classviewpart.cpp classviewwidget.cpp \ digraphview.cpp hierarchydlg.cpp navigator.cpp viewcombos.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevclassview.desktop +service_DATA = kdevclassview.desktop -rcdir = $(kde_datadir)/tdevclassview -rc_DATA = tdevclassview.rc +rcdir = $(kde_datadir)/kdevclassview +rc_DATA = kdevclassview.rc QTDIR = /home/bernd/kdesrc/qt-copy diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp index f0c49d46..c0cc21a2 100644 --- a/parts/classview/classtooldlg.cpp +++ b/parts/classview/classtooldlg.cpp @@ -20,7 +20,7 @@ #include #include -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" #include "classstore.h" #include "parsedclass.h" #include "classviewpart.h" @@ -119,8 +119,8 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part ) connect( methods_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewMethods())); connect( attributes_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewAttributes())); - connect( part, TQT_SIGNAL(setLanguageSupport(TDevLanguageSupport*)), - this, TQT_SLOT(setLanguageSupport(TDevLanguageSupport*)) ); + connect( part, TQT_SIGNAL(setLanguageSupport(KDevLanguageSupport*)), + this, TQT_SLOT(setLanguageSupport(KDevLanguageSupport*)) ); m_part->registerClassToolDialog(this); } @@ -132,7 +132,7 @@ ClassToolDialog::~ClassToolDialog() } -void ClassToolDialog::setLanguageSupport(TDevLanguageSupport *ls) +void ClassToolDialog::setLanguageSupport(KDevLanguageSupport *ls) { if (ls) { disconnect(ls, 0, this, 0); diff --git a/parts/classview/classtooldlg.h b/parts/classview/classtooldlg.h index c4b2e79a..d143e66e 100644 --- a/parts/classview/classtooldlg.h +++ b/parts/classview/classtooldlg.h @@ -59,7 +59,7 @@ public slots: void viewAttributes(); private slots: - void setLanguageSupport(TDevLanguageSupport *ls); + void setLanguageSupport(KDevLanguageSupport *ls); void refresh(); void delayedClose(); @@ -85,7 +85,7 @@ private: /** Store that holds all classes in the system. */ ClassStore *m_store; - TDevLanguageSupport *m_ls; + KDevLanguageSupport *m_ls; ClassViewPart *m_part; /** The class we are currently viewing. */ diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp index 66e23173..9e052418 100644 --- a/parts/classview/classtreebase.cpp +++ b/parts/classview/classtreebase.cpp @@ -22,10 +22,10 @@ #include #include -#include "tdevcore.h" -#include "tdevlanguagesupport.h" -#include "tdevmainwindow.h" -#include "tdevpartcontroller.h" +#include "kdevcore.h" +#include "kdevlanguagesupport.h" +#include "kdevmainwindow.h" +#include "kdevpartcontroller.h" #include "classstore.h" #include "classviewpart.h" @@ -36,10 +36,10 @@ TDEPopupMenu *ClassTreeItem::createPopup() if (!m_item || m_item->itemType() == PIT_SCOPE) return 0; - TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); + KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); TDEPopupMenu *popup = new TDEPopupMenu(); - if (features & TDevLanguageSupport::Declarations) + if (features & KDevLanguageSupport::Declarations) popup->insertItem( i18n("Go to Declaration"), classTree(), TQT_SLOT(slotGotoDeclaration()) ); if (m_item->itemType() == PIT_METHOD) popup->insertItem( i18n("Go to Definition"), classTree(), TQT_SLOT(slotGotoImplementation()) ); @@ -49,8 +49,8 @@ TDEPopupMenu *ClassTreeItem::createPopup() case PIT_CLASS: { title = i18n("Class"); - bool hasAddMethod = features & TDevLanguageSupport::AddMethod; - bool hasAddAttribute = features & TDevLanguageSupport::AddAttribute; + bool hasAddMethod = features & KDevLanguageSupport::AddMethod; + bool hasAddAttribute = features & KDevLanguageSupport::AddAttribute; if (hasAddMethod) popup->insertItem( i18n("Add Method..."), classTree(), TQT_SLOT(slotAddMethod())); if (hasAddAttribute) @@ -168,7 +168,7 @@ void ClassTreeScopeItem::setOpen(bool o) ClassTreeItem *lastItem = 0; // Ok, this is a hack... - TDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); + KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features(); // Add namespaces TQValueList scopeList = pScope->getSortedScopeList(); @@ -176,7 +176,7 @@ void ClassTreeScopeItem::setOpen(bool o) for (it = scopeList.begin(); it != scopeList.end(); ++it) lastItem = new ClassTreeScopeItem(this, lastItem, *it); - if (features & TDevLanguageSupport::Classes) { + if (features & KDevLanguageSupport::Classes) { // Add classes TQValueList classList = pScope->getSortedClassList(); TQValueList::ConstIterator it; @@ -184,7 +184,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeClassItem(this, lastItem, *it); } - if (features & TDevLanguageSupport::Structs) { + if (features & KDevLanguageSupport::Structs) { // Add structs TQValueList structList = pScope->getSortedStructList(); TQValueList::ConstIterator it; @@ -192,7 +192,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeClassItem(this, lastItem, *it, true); } - if (features & TDevLanguageSupport::Functions) { + if (features & KDevLanguageSupport::Functions) { // Add functions TQValueList methodList = pScope->getSortedMethodList(); TQValueList::ConstIterator it; @@ -200,7 +200,7 @@ void ClassTreeScopeItem::setOpen(bool o) lastItem = new ClassTreeMethodItem(this, lastItem, *it); } - if (features & TDevLanguageSupport::Variables) { + if (features & KDevLanguageSupport::Variables) { // Add attributes TQValueList attrList = pScope->getSortedAttributeList(); TQValueList::ConstIterator it; diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp index 7cdf8cbd..92e26bd0 100644 --- a/parts/classview/classviewpart.cpp +++ b/parts/classview/classviewpart.cpp @@ -26,19 +26,19 @@ #include #include -#include +#include #include #include #include -#include -#include -#include +#include +#include +#include #include -#include -#include +#include +#include #include -#include +#include #include #include @@ -138,17 +138,17 @@ class FunctionCompletion : public CustomCompleter { }; -typedef TDevGenericFactory ClassViewFactory; -static const TDevPluginInfo data("tdevclassview"); -K_EXPORT_COMPONENT_FACTORY( libtdevclassview, ClassViewFactory( data ) ) +typedef KDevGenericFactory ClassViewFactory; +static const KDevPluginInfo data("kdevclassview"); +K_EXPORT_COMPONENT_FACTORY( libkdevclassview, ClassViewFactory( data ) ) ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringList& ) - :/// TDevPlugin( &data, parent, name ? name : "ClassViewPart" ), - TDevCodeBrowserFrontend( &data, parent, name ? name : "ClassViewPart" ), + :/// KDevPlugin( &data, parent, name ? name : "ClassViewPart" ), + KDevCodeBrowserFrontend( &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("tdevclassview.rc"); + setXMLFile("kdevclassview.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(TDevLanguageSupport::Classes)) + if (langHasFeature(KDevLanguageSupport::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(TDevLanguageSupport::Features feature) +bool ClassViewPart::langHasFeature(KDevLanguageSupport::Features feature) { bool result = false; if (languageSupport()) diff --git a/parts/classview/classviewpart.h b/parts/classview/classviewpart.h index 70d00cc9..16e18def 100644 --- a/parts/classview/classviewpart.h +++ b/parts/classview/classviewpart.h @@ -18,16 +18,16 @@ * */ -#ifndef __TDEVPART_CLASSVIEW_H__ -#define __TDEVPART_CLASSVIEW_H__ +#ifndef __KDEVPART_CLASSVIEW_H__ +#define __KDEVPART_CLASSVIEW_H__ -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" #include "viewcombos.h" #include #include -#include +#include #include #include @@ -52,7 +52,7 @@ class TDEToolBarPopupAction; class NamespaceItem; class Navigator; class HierarchyDialog; -class ClassViewPart : public Extensions::TDevCodeBrowserFrontend +class ClassViewPart : public Extensions::KDevCodeBrowserFrontend { Q_OBJECT @@ -60,7 +60,7 @@ public: ClassViewPart(TQObject *parent, const char *name, const TQStringList &); virtual ~ClassViewPart(); - bool langHasFeature(TDevLanguageSupport::Features feature); + bool langHasFeature(KDevLanguageSupport::Features feature); TDEListViewAction *m_functionsnav; Navigator *navigator; 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) diff --git a/parts/classview/classviewwidget.h b/parts/classview/classviewwidget.h index 1d17efec..d74448f5 100644 --- a/parts/classview/classviewwidget.h +++ b/parts/classview/classviewwidget.h @@ -31,7 +31,7 @@ #include #include -class TDevProject; +class KDevProject; class ClassViewPart; class ClassViewItem; class FolderBrowserItem; @@ -51,7 +51,7 @@ public: enum ViewMode { KDevelop3ViewMode = 0, - TDevelop2ViewMode, + KDevelop2ViewMode, JavaLikeViewMode }; diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp index 6901926b..c8761861 100644 --- a/parts/classview/hierarchydlg.cpp +++ b/parts/classview/hierarchydlg.cpp @@ -28,7 +28,7 @@ #include #include -#include "tdevlanguagesupport.h" +#include "kdevlanguagesupport.h" #include "kcomboview.h" #include "classviewpart.h" @@ -105,7 +105,7 @@ void HierarchyDialog::save() { TQFileInfo fi(dlg.selectedURL().pathOrURL()); TQApplication::setOverrideCursor( TQt::waitCursor ); - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); for (TQMap::const_iterator it = classes.begin(); it != classes.end(); ++it) { kdDebug(9003) << "Adding class to graph: " << it.key() << endl; @@ -134,7 +134,7 @@ void HierarchyDialog::refresh() ViewCombosOp::refreshNamespaces(m_part, namespace_combo); processNamespace("", m_part->codeModel()->globalNamespace()); - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); for (TQMap::const_iterator it = classes.begin(); it != classes.end(); ++it) { @@ -154,7 +154,7 @@ void HierarchyDialog::refresh() digraph->process(); } -void HierarchyDialog::setLanguageSupport(TDevLanguageSupport *ls) +void HierarchyDialog::setLanguageSupport(KDevLanguageSupport *ls) { if (ls) connect(ls, TQT_SIGNAL(updatedSourceInfo()), this, TQT_SLOT(refresh())); @@ -169,7 +169,7 @@ void HierarchyDialog::slotClassComboChoice(TQListViewItem * item) if (!ci) return; - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); TQString className = ls->formatClassName(uclasses[item->text(0)]); digraph->setSelected(className); @@ -188,7 +188,7 @@ void HierarchyDialog::slotClassComboChoice( const TQString& itemText ) if (!ci) return; - TDevLanguageSupport *ls = m_part->languageSupport(); + KDevLanguageSupport *ls = m_part->languageSupport(); TQString className = ls->formatClassName(uclasses[item->text(0)]); digraph->setSelected(className); @@ -205,10 +205,10 @@ void HierarchyDialog::classSelected(const TQString &/*className*/) /* ParsedClass *currentClass = m_part->classStore()->getClassByName(className); member_tree->clear(); if (currentClass) { - TDevLanguageSupport::Features features = m_part->languageSupport()->features(); - if (features & TDevLanguageSupport::Functions) + KDevLanguageSupport::Features features = m_part->languageSupport()->features(); + if (features & KDevLanguageSupport::Functions) member_tree->insertAllClassMethods(currentClass, (PIAccess)-1); - if (features & TDevLanguageSupport::Variables) + if (features & KDevLanguageSupport::Variables) member_tree->insertAllClassAttributes(currentClass, (PIAccess)-1); }*/ } diff --git a/parts/classview/hierarchydlg.h b/parts/classview/hierarchydlg.h index 9d26ebd0..1c41a8f0 100644 --- a/parts/classview/hierarchydlg.h +++ b/parts/classview/hierarchydlg.h @@ -17,7 +17,7 @@ #include "codemodel.h" class ClassViewPart; -class TDevLanguageSupport; +class KDevLanguageSupport; class DigraphView; class ClassToolWidget; class KComboView; @@ -35,7 +35,7 @@ public slots: void refresh(); private slots: - void setLanguageSupport(TDevLanguageSupport *ls); + void setLanguageSupport(KDevLanguageSupport *ls); void slotClassComboChoice(TQListViewItem *item); void slotNamespaceComboChoice(TQListViewItem *item); void slotClassComboChoice(const TQString&); diff --git a/parts/classview/kdevclassview.desktop b/parts/classview/kdevclassview.desktop new file mode 100644 index 00000000..49bfa43c --- /dev/null +++ b/parts/classview/kdevclassview.desktop @@ -0,0 +1,82 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=This plugin displays a graphical view of all the classes in the project, complete with methods and attributes, and provides a way of direct source navigation. +Comment[ca]=Aquest connector mostra una vista gràfica de totes les classes del projecte, completant-lo amb mètodes i atributs, i proporciona una forma de navegar directament a través del codi font. +Comment[da]=Dette plugin giver en grafisk visning af alle klasserne i projektet, fuldstændig med metoder og attributter og sørger for en måde at have direkte kildenavigation. +Comment[de]=Dieses Modul zeigt eine grafische Ansicht aller Klassen im Projekt, einschließlich der Methoden und Attribute und ermöglicht die Navigation in den betreffenden Quelltexten. +Comment[el]=Αυτό το πρόσθετο εμφανίζει μια γραφική προβολή όλων των κλάσεων του έργου, πλήρης με μεθόδους και χαρακτηριστικά, και προσφέρει μια μέθοδο απευθείας πλοήγησης στον κώδικα. +Comment[es]=Este complemento muestra una vista gráfica de todas las clases del proyecto, completándolo con métodos y atributos, y proporciona una forma de navegar directamente por el código fuente. +Comment[et]=See plugin näitab graafiliselt kõiki projekti klasse koos meetodite ja atribuutidega ning võimaldab nende vahel kiiresti liikuda. +Comment[eu]=Plugin honek proiektuak dituen klase guztien ikuspegi grafiko bat bistaratzen du, metodo eta atributuekin osatuta, eta iturburuen arteko nabigazio zuzena eskeintzen du. +Comment[fa]=این وصله یک نمای نگاره‌ای از همۀ رده‌ها در پروژه را نمایش می‌دهد، با روشها و ویژگیها کامل می‌کند و یک راه ناوش مستقیم منبع فراهم می‌کند. +Comment[fr]=Ce module externe affiche une vue graphique de toutes les classes dans le projet, la complète avec des méthodes et des attributs, et offre un moyen de naviguer directement dans le source. +Comment[gl]=Esta extensión mostra unha vista gráfica de tódalas clases do proxecto, cos métodos e os atributos, e proporciona unha maneira para navegar o código directamente. +Comment[hu]=Bővítőmodul egy projekt osztályainak áttekintéséhez, a tagfüggvényekkel és az attribútumokkal együtt, navigálási lehetőséggel +Comment[it]=Questo plugin offre una rappresentazione grafica di tutte le classi nel progetto, complete con metodi e attributi, e fornisce un modo per la navigazione diretta nei sorgenti. +Comment[ja]=このプラグインは、プロジェクトの中のすべてのクラスを視覚的に表示します。また、メソッドや属性を補完し、直接的なソース操作を提供します。 +Comment[ms]=Plugin ini memaparkan paparan bergrafik bagi semua kelas dalam projek, lengkap dengan kaedah dan ciri, dan menyediakan kaedah kemudian sumber secara terus. +Comment[nds]=Dit Moduul wiest en graafsch Ansicht vun all Klassen vun en Projekt, komplett mit Metoden un Attributen, un stellt dat Stüern binnen de Borntexten praat. +Comment[ne]=यो प्लगइनले विधि र विशेषतासँग परियोजनामा सबै कक्षको ग्राफिकल दृश्य प्रर्दशन गर्दछ र प्रत्यक्ष स्रोत नेभिगेसनको उपाय प्रदान गर्दछ । +Comment[nl]=Deze plugin toont een grafische weergave van alle klassen in een project, compleet met methoden en attributen, en biedt directe navigatie hiertussen. +Comment[pl]=Ta wtyczka pokazuje graficzny widok wszystkich klas w projekcie z metodami i atrybutami oraz umożliwia bezpośrednią nawigację w kodzie źródłowym.. +Comment[pt]=Este 'plugin' mostra uma vista gráfica de todas as classes no projecto, completas com os métodos e atributos, oferecendo uma forma de navegação directa sobre o código. +Comment[pt_BR]=Este plug-in exibe uma visão gráfica de todas as classes no projeto, juntamente com métodos e atributos, e fornece uma maneira de navegar diretamente no código. +Comment[ru]=Этот модуль показывает список классов в проекте, включая методы и атрибуты, а также предоставляет возможности навигации по коду. +Comment[sk]=Modul zobrazí grafický pohľad na triedy v projekte, spolu s metódami a atribútmi, a umožní priamy prístup k zdrojovému kódu. +Comment[sr]=Овај прикључак приказује графички изглед свих класа у пројекту, заједно са методама и атрибутима, и обезбеђује начин директне навигације кроз изворни кôд. +Comment[sr@Latn]=Ovaj priključak prikazuje grafički izgled svih klasa u projektu, zajedno sa metodama i atributima, i obezbeđuje način direktne navigacije kroz izvorni kôd. +Comment[sv]=Insticksprogrammet visar en grafisk bild av alla klasser i ett projekt, tillsammans med metoder och egenskaper, och ger möjlighet till direkt navigering i källkoden. +Comment[ta]=இந்த சொருகி திட்டப்பணியில் உள்ள வகுப்புகளின், முறைகள் மற்றும் பண்புகளை உங்களுக்கு வரைகலை பார்வையில் அளிக்கும்,மற்றும் மூலத்தை வழி செலுத்த இது நேர்வழி அளிக்கும். +Comment[tg]=Ин модул рӯйхати синфҳоро дар лоиҳа намоиш медиҳад, ва боз методҳо ва атрибутҳо ва боз ҳам имкони кодро роҳ медиҳад. +Comment[tr]=Bu eklenti projedeki sınıfların bütün yöntem ve öznitelikleri ile grafiksel bir görünümü gösterir ve doğrudan kaynak dolaşımını sağlar. +Comment[zh_CN]=这个插件以图形显示工程中所有的类,包括完整的方法和属性,并提供浏览源文件的方法。 +Comment[zh_TW]=這個外掛程式顯示專案中所有類別、完整方法與屬性的圖形檢視,並提供源碼導覽。 +Name=KDevClassView +Name[da]=TDevelop klassevisning +Name[de]=Klassenansicht (TDevelop) +Name[hi]=के-डेव-क्लॉस-व्यू +Name[nds]=KlassKieker (TDevelop) +Name[pl]=KDevWidokKlas +Name[sk]=KDev pohľad na triedy +Name[sv]=TDevelop klassvisning +Name[tg]=Намоиши снфи KDev +Name[zh_TW]=TDevelop 類別檢視 +GenericName=Class View +GenericName[ca]=Visor de classes +GenericName[da]=Klassevisning +GenericName[de]=Klassenansicht +GenericName[el]=Προβολή κλάσεων +GenericName[es]=Visor de clases +GenericName[et]=Klasside vaade +GenericName[eu]=Klase ikuspegia +GenericName[fa]=نمای رده +GenericName[fr]=Vue des classes +GenericName[gl]=Vista de clases +GenericName[hi]=क्लॉस व्यू +GenericName[hu]=Osztálynézegető +GenericName[it]=Visualizza classe +GenericName[ja]=クラスビュー +GenericName[ms]=Paparan Kelas +GenericName[nds]=Klasskieker +GenericName[ne]=कक्ष दृश्य +GenericName[nl]=Klassenweergave +GenericName[pl]=Widok klas +GenericName[pt]=Vista de Classe +GenericName[pt_BR]=Visualizador de Classe +GenericName[ru]=Просмотр классов +GenericName[sk]=Pohľad na triedy +GenericName[sl]=Prikaz razreda +GenericName[sr]=Преглед класа +GenericName[sr@Latn]=Pregled klasa +GenericName[sv]=Klassvisning +GenericName[ta]=வகுப்புக்காட்சி +GenericName[tg]=Намоиши синфҳо +GenericName[tr]=Sınıf Görünümü +GenericName[zh_CN]=类查看器 +GenericName[zh_TW]=類別檢視 +ServiceTypes=TDevelop/CodeBrowserFrontend +X-TDE-Library=libkdevclassview +X-TDevelop-Version=5 +X-TDevelop-Scope=Project +X-TDevelop-Properties=CodeNavigation diff --git a/parts/classview/kdevclassview.rc b/parts/classview/kdevclassview.rc new file mode 100644 index 00000000..b5f7a9fb --- /dev/null +++ b/parts/classview/kdevclassview.rc @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + Browser Toolbar + + + + + + diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp index a7e3ac85..694aa0d4 100644 --- a/parts/classview/navigator.cpp +++ b/parts/classview/navigator.cpp @@ -31,9 +31,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include "classviewpart.h" #include "classviewwidget.h" diff --git a/parts/classview/tdevclassview.desktop b/parts/classview/tdevclassview.desktop deleted file mode 100644 index 10200b50..00000000 --- a/parts/classview/tdevclassview.desktop +++ /dev/null @@ -1,82 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=This plugin displays a graphical view of all the classes in the project, complete with methods and attributes, and provides a way of direct source navigation. -Comment[ca]=Aquest connector mostra una vista gràfica de totes les classes del projecte, completant-lo amb mètodes i atributs, i proporciona una forma de navegar directament a través del codi font. -Comment[da]=Dette plugin giver en grafisk visning af alle klasserne i projektet, fuldstændig med metoder og attributter og sørger for en måde at have direkte kildenavigation. -Comment[de]=Dieses Modul zeigt eine grafische Ansicht aller Klassen im Projekt, einschließlich der Methoden und Attribute und ermöglicht die Navigation in den betreffenden Quelltexten. -Comment[el]=Αυτό το πρόσθετο εμφανίζει μια γραφική προβολή όλων των κλάσεων του έργου, πλήρης με μεθόδους και χαρακτηριστικά, και προσφέρει μια μέθοδο απευθείας πλοήγησης στον κώδικα. -Comment[es]=Este complemento muestra una vista gráfica de todas las clases del proyecto, completándolo con métodos y atributos, y proporciona una forma de navegar directamente por el código fuente. -Comment[et]=See plugin näitab graafiliselt kõiki projekti klasse koos meetodite ja atribuutidega ning võimaldab nende vahel kiiresti liikuda. -Comment[eu]=Plugin honek proiektuak dituen klase guztien ikuspegi grafiko bat bistaratzen du, metodo eta atributuekin osatuta, eta iturburuen arteko nabigazio zuzena eskeintzen du. -Comment[fa]=این وصله یک نمای نگاره‌ای از همۀ رده‌ها در پروژه را نمایش می‌دهد، با روشها و ویژگیها کامل می‌کند و یک راه ناوش مستقیم منبع فراهم می‌کند. -Comment[fr]=Ce module externe affiche une vue graphique de toutes les classes dans le projet, la complète avec des méthodes et des attributs, et offre un moyen de naviguer directement dans le source. -Comment[gl]=Esta extensión mostra unha vista gráfica de tódalas clases do proxecto, cos métodos e os atributos, e proporciona unha maneira para navegar o código directamente. -Comment[hu]=Bővítőmodul egy projekt osztályainak áttekintéséhez, a tagfüggvényekkel és az attribútumokkal együtt, navigálási lehetőséggel -Comment[it]=Questo plugin offre una rappresentazione grafica di tutte le classi nel progetto, complete con metodi e attributi, e fornisce un modo per la navigazione diretta nei sorgenti. -Comment[ja]=このプラグインは、プロジェクトの中のすべてのクラスを視覚的に表示します。また、メソッドや属性を補完し、直接的なソース操作を提供します。 -Comment[ms]=Plugin ini memaparkan paparan bergrafik bagi semua kelas dalam projek, lengkap dengan kaedah dan ciri, dan menyediakan kaedah kemudian sumber secara terus. -Comment[nds]=Dit Moduul wiest en graafsch Ansicht vun all Klassen vun en Projekt, komplett mit Metoden un Attributen, un stellt dat Stüern binnen de Borntexten praat. -Comment[ne]=यो प्लगइनले विधि र विशेषतासँग परियोजनामा सबै कक्षको ग्राफिकल दृश्य प्रर्दशन गर्दछ र प्रत्यक्ष स्रोत नेभिगेसनको उपाय प्रदान गर्दछ । -Comment[nl]=Deze plugin toont een grafische weergave van alle klassen in een project, compleet met methoden en attributen, en biedt directe navigatie hiertussen. -Comment[pl]=Ta wtyczka pokazuje graficzny widok wszystkich klas w projekcie z metodami i atrybutami oraz umożliwia bezpośrednią nawigację w kodzie źródłowym.. -Comment[pt]=Este 'plugin' mostra uma vista gráfica de todas as classes no projecto, completas com os métodos e atributos, oferecendo uma forma de navegação directa sobre o código. -Comment[pt_BR]=Este plug-in exibe uma visão gráfica de todas as classes no projeto, juntamente com métodos e atributos, e fornece uma maneira de navegar diretamente no código. -Comment[ru]=Этот модуль показывает список классов в проекте, включая методы и атрибуты, а также предоставляет возможности навигации по коду. -Comment[sk]=Modul zobrazí grafický pohľad na triedy v projekte, spolu s metódami a atribútmi, a umožní priamy prístup k zdrojovému kódu. -Comment[sr]=Овај прикључак приказује графички изглед свих класа у пројекту, заједно са методама и атрибутима, и обезбеђује начин директне навигације кроз изворни кôд. -Comment[sr@Latn]=Ovaj priključak prikazuje grafički izgled svih klasa u projektu, zajedno sa metodama i atributima, i obezbeđuje način direktne navigacije kroz izvorni kôd. -Comment[sv]=Insticksprogrammet visar en grafisk bild av alla klasser i ett projekt, tillsammans med metoder och egenskaper, och ger möjlighet till direkt navigering i källkoden. -Comment[ta]=இந்த சொருகி திட்டப்பணியில் உள்ள வகுப்புகளின், முறைகள் மற்றும் பண்புகளை உங்களுக்கு வரைகலை பார்வையில் அளிக்கும்,மற்றும் மூலத்தை வழி செலுத்த இது நேர்வழி அளிக்கும். -Comment[tg]=Ин модул рӯйхати синфҳоро дар лоиҳа намоиш медиҳад, ва боз методҳо ва атрибутҳо ва боз ҳам имкони кодро роҳ медиҳад. -Comment[tr]=Bu eklenti projedeki sınıfların bütün yöntem ve öznitelikleri ile grafiksel bir görünümü gösterir ve doğrudan kaynak dolaşımını sağlar. -Comment[zh_CN]=这个插件以图形显示工程中所有的类,包括完整的方法和属性,并提供浏览源文件的方法。 -Comment[zh_TW]=這個外掛程式顯示專案中所有類別、完整方法與屬性的圖形檢視,並提供源碼導覽。 -Name=KDevClassView -Name[da]=TDevelop klassevisning -Name[de]=Klassenansicht (TDevelop) -Name[hi]=के-डेव-क्लॉस-व्यू -Name[nds]=KlassKieker (TDevelop) -Name[pl]=KDevWidokKlas -Name[sk]=KDev pohľad na triedy -Name[sv]=TDevelop klassvisning -Name[tg]=Намоиши снфи KDev -Name[zh_TW]=TDevelop 類別檢視 -GenericName=Class View -GenericName[ca]=Visor de classes -GenericName[da]=Klassevisning -GenericName[de]=Klassenansicht -GenericName[el]=Προβολή κλάσεων -GenericName[es]=Visor de clases -GenericName[et]=Klasside vaade -GenericName[eu]=Klase ikuspegia -GenericName[fa]=نمای رده -GenericName[fr]=Vue des classes -GenericName[gl]=Vista de clases -GenericName[hi]=क्लॉस व्यू -GenericName[hu]=Osztálynézegető -GenericName[it]=Visualizza classe -GenericName[ja]=クラスビュー -GenericName[ms]=Paparan Kelas -GenericName[nds]=Klasskieker -GenericName[ne]=कक्ष दृश्य -GenericName[nl]=Klassenweergave -GenericName[pl]=Widok klas -GenericName[pt]=Vista de Classe -GenericName[pt_BR]=Visualizador de Classe -GenericName[ru]=Просмотр классов -GenericName[sk]=Pohľad na triedy -GenericName[sl]=Prikaz razreda -GenericName[sr]=Преглед класа -GenericName[sr@Latn]=Pregled klasa -GenericName[sv]=Klassvisning -GenericName[ta]=வகுப்புக்காட்சி -GenericName[tg]=Намоиши синфҳо -GenericName[tr]=Sınıf Görünümü -GenericName[zh_CN]=类查看器 -GenericName[zh_TW]=類別檢視 -ServiceTypes=TDevelop/CodeBrowserFrontend -X-TDE-Library=libtdevclassview -X-TDevelop-Version=5 -X-TDevelop-Scope=Project -X-TDevelop-Properties=CodeNavigation diff --git a/parts/classview/tdevclassview.rc b/parts/classview/tdevclassview.rc deleted file mode 100644 index b5f7a9fb..00000000 --- a/parts/classview/tdevclassview.rc +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - Browser Toolbar - - - - - - -- cgit v1.2.1