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/fileview/CMakeLists.txt | 10 ++-- parts/fileview/Makefile.am | 20 +++---- parts/fileview/filegroupsconfigwidget.cpp | 4 +- parts/fileview/filegroupspart.cpp | 18 +++---- parts/fileview/filegroupspart.h | 4 +- parts/fileview/filegroupswidget.cpp | 18 +++---- parts/fileview/filegroupswidget.h | 2 +- parts/fileview/filetreeviewwidgetimpl.cpp | 6 +-- parts/fileview/filetreewidget.cpp | 18 +++---- parts/fileview/filetreewidget.h | 14 ++--- parts/fileview/fileviewpart.cpp | 26 +++++----- parts/fileview/fileviewpart.h | 8 +-- parts/fileview/kdevfilegroups.desktop | 86 +++++++++++++++++++++++++++++++ parts/fileview/kdevfileview.desktop | 85 ++++++++++++++++++++++++++++++ parts/fileview/partwidget.cpp | 10 ++-- parts/fileview/tdevfilegroups.desktop | 86 ------------------------------- parts/fileview/tdevfileview.desktop | 85 ------------------------------ parts/fileview/vcsfiletreewidgetimpl.cpp | 16 +++--- parts/fileview/vcsfiletreewidgetimpl.h | 8 +-- 19 files changed, 262 insertions(+), 262 deletions(-) create mode 100644 parts/fileview/kdevfilegroups.desktop create mode 100644 parts/fileview/kdevfileview.desktop delete mode 100644 parts/fileview/tdevfilegroups.desktop delete mode 100644 parts/fileview/tdevfileview.desktop (limited to 'parts/fileview') diff --git a/parts/fileview/CMakeLists.txt b/parts/fileview/CMakeLists.txt index 49539df2..4f5f87dc 100644 --- a/parts/fileview/CMakeLists.txt +++ b/parts/fileview/CMakeLists.txt @@ -28,13 +28,13 @@ link_directories( ##### other data ################################ install( FILES - tdevfileview.desktop tdevfilegroups.desktop + kdevfileview.desktop kdevfilegroups.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -##### libtdevfileview (module) ################## +##### libkdevfileview (module) ################## -tde_add_kpart( libtdevfileview AUTOMOC +tde_add_kpart( libkdevfileview AUTOMOC SOURCES fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp @@ -45,9 +45,9 @@ tde_add_kpart( libtdevfileview AUTOMOC ) -##### libtdevfilegroups (module) ################ +##### libkdevfilegroups (module) ################ -tde_add_kpart( libtdevfilegroups AUTOMOC +tde_add_kpart( libkdevfilegroups AUTOMOC SOURCES filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui diff --git a/parts/fileview/Makefile.am b/parts/fileview/Makefile.am index 76f1460b..3211d736 100644 --- a/parts/fileview/Makefile.am +++ b/parts/fileview/Makefile.am @@ -3,24 +3,24 @@ INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libtdevfileview.la libtdevfilegroups.la +kde_module_LTLIBRARIES = libkdevfileview.la libkdevfilegroups.la -libtdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +libkdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libtdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +libkdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libkdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libtdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp +libkdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp -libtdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp +libkdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = tdevfileview.desktop tdevfilegroups.desktop +service_DATA = kdevfileview.desktop kdevfilegroups.desktop # not used currently -#rcdir = $(kde_datadir)/tdevfileview -#rc_DATA = tdevfileview.rc +#rcdir = $(kde_datadir)/kdevfileview +#rc_DATA = kdevfileview.rc noinst_HEADERS = vcscolorsconfigwidget.h stdfiletreewidgetimpl.h filetreeviewwidgetimpl.h vcsfiletreewidgetimpl.h fileitemfactory.h diff --git a/parts/fileview/filegroupsconfigwidget.cpp b/parts/fileview/filegroupsconfigwidget.cpp index bf8d39a6..4f8fe422 100644 --- a/parts/fileview/filegroupsconfigwidget.cpp +++ b/parts/fileview/filegroupsconfigwidget.cpp @@ -39,7 +39,7 @@ FileGroupsConfigWidget::~FileGroupsConfigWidget() void FileGroupsConfigWidget::readConfig() { TQDomDocument &dom = *m_part->projectDom(); - DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/tdevfileview/groups", + DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/kdevfileview/groups", "group", "name", "pattern"); TQListViewItem *lastItem = 0; @@ -64,7 +64,7 @@ void FileGroupsConfigWidget::storeConfig() item = item->nextSibling(); } - DomUtil::writePairListEntry(*m_part->projectDom(), "/tdevfileview/groups", + DomUtil::writePairListEntry(*m_part->projectDom(), "/kdevfileview/groups", "group", "name", "pattern", list); } diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp index 7b83b8ef..77fc9646 100644 --- a/parts/fileview/filegroupspart.cpp +++ b/parts/fileview/filegroupspart.cpp @@ -19,25 +19,25 @@ #include #include #include -#include +#include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" -#include "tdevplugininfo.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" +#include "kdevplugininfo.h" #include "filegroupswidget.h" #include "filegroupsconfigwidget.h" #define FILEGROUPS_OPTIONS 1 -typedef TDevGenericFactory FileGroupsFactory; -static const TDevPluginInfo data("tdevfilegroups"); -K_EXPORT_COMPONENT_FACTORY( libtdevfilegroups, FileGroupsFactory( data ) ) +typedef KDevGenericFactory FileGroupsFactory; +static const KDevPluginInfo data("kdevfilegroups"); +K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) ) FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &) - : TDevPlugin(&data, parent, name ? name : "FileGroupsPart") + : KDevPlugin(&data, parent, name ? name : "FileGroupsPart") { deleteRequested = false; setInstance(FileGroupsFactory::instance()); diff --git a/parts/fileview/filegroupspart.h b/parts/fileview/filegroupspart.h index 88bed704..314f1663 100644 --- a/parts/fileview/filegroupspart.h +++ b/parts/fileview/filegroupspart.h @@ -15,12 +15,12 @@ #include //#include #include -#include "tdevplugin.h" +#include "kdevplugin.h" class FileGroupsWidget; class KDialogBase; -class FileGroupsPart : public TDevPlugin +class FileGroupsPart : public KDevPlugin { Q_OBJECT diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp index 3c1c348f..8a3e19b4 100644 --- a/parts/fileview/filegroupswidget.cpp +++ b/parts/fileview/filegroupswidget.cpp @@ -27,10 +27,10 @@ #include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" -#include "tdevpartcontroller.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" +#include "kdevpartcontroller.h" #include "domutil.h" #include "filegroupspart.h" @@ -191,16 +191,16 @@ FileGroupsWidget::FileGroupsWidget(FileGroupsPart *part) (void) translations; // supress compiler warning TQDomDocument &dom = *m_part->projectDom(); - m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonprojectfiles") ); - m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonlocation") ); + m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/groups/hidenonprojectfiles") ); + m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/groups/hidenonlocation") ); } FileGroupsWidget::~FileGroupsWidget() { TQDomDocument &dom = *m_part->projectDom(); - DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() ); - DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() ); + DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() ); + DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() ); } @@ -319,7 +319,7 @@ void FileGroupsWidget::refresh() } TQDomDocument &dom = *m_part->projectDom(); DomUtil::PairList list = - DomUtil::readPairListEntry(dom, "/tdevfileview/groups", "group", "name", "pattern"); + DomUtil::readPairListEntry(dom, "/kdevfileview/groups", "group", "name", "pattern"); FileViewFolderItem *lastGroup = 0; diff --git a/parts/fileview/filegroupswidget.h b/parts/fileview/filegroupswidget.h index 62ec5d6f..3294db32 100644 --- a/parts/fileview/filegroupswidget.h +++ b/parts/fileview/filegroupswidget.h @@ -15,7 +15,7 @@ #include class FileGroupsPart; -class TDevProject; +class KDevProject; class FileGroupsWidget : public TDEListView diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp index 3764a3f2..af6f9e1f 100644 --- a/parts/fileview/filetreeviewwidgetimpl.cpp +++ b/parts/fileview/filetreeviewwidgetimpl.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include #include "fileviewpart.h" #include "filetreewidget.h" @@ -44,7 +44,7 @@ FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *parent, const ch // Reload good ol' settings TQDomDocument &dom = *m_part->projectDom(); - m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/tree/hidenonprojectfiles") ); + m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/tree/hidenonprojectfiles") ); } /////////////////////////////////////////////////////////////////////////////// @@ -56,7 +56,7 @@ FileTreeViewWidgetImpl::~FileTreeViewWidgetImpl() delete m_branchItemFactory; TQDomDocument &dom = *m_part->projectDom(); - DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() ); + DomUtil::writeBoolEntry( dom, "/kdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() ); } /////////////////////////////////////////////////////////////////////////////// diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp index 0a1c5346..f89bf71d 100644 --- a/parts/fileview/filetreewidget.cpp +++ b/parts/fileview/filetreewidget.cpp @@ -26,11 +26,11 @@ #include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevpartcontroller.h" -#include "tdevmainwindow.h" -#include "tdevversioncontrol.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevpartcontroller.h" +#include "kdevmainwindow.h" +#include "kdevversioncontrol.h" #include "domutil.h" #include "urlutil.h" @@ -51,7 +51,7 @@ using namespace filetreeview; // class FileTreeWidget /////////////////////////////////////////////////////////////////////////////// -FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *infoProvider ) +FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider ) : KFileTreeView( parent, "filetreewidget" ), m_part( part ), m_rootBranch( 0 ) { kdDebug(9017) << "Requested FileTree for: " << projectDirectory() << endl; @@ -87,7 +87,7 @@ FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFil // Hide pattern for files TQDomDocument &dom = *m_part->projectDom(); TQString defaultHidePattern = "*.o,*.lo,CVS"; - TQString hidePattern = DomUtil::readEntry( dom, "/tdevfileview/tree/hidepatterns", defaultHidePattern ); + TQString hidePattern = DomUtil::readEntry( dom, "/kdevfileview/tree/hidepatterns", defaultHidePattern ); m_hidePatterns = TQStringList::split( ",", hidePattern ); } @@ -98,7 +98,7 @@ FileTreeWidget::~FileTreeWidget() kdDebug(9017) << "FileTreeWidget::~FileTreeWidget()" << endl; TQDomDocument &dom = *m_part->projectDom(); - DomUtil::writeEntry( dom, "/tdevfileview/tree/hidepatterns", hidePatterns() ); + DomUtil::writeEntry( dom, "/kdevfileview/tree/hidepatterns", hidePatterns() ); // delete m_impl; } @@ -343,7 +343,7 @@ TQString FileTreeWidget::hidePatterns() const /////////////////////////////////////////////////////////////////////////////// -TDevVersionControl *FileTreeWidget::versionControl() const +KDevVersionControl *FileTreeWidget::versionControl() const { if (part() && part()->versionControl()) return part()->versionControl(); diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h index a8d3e2bf..f6abb0c6 100644 --- a/parts/fileview/filetreewidget.h +++ b/parts/fileview/filetreewidget.h @@ -17,11 +17,11 @@ #include #include -#include +#include class FileViewPart; class FileTreeViewWidgetImpl; -class TDevVersionControl; +class KDevVersionControl; /** * This is FileTree widget for listing files belonging to the project. It does feature: @@ -33,8 +33,8 @@ class TDevVersionControl; * Design notes * The class uses two different implementations (referred by m_impl data member): * - @see VCSFileTreeWidgetImpl for VCS support -* VCS support is detencted by the constructor looking for the @see TDevPlugin::versionControl() member: -* if the current VCS plug-in does offer a @see TDevVCSFileInfoProvider object than this will be used for +* VCS support is detencted by the constructor looking for the @see KDevPlugin::versionControl() member: +* if the current VCS plug-in does offer a @see KDevVCSFileInfoProvider object than this will be used for * querying about files' data. If neither VCS plugin nor valid info provider is found then the filetreeview * will fallback to the standard implementation * - @see StdFileTreeWidgetImpl for standard visualization, just like the KFileTreeView @@ -49,7 +49,7 @@ class FileTreeWidget : public KFileTreeView Q_OBJECT public: - FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *infoProvider ); + FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider ); virtual ~FileTreeWidget(); void openDirectory(const TQString &dirName); @@ -60,7 +60,7 @@ public: FileViewPart *part() const { return m_part; } - //TDevVCSFileInfoProvider *vcsFileInfoProvider() const; + //KDevVCSFileInfoProvider *vcsFileInfoProvider() const; void applyHidePatterns( const TQString &hidePatterns ); TQString hidePatterns() const; @@ -85,7 +85,7 @@ private slots: private: bool matchesHidePattern(const TQString &fileName); - TDevVersionControl *versionControl() const; + KDevVersionControl *versionControl() const; TQStringList m_hidePatterns; /** diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp index 7da44996..414cea52 100644 --- a/parts/fileview/fileviewpart.cpp +++ b/parts/fileview/fileviewpart.cpp @@ -23,19 +23,19 @@ #include #include #include -#include +#include #include -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" #include "partwidget.h" #include "domutil.h" #include "filetreewidget.h" #include "vcscolorsconfigwidget.h" -#include "tdevversioncontrol.h" -#include "tdevplugininfo.h" +#include "kdevversioncontrol.h" +#include "kdevplugininfo.h" #define FILETREE_OPTIONS 1 @@ -49,20 +49,20 @@ VCSColors FileViewPart::vcsColors; // class factory /////////////////////////////////////////////////////////////////////////////// -typedef TDevGenericFactory FileViewFactory; -static const TDevPluginInfo data("tdevfileview"); -K_EXPORT_COMPONENT_FACTORY( libtdevfileview, FileViewFactory( data ) ) +typedef KDevGenericFactory FileViewFactory; +static const KDevPluginInfo data("kdevfileview"); +K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) ) /////////////////////////////////////////////////////////////////////////////// // class FileTreeWidget /////////////////////////////////////////////////////////////////////////////// FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &) - : TDevPlugin(&data, parent, name ? name : "FileViewPart"), + : KDevPlugin(&data, parent, name ? name : "FileViewPart"), m_widget( 0 ) { setInstance( FileViewFactory::instance() ); - // setXMLFile("tdevfileview.rc"); + // setXMLFile("kdevfileview.rc"); _configProxy = new ConfigWidgetProxy( core() ); _configProxy->createProjectConfigPage( i18n("File Tree"), FILETREE_OPTIONS, info()->icon() ); @@ -153,9 +153,9 @@ void FileViewPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * page, } } -TDevVersionControl *FileViewPart::versionControl() +KDevVersionControl *FileViewPart::versionControl() { - return extension("TDevelop/VersionControl"); + return extension("TDevelop/VersionControl"); } #include "fileviewpart.moc" diff --git a/parts/fileview/fileviewpart.h b/parts/fileview/fileviewpart.h index c1c8c776..68eb6a56 100644 --- a/parts/fileview/fileviewpart.h +++ b/parts/fileview/fileviewpart.h @@ -14,14 +14,14 @@ #include #include -#include "tdevplugin.h" +#include "kdevplugin.h" #include "vcscolorsconfigwidget.h" class PartWidget; class KDialogBase; -class TDevVersionControl; +class KDevVersionControl; -class FileViewPart : public TDevPlugin +class FileViewPart : public KDevPlugin { Q_OBJECT @@ -33,7 +33,7 @@ public: //! Colors to use for VCS visual feed-back static VCSColors vcsColors; - TDevVersionControl *versionControl(); + KDevVersionControl *versionControl(); private slots: void insertConfigWidget( const KDialogBase* dlg, TQWidget * page, unsigned int ); diff --git a/parts/fileview/kdevfilegroups.desktop b/parts/fileview/kdevfilegroups.desktop new file mode 100644 index 00000000..bfa3e699 --- /dev/null +++ b/parts/fileview/kdevfilegroups.desktop @@ -0,0 +1,86 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Allows for grouping of project files according to filename patterns. +Comment[ca]=Permet l'agrupació de fitxers del projecte d'acord als patrons dels noms de fitxer. +Comment[da]=Tillader gruppering af projektfiler efter filnavnemønstre. +Comment[de]=Erlaubt die Gruppierung von Projektdateien nach Dateimustern. +Comment[el]=Επιτρέπει την ομαδοποίηση των αρχείων του έργου σύμφωνα με διάφορα μοτίβα. +Comment[es]=Permite la agrupación de archivos del proyecto de acuerdo a patrones en sus nombres. +Comment[et]=Võimaldab rühmitada projekti faile vastavalt failinimede mustritele. +Comment[eu]=Proiektu fitxategiak fitxategi-izen ereduen arabera taldekatzeko aukera ematen du. +Comment[fa]=اجازۀ گروه کردن پرونده‌های پروژه را طبق الگوهای نام پرونده می‌دهد. +Comment[fr]=Permet de grouper des fichiers projet en fonction des motifs de noms de fichier. +Comment[gl]=Permite o agrupamento dos arquivos do proxecto seguindo patróns nos seus nomes. +Comment[hi]=फ़ाइल-नाम पैटर्न के आधार पर परियोजना फ़ाइलों का समूह बनाना स्वीकारता है. +Comment[hu]=Lehetővé teszi projektfájlok csoportosítását fájlnévminta alapján +Comment[it]=Permette il raggruppamento dei file di progetto per schemi del nome file. +Comment[ja]=ファイル名のパターンによりプロジェクトファイルのグルーピングを可能にします。 +Comment[ms]=Membenarkan pengumpulan bagi fail projek mengikut corak namafail. +Comment[nds]=Maakt dat Sorteren vun Projektdateien na Dateinaam-Mustern mööglich. +Comment[ne]=फाइल नाम बाँन्की अनुसार परियोजना फाइलहरू समूहबद्ध गर्न अनुमति दिन्छ । +Comment[nl]=Groepeert projectbestanden op grond van patronen in bestandsnamen. +Comment[pl]=Umożliwia grupowanie plików projektu zgodnie z wzorcami nazw plików. +Comment[pt]=Permite o agrupamento de ficheiros de projecto, de acordo com padrões de nomes de ficheiros. +Comment[pt_BR]=Permite agrupar arquivos de projetos de acordo com padrões de nome de arquivo. +Comment[ru]=Позволяет группировать файлы в проекте согласно шаблонам имён. +Comment[sk]=Umožní zoskupenie projektových súborov podľa vzoru mien súborov. +Comment[sr]=Дозвољава груписање пројектних фајлова према облицима имена фајлова. +Comment[sr@Latn]=Dozvoljava grupisanje projektnih fajlova prema oblicima imena fajlova. +Comment[sv]=Tillåter att projektfiler grupperas enligt filnamnsmönster. +Comment[ta]=திட்ட பணிகோப்புகளை கோப்பின் பெயர் அடிப்படையில் அதனை குழுவாக பிரிக்கும். +Comment[tg]=Барои файлҳои дар номҳои қолиб имкон медиҳад. +Comment[tr]=Dosya adı desenlerine göre proje dosyalarının gruplanmasını sağlar. +Comment[zh_CN]=允许你根据文件名模式规类工程文件。 +Comment[zh_TW]=允許專案檔案根據檔名樣式來分群組。 +Name=KDevFileGroups +Name[da]=TDevelop filgrupper +Name[de]=Dateigruppen-Komponente (TDevelop) +Name[hi]=के-डेव-फ़ाइल-ग्रुप्स +Name[nds]=TDevelop-Dateikoppeln +Name[pl]=KDevGrupyPlików +Name[sk]=KDev zoskupenie súborov +Name[sv]=TDevelop filgrupper +Name[ta]=KDev கோப்பு குழுக்கள் +Name[tg]=Гурӯҳҳои файли KDev +Name[zh_TW]=TDevelop 檔案群組 +GenericName=File Groups +GenericName[br]=Strolladoù a restroù +GenericName[ca]=Grups de fitxers +GenericName[da]=Filgrupper +GenericName[de]=Dateigruppen +GenericName[el]=Ομάδες αρχείων +GenericName[es]=Grupos de archivos +GenericName[et]=Failigrupid +GenericName[eu]=Fitxategi taldeak +GenericName[fa]=گروههای پرونده +GenericName[fr]=Groupes de fichiers +GenericName[gl]=Grupos de arquivos +GenericName[hi]=फ़ाइल समूह +GenericName[hu]=Fájlcsoportok +GenericName[it]=Gruppi file +GenericName[ja]=ファイルグループ +GenericName[ms]=Kumpulan Fail +GenericName[nds]=Dateikoppeln +GenericName[ne]=फाइल समूह +GenericName[nl]=Bestandsgroepen +GenericName[pl]=Grupy plików +GenericName[pt]=Grupos de Ficheiros +GenericName[pt_BR]=Grupos de Arquivo +GenericName[ru]=Группы файлов +GenericName[sk]=Zoskupenie súborov +GenericName[sl]=Skupine datotek +GenericName[sr]=Групе фајлова +GenericName[sr@Latn]=Grupe fajlova +GenericName[sv]=Filgrupper +GenericName[ta]=கோப்புக்குழுக்கள் +GenericName[tg]=Гурӯҳи файлҳо +GenericName[tr]=Dosya Grupları +GenericName[zh_CN]=文件分组 +GenericName[zh_TW]=檔案群組 +ServiceTypes=TDevelop/Plugin +Icon=attach +X-TDE-Library=libkdevfilegroups +X-TDevelop-Version=5 +X-TDevelop-Scope=Project +X-TDevelop-Properties=ProjectFileGroupsManagement diff --git a/parts/fileview/kdevfileview.desktop b/parts/fileview/kdevfileview.desktop new file mode 100644 index 00000000..6a702e1b --- /dev/null +++ b/parts/fileview/kdevfileview.desktop @@ -0,0 +1,85 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=Provides a way of navigating and interacting with the source files of the current project. +Comment[ca]=Proporciona un mètode de navegació i interacció amb els fitxers de codi font del projecte actual. +Comment[da]=Sørger for en måde at navigere og interagere med kildefiler for dette projekt. +Comment[de]=Bietet Funktionalität zur Navigation und zum Umgang mit den Quelltexten des aktuellen Projektes. +Comment[el]=Προσφέρει μια μέθοδο πλοήγησης και αλληλεπίδρασης με τα αρχεία πηγαίου κώδικα του τρέχοντος έργου. +Comment[es]=Proporciona un método de navegación e interacción con los archivos de código fuente del proyecto actual. +Comment[et]=Võimaldab aktiivse projekti lähtekoodifailide vahel liikuda ja neis üht-teist ette võtta. +Comment[eu]=Uneko proiektuko itruburu fitxategiekin lan egiteko eta hauen artean nabigatzeko aukera ematen du. +Comment[fa]=راهی برای ناوش و تعامل با پرونده‌های منبع پروژۀ جاری را فراهم می‌کند. +Comment[fr]=Fournit un moyen de naviguer et d'interagir avec les fichiers source du projet actuel. +Comment[gl]=Proporciona unha maneira de navegar e interactuar cos ficheiros fonte do proxecto actual. +Comment[hu]=Lehetővé teszi az aktuális projekthez tartozó forrásfájlok áttekintését, kezelését +Comment[it]=Offre un modo per navigare e interagire con il file sorgente del progetto attuale. +Comment[ja]=現在のプロジェクトのソースファイルでナビゲーションおよび対話する方法を提供します。 +Comment[ms]=Menyediakan cara untuk pandu arah dan berinteraksi dengan fail sumber bagi projek semasa. +Comment[nds]=Stellt Ünnerstütten bi't Stüern binnen un för't Hanteren vun de Borndateien vun't aktuelle Projekt praat. +Comment[ne]=हालको परियोजनाको स्रोत फाइलसँग नेभिगेटिङ र अन्तरक्रिया गर्ने तरिका प्रदान गर्दछ । +Comment[nl]=Handig bladeren en zoeken in de broncode-bestanden van het huidige project. +Comment[pl]=Umożliwia metodę nawigacji i interacji z plikami źródłowymi bieżącego projektu. +Comment[pt]=Oferece uma forma de navegar e de interagir com os ficheiros de código do projecto actual. +Comment[pt_BR]=Fornece uma maneira de navegar e interagir com arquivos fonte do projeto atual. +Comment[ru]=Предоставляет способ навигации и взаимодействия с исходными файлами в каталоге текущего проекта. +Comment[sk]=Umožní navigáciu a interakciu so zdrojovými súbormi v aktálnom projekte. +Comment[sr]=Обезбеђује начин навигације и рада са фајловима изворног кôда текућег пројекта. +Comment[sr@Latn]=Obezbeđuje način navigacije i rada sa fajlovima izvornog kôda tekućeg projekta. +Comment[sv]=Erbjuder ett sätt att navigera och arbeta med källkodsfilerna i det aktuella projektet. +Comment[ta]=நடப்பு திட்ட பணியில் உள்ள மூல கோப்பிற்கு வழி செலுத்த மற்றும் உறையாட இது வழி செலுத்தும். +Comment[tg]=Тариқи навигатсияро ва ҳангоми ҳамкорӣ намудан бо файлҳои берунии дар каталоги лоиҳаи ҷорӣ имкон медиҳад. +Comment[tr]=Geçerli projenin kaynak dosyalarında gezinme ve onlarla etkileşime geçme yolu sunar. +Comment[zh_CN]=提供当前工程源文件的浏览和相互关系。 +Comment[zh_TW]=提供目前專案的程式源碼檔的導覽與互動。 +Name=KDevFileView +Name[da]=TDevelop filvisning +Name[de]=Dateibaum (TDevelop) +Name[hi]=के-डेव-फ़ाइल-व्यू +Name[nds]=TDevelop-Dateiboom +Name[pl]=KDevWidokPliku +Name[sk]=KDev pohľad na súbor +Name[sv]=TDevelop filvisning +Name[ta]=KDev கோப்பு காட்சி +Name[tg]=Намоиши файл KDev +Name[zh_TW]=TDevelop 檔案檢視 +GenericName=File Tree +GenericName[br]=Gwezenn restr +GenericName[ca]=Arbre de fitxers +GenericName[da]=Filtræ +GenericName[de]=Dateibaum +GenericName[el]=Δέντρο αρχείων +GenericName[es]=Árbol de archivos +GenericName[et]=Failipuu +GenericName[eu]=Fitxategi zuhaitza +GenericName[fa]=درخت پرونده +GenericName[fr]=Arborescence de fichiers +GenericName[gl]=Árbore de arquivos +GenericName[hi]=फ़ाइल ट्री +GenericName[hu]=Fájl-fa +GenericName[it]=Albero file +GenericName[ja]=ファイルツリー +GenericName[ms]=Pepohon Fail +GenericName[nds]=Dateiboom +GenericName[ne]=फाइल ट्रि +GenericName[nl]=Bestandsboomstructuur +GenericName[pl]=Drzewo plików +GenericName[pt]=Árvore de Ficheiros +GenericName[pt_BR]=Árvore de Arquivo +GenericName[ru]=Дерево файлов +GenericName[sk]=Strom súborov +GenericName[sl]=Datotečno drevo +GenericName[sr]=Дрво фајлова +GenericName[sr@Latn]=Drvo fajlova +GenericName[sv]=Filträd +GenericName[ta]=கோப்பு மரம் +GenericName[tg]=Дарахти файлҳо +GenericName[tr]=Dosya Ağacı +GenericName[zh_CN]=文件树 +GenericName[zh_TW]=檔案樹 +ServiceTypes=TDevelop/Plugin +Icon=folder +X-TDE-Library=libkdevfileview +X-TDevelop-Version=5 +X-TDevelop-Scope=Project +X-TDevelop-Properties=ProjectFileManagement diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp index 49cfe7d5..bf68de83 100644 --- a/parts/fileview/partwidget.cpp +++ b/parts/fileview/partwidget.cpp @@ -22,10 +22,10 @@ #include #include -#include "tdevversioncontrol.h" -#include "tdevcore.h" -#include "tdevproject.h" -#include "tdevmainwindow.h" +#include "kdevversioncontrol.h" +#include "kdevcore.h" +#include "kdevproject.h" +#include "kdevmainwindow.h" #include "fileviewpart.h" #include "filetreewidget.h" @@ -40,7 +40,7 @@ PartWidget::PartWidget( FileViewPart *part, TQWidget *parent ) { Q_ASSERT( part && parent ); - TDevVCSFileInfoProvider *infoProvider = 0; + KDevVCSFileInfoProvider *infoProvider = 0; if (part && part->versionControl() && part->versionControl()->fileInfoProvider()) infoProvider = part->versionControl()->fileInfoProvider(); diff --git a/parts/fileview/tdevfilegroups.desktop b/parts/fileview/tdevfilegroups.desktop deleted file mode 100644 index 4c04c274..00000000 --- a/parts/fileview/tdevfilegroups.desktop +++ /dev/null @@ -1,86 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Allows for grouping of project files according to filename patterns. -Comment[ca]=Permet l'agrupació de fitxers del projecte d'acord als patrons dels noms de fitxer. -Comment[da]=Tillader gruppering af projektfiler efter filnavnemønstre. -Comment[de]=Erlaubt die Gruppierung von Projektdateien nach Dateimustern. -Comment[el]=Επιτρέπει την ομαδοποίηση των αρχείων του έργου σύμφωνα με διάφορα μοτίβα. -Comment[es]=Permite la agrupación de archivos del proyecto de acuerdo a patrones en sus nombres. -Comment[et]=Võimaldab rühmitada projekti faile vastavalt failinimede mustritele. -Comment[eu]=Proiektu fitxategiak fitxategi-izen ereduen arabera taldekatzeko aukera ematen du. -Comment[fa]=اجازۀ گروه کردن پرونده‌های پروژه را طبق الگوهای نام پرونده می‌دهد. -Comment[fr]=Permet de grouper des fichiers projet en fonction des motifs de noms de fichier. -Comment[gl]=Permite o agrupamento dos arquivos do proxecto seguindo patróns nos seus nomes. -Comment[hi]=फ़ाइल-नाम पैटर्न के आधार पर परियोजना फ़ाइलों का समूह बनाना स्वीकारता है. -Comment[hu]=Lehetővé teszi projektfájlok csoportosítását fájlnévminta alapján -Comment[it]=Permette il raggruppamento dei file di progetto per schemi del nome file. -Comment[ja]=ファイル名のパターンによりプロジェクトファイルのグルーピングを可能にします。 -Comment[ms]=Membenarkan pengumpulan bagi fail projek mengikut corak namafail. -Comment[nds]=Maakt dat Sorteren vun Projektdateien na Dateinaam-Mustern mööglich. -Comment[ne]=फाइल नाम बाँन्की अनुसार परियोजना फाइलहरू समूहबद्ध गर्न अनुमति दिन्छ । -Comment[nl]=Groepeert projectbestanden op grond van patronen in bestandsnamen. -Comment[pl]=Umożliwia grupowanie plików projektu zgodnie z wzorcami nazw plików. -Comment[pt]=Permite o agrupamento de ficheiros de projecto, de acordo com padrões de nomes de ficheiros. -Comment[pt_BR]=Permite agrupar arquivos de projetos de acordo com padrões de nome de arquivo. -Comment[ru]=Позволяет группировать файлы в проекте согласно шаблонам имён. -Comment[sk]=Umožní zoskupenie projektových súborov podľa vzoru mien súborov. -Comment[sr]=Дозвољава груписање пројектних фајлова према облицима имена фајлова. -Comment[sr@Latn]=Dozvoljava grupisanje projektnih fajlova prema oblicima imena fajlova. -Comment[sv]=Tillåter att projektfiler grupperas enligt filnamnsmönster. -Comment[ta]=திட்ட பணிகோப்புகளை கோப்பின் பெயர் அடிப்படையில் அதனை குழுவாக பிரிக்கும். -Comment[tg]=Барои файлҳои дар номҳои қолиб имкон медиҳад. -Comment[tr]=Dosya adı desenlerine göre proje dosyalarının gruplanmasını sağlar. -Comment[zh_CN]=允许你根据文件名模式规类工程文件。 -Comment[zh_TW]=允許專案檔案根據檔名樣式來分群組。 -Name=TDevFileGroups -Name[da]=TDevelop filgrupper -Name[de]=Dateigruppen-Komponente (TDevelop) -Name[hi]=के-डेव-फ़ाइल-ग्रुप्स -Name[nds]=TDevelop-Dateikoppeln -Name[pl]=KDevGrupyPlików -Name[sk]=KDev zoskupenie súborov -Name[sv]=TDevelop filgrupper -Name[ta]=KDev கோப்பு குழுக்கள் -Name[tg]=Гурӯҳҳои файли KDev -Name[zh_TW]=TDevelop 檔案群組 -GenericName=File Groups -GenericName[br]=Strolladoù a restroù -GenericName[ca]=Grups de fitxers -GenericName[da]=Filgrupper -GenericName[de]=Dateigruppen -GenericName[el]=Ομάδες αρχείων -GenericName[es]=Grupos de archivos -GenericName[et]=Failigrupid -GenericName[eu]=Fitxategi taldeak -GenericName[fa]=گروههای پرونده -GenericName[fr]=Groupes de fichiers -GenericName[gl]=Grupos de arquivos -GenericName[hi]=फ़ाइल समूह -GenericName[hu]=Fájlcsoportok -GenericName[it]=Gruppi file -GenericName[ja]=ファイルグループ -GenericName[ms]=Kumpulan Fail -GenericName[nds]=Dateikoppeln -GenericName[ne]=फाइल समूह -GenericName[nl]=Bestandsgroepen -GenericName[pl]=Grupy plików -GenericName[pt]=Grupos de Ficheiros -GenericName[pt_BR]=Grupos de Arquivo -GenericName[ru]=Группы файлов -GenericName[sk]=Zoskupenie súborov -GenericName[sl]=Skupine datotek -GenericName[sr]=Групе фајлова -GenericName[sr@Latn]=Grupe fajlova -GenericName[sv]=Filgrupper -GenericName[ta]=கோப்புக்குழுக்கள் -GenericName[tg]=Гурӯҳи файлҳо -GenericName[tr]=Dosya Grupları -GenericName[zh_CN]=文件分组 -GenericName[zh_TW]=檔案群組 -ServiceTypes=TDevelop/Plugin -Icon=attach -X-TDE-Library=libtdevfilegroups -X-TDevelop-Version=5 -X-TDevelop-Scope=Project -X-TDevelop-Properties=ProjectFileGroupsManagement diff --git a/parts/fileview/tdevfileview.desktop b/parts/fileview/tdevfileview.desktop deleted file mode 100644 index b589b5ef..00000000 --- a/parts/fileview/tdevfileview.desktop +++ /dev/null @@ -1,85 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=Provides a way of navigating and interacting with the source files of the current project. -Comment[ca]=Proporciona un mètode de navegació i interacció amb els fitxers de codi font del projecte actual. -Comment[da]=Sørger for en måde at navigere og interagere med kildefiler for dette projekt. -Comment[de]=Bietet Funktionalität zur Navigation und zum Umgang mit den Quelltexten des aktuellen Projektes. -Comment[el]=Προσφέρει μια μέθοδο πλοήγησης και αλληλεπίδρασης με τα αρχεία πηγαίου κώδικα του τρέχοντος έργου. -Comment[es]=Proporciona un método de navegación e interacción con los archivos de código fuente del proyecto actual. -Comment[et]=Võimaldab aktiivse projekti lähtekoodifailide vahel liikuda ja neis üht-teist ette võtta. -Comment[eu]=Uneko proiektuko itruburu fitxategiekin lan egiteko eta hauen artean nabigatzeko aukera ematen du. -Comment[fa]=راهی برای ناوش و تعامل با پرونده‌های منبع پروژۀ جاری را فراهم می‌کند. -Comment[fr]=Fournit un moyen de naviguer et d'interagir avec les fichiers source du projet actuel. -Comment[gl]=Proporciona unha maneira de navegar e interactuar cos ficheiros fonte do proxecto actual. -Comment[hu]=Lehetővé teszi az aktuális projekthez tartozó forrásfájlok áttekintését, kezelését -Comment[it]=Offre un modo per navigare e interagire con il file sorgente del progetto attuale. -Comment[ja]=現在のプロジェクトのソースファイルでナビゲーションおよび対話する方法を提供します。 -Comment[ms]=Menyediakan cara untuk pandu arah dan berinteraksi dengan fail sumber bagi projek semasa. -Comment[nds]=Stellt Ünnerstütten bi't Stüern binnen un för't Hanteren vun de Borndateien vun't aktuelle Projekt praat. -Comment[ne]=हालको परियोजनाको स्रोत फाइलसँग नेभिगेटिङ र अन्तरक्रिया गर्ने तरिका प्रदान गर्दछ । -Comment[nl]=Handig bladeren en zoeken in de broncode-bestanden van het huidige project. -Comment[pl]=Umożliwia metodę nawigacji i interacji z plikami źródłowymi bieżącego projektu. -Comment[pt]=Oferece uma forma de navegar e de interagir com os ficheiros de código do projecto actual. -Comment[pt_BR]=Fornece uma maneira de navegar e interagir com arquivos fonte do projeto atual. -Comment[ru]=Предоставляет способ навигации и взаимодействия с исходными файлами в каталоге текущего проекта. -Comment[sk]=Umožní navigáciu a interakciu so zdrojovými súbormi v aktálnom projekte. -Comment[sr]=Обезбеђује начин навигације и рада са фајловима изворног кôда текућег пројекта. -Comment[sr@Latn]=Obezbeđuje način navigacije i rada sa fajlovima izvornog kôda tekućeg projekta. -Comment[sv]=Erbjuder ett sätt att navigera och arbeta med källkodsfilerna i det aktuella projektet. -Comment[ta]=நடப்பு திட்ட பணியில் உள்ள மூல கோப்பிற்கு வழி செலுத்த மற்றும் உறையாட இது வழி செலுத்தும். -Comment[tg]=Тариқи навигатсияро ва ҳангоми ҳамкорӣ намудан бо файлҳои берунии дар каталоги лоиҳаи ҷорӣ имкон медиҳад. -Comment[tr]=Geçerli projenin kaynak dosyalarında gezinme ve onlarla etkileşime geçme yolu sunar. -Comment[zh_CN]=提供当前工程源文件的浏览和相互关系。 -Comment[zh_TW]=提供目前專案的程式源碼檔的導覽與互動。 -Name=TDevFileView -Name[da]=TDevelop filvisning -Name[de]=Dateibaum (TDevelop) -Name[hi]=के-डेव-फ़ाइल-व्यू -Name[nds]=TDevelop-Dateiboom -Name[pl]=KDevWidokPliku -Name[sk]=KDev pohľad na súbor -Name[sv]=TDevelop filvisning -Name[ta]=KDev கோப்பு காட்சி -Name[tg]=Намоиши файл KDev -Name[zh_TW]=TDevelop 檔案檢視 -GenericName=File Tree -GenericName[br]=Gwezenn restr -GenericName[ca]=Arbre de fitxers -GenericName[da]=Filtræ -GenericName[de]=Dateibaum -GenericName[el]=Δέντρο αρχείων -GenericName[es]=Árbol de archivos -GenericName[et]=Failipuu -GenericName[eu]=Fitxategi zuhaitza -GenericName[fa]=درخت پرونده -GenericName[fr]=Arborescence de fichiers -GenericName[gl]=Árbore de arquivos -GenericName[hi]=फ़ाइल ट्री -GenericName[hu]=Fájl-fa -GenericName[it]=Albero file -GenericName[ja]=ファイルツリー -GenericName[ms]=Pepohon Fail -GenericName[nds]=Dateiboom -GenericName[ne]=फाइल ट्रि -GenericName[nl]=Bestandsboomstructuur -GenericName[pl]=Drzewo plików -GenericName[pt]=Árvore de Ficheiros -GenericName[pt_BR]=Árvore de Arquivo -GenericName[ru]=Дерево файлов -GenericName[sk]=Strom súborov -GenericName[sl]=Datotečno drevo -GenericName[sr]=Дрво фајлова -GenericName[sr@Latn]=Drvo fajlova -GenericName[sv]=Filträd -GenericName[ta]=கோப்பு மரம் -GenericName[tg]=Дарахти файлҳо -GenericName[tr]=Dosya Ağacı -GenericName[zh_CN]=文件树 -GenericName[zh_TW]=檔案樹 -ServiceTypes=TDevelop/Plugin -Icon=folder -X-TDE-Library=libtdevfileview -X-TDevelop-Version=5 -X-TDevelop-Scope=Project -X-TDevelop-Properties=ProjectFileManagement diff --git a/parts/fileview/vcsfiletreewidgetimpl.cpp b/parts/fileview/vcsfiletreewidgetimpl.cpp index e08068db..450a6a58 100644 --- a/parts/fileview/vcsfiletreewidgetimpl.cpp +++ b/parts/fileview/vcsfiletreewidgetimpl.cpp @@ -18,7 +18,7 @@ #include #include -//#include +//#include #include #include @@ -127,13 +127,13 @@ class VCSFileTreeBranchItem : public filetreeview::FileTreeBranchItem { public: VCSFileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix, - TDevVCSFileInfoProvider *vcsInfoProvider ) + KDevVCSFileInfoProvider *vcsInfoProvider ) : FileTreeBranchItem( view, url, name, pix ), m_vcsInfoProvider( vcsInfoProvider ) {} // virtual ~VCSFileTreeBranchItem() {} virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem ); private: - TDevVCSFileInfoProvider *m_vcsInfoProvider; + KDevVCSFileInfoProvider *m_vcsInfoProvider; }; /////////////////////////////////////////////////////////////////////////////// @@ -169,20 +169,20 @@ KFileTreeViewItem* VCSFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem* class VCSBranchItemFactory : public filetreeview::BranchItemFactory { public: - VCSBranchItemFactory( TDevVCSFileInfoProvider *vcsInfoProvider ) : m_vcsInfoProvider( vcsInfoProvider ) {} + VCSBranchItemFactory( KDevVCSFileInfoProvider *vcsInfoProvider ) : m_vcsInfoProvider( vcsInfoProvider ) {} virtual filetreeview::FileTreeBranchItem *makeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix ) { return new VCSFileTreeBranchItem( view, url, name, pix, m_vcsInfoProvider ); } private: - TDevVCSFileInfoProvider *m_vcsInfoProvider; + KDevVCSFileInfoProvider *m_vcsInfoProvider; }; /////////////////////////////////////////////////////////////////////////////// // class VCSFileTreeWidgetImpl /////////////////////////////////////////////////////////////////////////////// -VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *infoProvider ) +VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider ) : FileTreeViewWidgetImpl( parent, "vcsfiletreewidgetimpl" ), m_actionToggleShowVCSFields( 0 ), m_actionSyncWithRepository( 0 ), m_vcsInfoProvider( infoProvider ), m_isSyncingWithRepository( false ), m_vcsStatusRequestedItem( 0 ) @@ -216,7 +216,7 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFil m_actionSyncWithRepository->setWhatsThis( aboutAction ); TQDomDocument &dom = projectDom(); - m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/tdevfileview/tree/showvcsfields") ); + m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/kdevfileview/tree/showvcsfields") ); slotToggleShowVCSFields( showVCSFields() ); // show or hide fields depending on read settings connect( parent, TQT_SIGNAL(expanded(TQListViewItem*)), this, TQT_SLOT(slotDirectoryExpanded(TQListViewItem*))); } @@ -228,7 +228,7 @@ VCSFileTreeWidgetImpl::~VCSFileTreeWidgetImpl() kdDebug(9017) << "VCSFileTreeWidgetImpl::~VCSFileTreeWidgetImpl()" << endl; TQDomDocument &dom = projectDom(); - DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/showvcsfields", showVCSFields() ); + DomUtil::writeBoolEntry( dom, "/kdevfileview/tree/showvcsfields", showVCSFields() ); } /////////////////////////////////////////////////////////////////////////////// diff --git a/parts/fileview/vcsfiletreewidgetimpl.h b/parts/fileview/vcsfiletreewidgetimpl.h index 928fe544..00a38b32 100644 --- a/parts/fileview/vcsfiletreewidgetimpl.h +++ b/parts/fileview/vcsfiletreewidgetimpl.h @@ -14,7 +14,7 @@ #include "filetreeviewwidgetimpl.h" -class TDevVCSFileInfoProvider; +class KDevVCSFileInfoProvider; class TDEAction; class TDEToggleAction; @@ -27,7 +27,7 @@ class VCSFileTreeWidgetImpl : public FileTreeViewWidgetImpl Q_OBJECT public: - VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *infoProvider ); + VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider ); virtual ~VCSFileTreeWidgetImpl(); /* @@ -44,7 +44,7 @@ private slots: //! show/hide the header and the additional fields (status and versions) void slotToggleShowVCSFields( bool checked ); //! start a sync operation with the remote repository: this may take a while so we use - //! the async interface provided by the TDevVCSFileInfoProvider interface + //! the async interface provided by the KDevVCSFileInfoProvider interface void slotSyncWithRepository(); //! when the requested info are ready the infoProvider object will be so kind the //! to give them to us in a ready-to-use format: we'll use that info to update all @@ -58,7 +58,7 @@ private: TDEToggleAction *m_actionToggleShowVCSFields; TDEAction *m_actionSyncWithRepository; - TDevVCSFileInfoProvider *m_vcsInfoProvider; + KDevVCSFileInfoProvider *m_vcsInfoProvider; //! We use this guard to avoid enabling the "reload tree" action when performing //! syncing with remote repositories. bool m_isSyncingWithRepository; -- cgit v1.2.1