summaryrefslogtreecommitdiffstats
path: root/parts/fileview
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileview')
-rw-r--r--parts/fileview/CMakeLists.txt10
-rw-r--r--parts/fileview/Makefile.am20
-rw-r--r--parts/fileview/filegroupsconfigwidget.cpp4
-rw-r--r--parts/fileview/filegroupspart.cpp18
-rw-r--r--parts/fileview/filegroupspart.h4
-rw-r--r--parts/fileview/filegroupswidget.cpp18
-rw-r--r--parts/fileview/filegroupswidget.h2
-rw-r--r--parts/fileview/filetreeviewwidgetimpl.cpp6
-rw-r--r--parts/fileview/filetreewidget.cpp18
-rw-r--r--parts/fileview/filetreewidget.h14
-rw-r--r--parts/fileview/fileviewpart.cpp26
-rw-r--r--parts/fileview/fileviewpart.h8
-rw-r--r--parts/fileview/partwidget.cpp10
-rw-r--r--parts/fileview/tdevfilegroups.desktop (renamed from parts/fileview/kdevfilegroups.desktop)4
-rw-r--r--parts/fileview/tdevfileview.desktop (renamed from parts/fileview/kdevfileview.desktop)4
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.cpp16
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.h8
17 files changed, 95 insertions, 95 deletions
diff --git a/parts/fileview/CMakeLists.txt b/parts/fileview/CMakeLists.txt
index 4f5f87dc..49539df2 100644
--- a/parts/fileview/CMakeLists.txt
+++ b/parts/fileview/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
install( FILES
- kdevfileview.desktop kdevfilegroups.desktop
+ tdevfileview.desktop tdevfilegroups.desktop
DESTINATION ${SERVICES_INSTALL_DIR} )
-##### libkdevfileview (module) ##################
+##### libtdevfileview (module) ##################
-tde_add_kpart( libkdevfileview AUTOMOC
+tde_add_kpart( libtdevfileview AUTOMOC
SOURCES
fileviewpart.cpp filetreewidget.cpp partwidget.cpp
vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp
@@ -45,9 +45,9 @@ tde_add_kpart( libkdevfileview AUTOMOC
)
-##### libkdevfilegroups (module) ################
+##### libtdevfilegroups (module) ################
-tde_add_kpart( libkdevfilegroups AUTOMOC
+tde_add_kpart( libtdevfilegroups AUTOMOC
SOURCES
filegroupswidget.cpp addfilegroupdlg.cpp
filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui
diff --git a/parts/fileview/Makefile.am b/parts/fileview/Makefile.am
index 3211d736..76f1460b 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 = libkdevfileview.la libkdevfilegroups.la
+kde_module_LTLIBRARIES = libtdevfileview.la libtdevfilegroups.la
-libkdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+libtdevfileview_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfileview_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libkdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+libtdevfilegroups_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libtdevfilegroups_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libkdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp
+libtdevfileview_la_SOURCES = fileviewpart.cpp filetreewidget.cpp partwidget.cpp vcscolorsconfigwidgetbase.ui vcscolorsconfigwidget.cpp stdfiletreewidgetimpl.cpp filetreeviewwidgetimpl.cpp vcsfiletreewidgetimpl.cpp fileitemfactory.cpp
-libkdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp
+libtdevfilegroups_la_SOURCES = filegroupswidget.cpp addfilegroupdlg.cpp filegroupsconfigwidget.cpp filegroupsconfigwidgetbase.ui filegroupspart.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = kdevfileview.desktop kdevfilegroups.desktop
+service_DATA = tdevfileview.desktop tdevfilegroups.desktop
# not used currently
-#rcdir = $(kde_datadir)/kdevfileview
-#rc_DATA = kdevfileview.rc
+#rcdir = $(kde_datadir)/tdevfileview
+#rc_DATA = tdevfileview.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 4f8fe422..bf8d39a6 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, "/kdevfileview/groups",
+ DomUtil::PairList list = DomUtil::readPairListEntry(dom, "/tdevfileview/groups",
"group", "name", "pattern");
TQListViewItem *lastItem = 0;
@@ -64,7 +64,7 @@ void FileGroupsConfigWidget::storeConfig()
item = item->nextSibling();
}
- DomUtil::writePairListEntry(*m_part->projectDom(), "/kdevfileview/groups",
+ DomUtil::writePairListEntry(*m_part->projectDom(), "/tdevfileview/groups",
"group", "name", "pattern", list);
}
diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp
index 77fc9646..7b83b8ef 100644
--- a/parts/fileview/filegroupspart.cpp
+++ b/parts/fileview/filegroupspart.cpp
@@ -19,25 +19,25 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdialogbase.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevplugininfo.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevplugininfo.h"
#include "filegroupswidget.h"
#include "filegroupsconfigwidget.h"
#define FILEGROUPS_OPTIONS 1
-typedef KDevGenericFactory<FileGroupsPart> FileGroupsFactory;
-static const KDevPluginInfo data("kdevfilegroups");
-K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) )
+typedef TDevGenericFactory<FileGroupsPart> FileGroupsFactory;
+static const TDevPluginInfo data("tdevfilegroups");
+K_EXPORT_COMPONENT_FACTORY( libtdevfilegroups, FileGroupsFactory( data ) )
FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FileGroupsPart")
+ : TDevPlugin(&data, parent, name ? name : "FileGroupsPart")
{
deleteRequested = false;
setInstance(FileGroupsFactory::instance());
diff --git a/parts/fileview/filegroupspart.h b/parts/fileview/filegroupspart.h
index 314f1663..88bed704 100644
--- a/parts/fileview/filegroupspart.h
+++ b/parts/fileview/filegroupspart.h
@@ -15,12 +15,12 @@
#include <tqguardedptr.h>
//#include <kdialogbase.h>
#include <configwidgetproxy.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
class FileGroupsWidget;
class KDialogBase;
-class FileGroupsPart : public KDevPlugin
+class FileGroupsPart : public TDevPlugin
{
Q_OBJECT
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp
index 8a3e19b4..3c1c348f 100644
--- a/parts/fileview/filegroupswidget.cpp
+++ b/parts/fileview/filegroupswidget.cpp
@@ -27,10 +27,10 @@
#include <tdeaction.h>
#include <tdeversion.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
-#include "kdevpartcontroller.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
+#include "tdevpartcontroller.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, "/kdevfileview/groups/hidenonprojectfiles") );
- m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/kdevfileview/groups/hidenonlocation") );
+ m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonprojectfiles") );
+ m_actionToggleDisplayLocation->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/groups/hidenonlocation") );
}
FileGroupsWidget::~FileGroupsWidget()
{
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() );
- DomUtil::writeBoolEntry( dom, "/kdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonprojectfiles", !m_actionToggleShowNonProjectFiles->isChecked() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/groups/hidenonlocation", !m_actionToggleDisplayLocation->isChecked() );
}
@@ -319,7 +319,7 @@ void FileGroupsWidget::refresh()
}
TQDomDocument &dom = *m_part->projectDom();
DomUtil::PairList list =
- DomUtil::readPairListEntry(dom, "/kdevfileview/groups", "group", "name", "pattern");
+ DomUtil::readPairListEntry(dom, "/tdevfileview/groups", "group", "name", "pattern");
FileViewFolderItem *lastGroup = 0;
diff --git a/parts/fileview/filegroupswidget.h b/parts/fileview/filegroupswidget.h
index 3294db32..62ec5d6f 100644
--- a/parts/fileview/filegroupswidget.h
+++ b/parts/fileview/filegroupswidget.h
@@ -15,7 +15,7 @@
#include <tdelistview.h>
class FileGroupsPart;
-class KDevProject;
+class TDevProject;
class FileGroupsWidget : public TDEListView
diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp
index af6f9e1f..3764a3f2 100644
--- a/parts/fileview/filetreeviewwidgetimpl.cpp
+++ b/parts/fileview/filetreeviewwidgetimpl.cpp
@@ -16,7 +16,7 @@
#include <tdelocale.h>
#include <tdeversion.h>
-#include <kdevproject.h>
+#include <tdevproject.h>
#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, "/kdevfileview/tree/hidenonprojectfiles") );
+ m_actionToggleShowNonProjectFiles->setChecked( !DomUtil::readBoolEntry(dom, "/tdevfileview/tree/hidenonprojectfiles") );
}
///////////////////////////////////////////////////////////////////////////////
@@ -56,7 +56,7 @@ FileTreeViewWidgetImpl::~FileTreeViewWidgetImpl()
delete m_branchItemFactory;
TQDomDocument &dom = *m_part->projectDom();
- DomUtil::writeBoolEntry( dom, "/kdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/hidenonprojectfiles", !showNonProjectFiles() );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index f89bf71d..0a1c5346 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -26,11 +26,11 @@
#include <kurl.h>
#include <tdeaction.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevpartcontroller.h"
-#include "kdevmainwindow.h"
-#include "kdevversioncontrol.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevpartcontroller.h"
+#include "tdevmainwindow.h"
+#include "tdevversioncontrol.h"
#include "domutil.h"
#include "urlutil.h"
@@ -51,7 +51,7 @@ using namespace filetreeview;
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
-FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *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, KDevVCSFil
// Hide pattern for files
TQDomDocument &dom = *m_part->projectDom();
TQString defaultHidePattern = "*.o,*.lo,CVS";
- TQString hidePattern = DomUtil::readEntry( dom, "/kdevfileview/tree/hidepatterns", defaultHidePattern );
+ TQString hidePattern = DomUtil::readEntry( dom, "/tdevfileview/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, "/kdevfileview/tree/hidepatterns", hidePatterns() );
+ DomUtil::writeEntry( dom, "/tdevfileview/tree/hidepatterns", hidePatterns() );
// delete m_impl;
}
@@ -343,7 +343,7 @@ TQString FileTreeWidget::hidePatterns() const
///////////////////////////////////////////////////////////////////////////////
-KDevVersionControl *FileTreeWidget::versionControl() const
+TDevVersionControl *FileTreeWidget::versionControl() const
{
if (part() && part()->versionControl())
return part()->versionControl();
diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h
index f6abb0c6..a8d3e2bf 100644
--- a/parts/fileview/filetreewidget.h
+++ b/parts/fileview/filetreewidget.h
@@ -17,11 +17,11 @@
#include <tqguardedptr.h>
#include <tdefiletreeview.h>
-#include <kdevversioncontrol.h>
+#include <tdevversioncontrol.h>
class FileViewPart;
class FileTreeViewWidgetImpl;
-class KDevVersionControl;
+class TDevVersionControl;
/**
* This is FileTree widget for listing files belonging to the project. It does feature:
@@ -33,8 +33,8 @@ class KDevVersionControl;
* 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 KDevPlugin::versionControl() member:
-* if the current VCS plug-in does offer a @see KDevVCSFileInfoProvider object than this will be used for
+* 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
* 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, KDevVCSFileInfoProvider *infoProvider );
+ FileTreeWidget( FileViewPart *part, TQWidget *parent, TDevVCSFileInfoProvider *infoProvider );
virtual ~FileTreeWidget();
void openDirectory(const TQString &dirName);
@@ -60,7 +60,7 @@ public:
FileViewPart *part() const { return m_part; }
- //KDevVCSFileInfoProvider *vcsFileInfoProvider() const;
+ //TDevVCSFileInfoProvider *vcsFileInfoProvider() const;
void applyHidePatterns( const TQString &hidePatterns );
TQString hidePatterns() const;
@@ -85,7 +85,7 @@ private slots:
private:
bool matchesHidePattern(const TQString &fileName);
- KDevVersionControl *versionControl() const;
+ TDevVersionControl *versionControl() const;
TQStringList m_hidePatterns;
/**
diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp
index 414cea52..7da44996 100644
--- a/parts/fileview/fileviewpart.cpp
+++ b/parts/fileview/fileviewpart.cpp
@@ -23,19 +23,19 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kdevgenericfactory.h>
+#include <tdevgenericfactory.h>
#include <kdialogbase.h>
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
#include "partwidget.h"
#include "domutil.h"
#include "filetreewidget.h"
#include "vcscolorsconfigwidget.h"
-#include "kdevversioncontrol.h"
-#include "kdevplugininfo.h"
+#include "tdevversioncontrol.h"
+#include "tdevplugininfo.h"
#define FILETREE_OPTIONS 1
@@ -49,20 +49,20 @@ VCSColors FileViewPart::vcsColors;
// class factory
///////////////////////////////////////////////////////////////////////////////
-typedef KDevGenericFactory<FileViewPart> FileViewFactory;
-static const KDevPluginInfo data("kdevfileview");
-K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) )
+typedef TDevGenericFactory<FileViewPart> FileViewFactory;
+static const TDevPluginInfo data("tdevfileview");
+K_EXPORT_COMPONENT_FACTORY( libtdevfileview, FileViewFactory( data ) )
///////////////////////////////////////////////////////////////////////////////
// class FileTreeWidget
///////////////////////////////////////////////////////////////////////////////
FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FileViewPart"),
+ : TDevPlugin(&data, parent, name ? name : "FileViewPart"),
m_widget( 0 )
{
setInstance( FileViewFactory::instance() );
- // setXMLFile("kdevfileview.rc");
+ // setXMLFile("tdevfileview.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,
}
}
-KDevVersionControl *FileViewPart::versionControl()
+TDevVersionControl *FileViewPart::versionControl()
{
- return extension<KDevVersionControl>("TDevelop/VersionControl");
+ return extension<TDevVersionControl>("TDevelop/VersionControl");
}
#include "fileviewpart.moc"
diff --git a/parts/fileview/fileviewpart.h b/parts/fileview/fileviewpart.h
index 68eb6a56..c1c8c776 100644
--- a/parts/fileview/fileviewpart.h
+++ b/parts/fileview/fileviewpart.h
@@ -14,14 +14,14 @@
#include <tqguardedptr.h>
#include <configwidgetproxy.h>
-#include "kdevplugin.h"
+#include "tdevplugin.h"
#include "vcscolorsconfigwidget.h"
class PartWidget;
class KDialogBase;
-class KDevVersionControl;
+class TDevVersionControl;
-class FileViewPart : public KDevPlugin
+class FileViewPart : public TDevPlugin
{
Q_OBJECT
@@ -33,7 +33,7 @@ public:
//! Colors to use for VCS visual feed-back
static VCSColors vcsColors;
- KDevVersionControl *versionControl();
+ TDevVersionControl *versionControl();
private slots:
void insertConfigWidget( const KDialogBase* dlg, TQWidget * page, unsigned int );
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp
index bf68de83..49cfe7d5 100644
--- a/parts/fileview/partwidget.cpp
+++ b/parts/fileview/partwidget.cpp
@@ -22,10 +22,10 @@
#include <kiconloader.h>
#include <tdelocale.h>
-#include "kdevversioncontrol.h"
-#include "kdevcore.h"
-#include "kdevproject.h"
-#include "kdevmainwindow.h"
+#include "tdevversioncontrol.h"
+#include "tdevcore.h"
+#include "tdevproject.h"
+#include "tdevmainwindow.h"
#include "fileviewpart.h"
#include "filetreewidget.h"
@@ -40,7 +40,7 @@ PartWidget::PartWidget( FileViewPart *part, TQWidget *parent )
{
Q_ASSERT( part && parent );
- KDevVCSFileInfoProvider *infoProvider = 0;
+ TDevVCSFileInfoProvider *infoProvider = 0;
if (part && part->versionControl() && part->versionControl()->fileInfoProvider())
infoProvider = part->versionControl()->fileInfoProvider();
diff --git a/parts/fileview/kdevfilegroups.desktop b/parts/fileview/tdevfilegroups.desktop
index bfa3e699..4c04c274 100644
--- a/parts/fileview/kdevfilegroups.desktop
+++ b/parts/fileview/tdevfilegroups.desktop
@@ -33,7 +33,7 @@ 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=TDevFileGroups
Name[da]=TDevelop filgrupper
Name[de]=Dateigruppen-Komponente (TDevelop)
Name[hi]=के-डेव-फ़ाइल-ग्रुप्स
@@ -80,7 +80,7 @@ GenericName[zh_CN]=文件分组
GenericName[zh_TW]=檔案群組
ServiceTypes=TDevelop/Plugin
Icon=attach
-X-TDE-Library=libkdevfilegroups
+X-TDE-Library=libtdevfilegroups
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=ProjectFileGroupsManagement
diff --git a/parts/fileview/kdevfileview.desktop b/parts/fileview/tdevfileview.desktop
index 6a702e1b..b589b5ef 100644
--- a/parts/fileview/kdevfileview.desktop
+++ b/parts/fileview/tdevfileview.desktop
@@ -32,7 +32,7 @@ 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=TDevFileView
Name[da]=TDevelop filvisning
Name[de]=Dateibaum (TDevelop)
Name[hi]=के-डेव-फ़ाइल-व्यू
@@ -79,7 +79,7 @@ GenericName[zh_CN]=文件树
GenericName[zh_TW]=檔案樹
ServiceTypes=TDevelop/Plugin
Icon=folder
-X-TDE-Library=libkdevfileview
+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 450a6a58..e08068db 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.cpp
+++ b/parts/fileview/vcsfiletreewidgetimpl.cpp
@@ -18,7 +18,7 @@
#include <kdebug.h>
#include <tdeversion.h>
-//#include <kdevproject.h>
+//#include <tdevproject.h>
#include <urlutil.h>
#include <domutil.h>
@@ -127,13 +127,13 @@ class VCSFileTreeBranchItem : public filetreeview::FileTreeBranchItem
{
public:
VCSFileTreeBranchItem( KFileTreeView* view, const KURL& url, const TQString& name, const TQPixmap& pix,
- KDevVCSFileInfoProvider *vcsInfoProvider )
+ TDevVCSFileInfoProvider *vcsInfoProvider )
: FileTreeBranchItem( view, url, name, pix ), m_vcsInfoProvider( vcsInfoProvider ) {}
// virtual ~VCSFileTreeBranchItem() {}
virtual KFileTreeViewItem* createTreeViewItem( KFileTreeViewItem* parent, KFileItem* fileItem );
private:
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
};
///////////////////////////////////////////////////////////////////////////////
@@ -169,20 +169,20 @@ KFileTreeViewItem* VCSFileTreeBranchItem::createTreeViewItem( KFileTreeViewItem*
class VCSBranchItemFactory : public filetreeview::BranchItemFactory
{
public:
- VCSBranchItemFactory( KDevVCSFileInfoProvider *vcsInfoProvider ) : m_vcsInfoProvider( vcsInfoProvider ) {}
+ VCSBranchItemFactory( TDevVCSFileInfoProvider *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:
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
};
///////////////////////////////////////////////////////////////////////////////
// class VCSFileTreeWidgetImpl
///////////////////////////////////////////////////////////////////////////////
-VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider )
+VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *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, KDevVCSFil
m_actionSyncWithRepository->setWhatsThis( aboutAction );
TQDomDocument &dom = projectDom();
- m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/kdevfileview/tree/showvcsfields") );
+ m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/tdevfileview/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, "/kdevfileview/tree/showvcsfields", showVCSFields() );
+ DomUtil::writeBoolEntry( dom, "/tdevfileview/tree/showvcsfields", showVCSFields() );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/vcsfiletreewidgetimpl.h b/parts/fileview/vcsfiletreewidgetimpl.h
index 00a38b32..928fe544 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.h
+++ b/parts/fileview/vcsfiletreewidgetimpl.h
@@ -14,7 +14,7 @@
#include "filetreeviewwidgetimpl.h"
-class KDevVCSFileInfoProvider;
+class TDevVCSFileInfoProvider;
class TDEAction;
class TDEToggleAction;
@@ -27,7 +27,7 @@ class VCSFileTreeWidgetImpl : public FileTreeViewWidgetImpl
Q_OBJECT
public:
- VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFileInfoProvider *infoProvider );
+ VCSFileTreeWidgetImpl( FileTreeWidget *parent, TDevVCSFileInfoProvider *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 KDevVCSFileInfoProvider interface
+ //! the async interface provided by the TDevVCSFileInfoProvider 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;
- KDevVCSFileInfoProvider *m_vcsInfoProvider;
+ TDevVCSFileInfoProvider *m_vcsInfoProvider;
//! We use this guard to avoid enabling the "reload tree" action when performing
//! syncing with remote repositories.
bool m_isSyncingWithRepository;