From 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 2 Mar 2014 20:05:33 +0100 Subject: Finish renaming tdevelop components --- parts/filecreate/CMakeLists.txt | 8 +-- parts/filecreate/Makefile.am | 14 ++--- parts/filecreate/README.dox | 8 +-- parts/filecreate/fcconfigwidget.cpp | 32 +++++------ parts/filecreate/file-templates/CMakeLists.txt | 2 +- parts/filecreate/file-templates/Makefile.am | 2 +- parts/filecreate/filecreate_filedialog.h | 4 +- parts/filecreate/filecreate_part.cpp | 62 ++++++++++----------- parts/filecreate/filecreate_part.h | 14 ++--- parts/filecreate/filecreate_widget2.cpp | 4 +- parts/filecreate/filecreate_widget2.h | 2 +- parts/filecreate/filecreate_widget3.cpp | 6 +- parts/filecreate/filecreate_widget3.h | 2 +- parts/filecreate/kdevfilecreate.desktop | 77 -------------------------- parts/filecreate/kdevpart_filecreate.rc | 11 ---- parts/filecreate/tdevfilecreate.desktop | 77 ++++++++++++++++++++++++++ parts/filecreate/tdevpart_filecreate.rc | 11 ++++ parts/filecreate/template-info.xml | 4 +- 18 files changed, 170 insertions(+), 170 deletions(-) delete mode 100644 parts/filecreate/kdevfilecreate.desktop delete mode 100644 parts/filecreate/kdevpart_filecreate.rc create mode 100644 parts/filecreate/tdevfilecreate.desktop create mode 100644 parts/filecreate/tdevpart_filecreate.rc (limited to 'parts/filecreate') diff --git a/parts/filecreate/CMakeLists.txt b/parts/filecreate/CMakeLists.txt index a562f8e1..5655e7b9 100644 --- a/parts/filecreate/CMakeLists.txt +++ b/parts/filecreate/CMakeLists.txt @@ -31,13 +31,13 @@ link_directories( ##### other data ################################ -install( FILES kdevfilecreate.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevpart_filecreate.rc template-info.xml DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate ) +install( FILES tdevfilecreate.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevpart_filecreate.rc template-info.xml DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate ) -##### libkdevfilecreate (module) ################ +##### libtdevfilecreate (module) ################ -tde_add_kpart( libkdevfilecreate AUTOMOC +tde_add_kpart( libtdevfilecreate AUTOMOC SOURCES filecreate_part.cpp filecreate_listitem.cpp filecreate_filetype.cpp filecreate_filedialog.cpp diff --git a/parts/filecreate/Makefile.am b/parts/filecreate/Makefile.am index efe204d9..ca0f1790 100644 --- a/parts/filecreate/Makefile.am +++ b/parts/filecreate/Makefile.am @@ -5,11 +5,11 @@ SUBDIRS = file-templates INCLUDES = -I$(top_srcdir)/lib/interfaces \ -I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util $(all_includes) -kde_module_LTLIBRARIES = libkdevfilecreate.la -libkdevfilecreate_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevfilecreate_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevfilecreate.la +libtdevfilecreate_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevfilecreate_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \ +libtdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \ filecreate_filetype.cpp filecreate_filedialog.cpp fcconfigwidgetbase.ui fcconfigwidget.cpp \ fctypeeditbase.ui fctypeedit.cpp fctemplateeditbase.ui fctemplateedit.cpp \ filecreate_newfile.cpp @@ -17,7 +17,7 @@ libkdevfilecreate_la_SOURCES = filecreate_part.cpp filecreate_listitem.cpp \ METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevfilecreate.desktop +service_DATA = tdevfilecreate.desktop -rcdir = $(kde_datadir)/kdevfilecreate -rc_DATA = kdevpart_filecreate.rc template-info.xml +rcdir = $(kde_datadir)/tdevfilecreate +rc_DATA = tdevpart_filecreate.rc template-info.xml diff --git a/parts/filecreate/README.dox b/parts/filecreate/README.dox index 34a7882d..fc0fbc76 100644 --- a/parts/filecreate/README.dox +++ b/parts/filecreate/README.dox @@ -20,7 +20,7 @@ Example XML: \verbatim - + @@ -28,7 +28,7 @@ Example XML: - + \endverbatim @@ -36,14 +36,14 @@ You can also use global template definitions supplied with the FileCreate part: \verbatim - + - + \endverbatim diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp index 7c6fabc4..14066c11 100644 --- a/parts/filecreate/fcconfigwidget.cpp +++ b/parts/filecreate/fcconfigwidget.cpp @@ -35,8 +35,8 @@ #include "fcconfigwidget.h" #include "filecreate_part.h" #include "filecreate_filetype.h" -#include "kdevproject.h" -#include "kdevpartcontroller.h" +#include "tdevproject.h" +#include "tdevpartcontroller.h" FCConfigWidget::FCConfigWidget(FileCreatePart * part, bool global, TQWidget *parent, const char *name): @@ -90,7 +90,7 @@ void FCConfigWidget::accept() void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks) { - TQString globalXMLFile = ::locate("data", "kdevfilecreate/template-info.xml"); + TQString globalXMLFile = ::locate("data", "tdevfilecreate/template-info.xml"); TQDomDocument globalDom; if (!globalXMLFile.isNull() && DomUtil::openDOMFile(globalDom,globalXMLFile)) { @@ -103,7 +103,7 @@ void FCConfigWidget::loadGlobalConfig(TQListView *view, bool checkmarks) if (checkmarks) { TQDomElement useGlobalTypes = - DomUtil::elementByPath(*(m_part->projectDom()),"/kdevfilecreate/useglobaltypes"); + DomUtil::elementByPath(*(m_part->projectDom()),"/tdevfilecreate/useglobaltypes"); for(TQDomNode node = useGlobalTypes.firstChild(); !node.isNull();node=node.nextSibling()) { if (node.isElement() && node.nodeName()=="type") @@ -171,14 +171,14 @@ void FCConfigWidget::saveGlobalConfig() TQDomDocument globalDom; TQDomElement element = globalDom.createElement("tdevelop" ); globalDom.appendChild(element); - TQDomElement apPart = globalDom.createElement("kdevfilecreate"); + TQDomElement apPart = globalDom.createElement("tdevfilecreate"); element.appendChild(apPart); TQDomElement fileTypes = globalDom.createElement( "filetypes" ); apPart.appendChild( fileTypes ); saveConfiguration(globalDom, fileTypes, true); - TQFile config( TDEGlobal::dirs()->saveLocation("data", "kdevfilecreate/", true) + "template-info.xml" ); + TQFile config( TDEGlobal::dirs()->saveLocation("data", "tdevfilecreate/", true) + "template-info.xml" ); config.open(IO_WriteOnly | IO_Truncate); TQTextStream stream(&config); stream << ""; @@ -190,10 +190,10 @@ void FCConfigWidget::saveProjectConfig() { TQDomDocument dom = *m_part->projectDom( ); TQDomElement element = dom.documentElement( ); - TQDomElement apPart = element.namedItem( "kdevfilecreate" ).toElement( ); + TQDomElement apPart = element.namedItem( "tdevfilecreate" ).toElement( ); if( apPart.isNull( ) ) { - apPart = dom.createElement( "kdevfilecreate" ); + apPart = dom.createElement( "tdevfilecreate" ); element.appendChild( apPart ); } @@ -291,7 +291,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element { TQString dest; if (global) - dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true); + dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true); else dest = m_part->project()->projectDirectory() + "/templates/"; if (it.current()->text(4) == "create") @@ -318,7 +318,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element { TQString dest; if (global) - dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true); + dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true); else dest = m_part->project()->projectDirectory() + "/templates/"; if (lastChild->text(4) == "create") @@ -440,7 +440,7 @@ void FCConfigWidget::copyToProject_button_clicked() it->parent()->text(1), it->parent()->text(2), it->parent()->text(3), - locate("data", "kdevfilecreate/file-templates/"+ it->parent()->text(0))); + locate("data", "tdevfilecreate/file-templates/"+ it->parent()->text(0))); destParent += it->parent()->text(0) + "-"; TQCheckListItem *chk = dynamic_cast(it->parent()); if (chk) @@ -452,13 +452,13 @@ void FCConfigWidget::copyToProject_button_clicked() it->text(1), it->text(2), it->text(3), - locate("data", "kdevfilecreate/file-templates/"+destParent + it->text(0))); + locate("data", "tdevfilecreate/file-templates/"+destParent + it->text(0))); else it_copy = new TQListViewItem(fc_view, it->text(0), it->text(1), it->text(2), it->text(3), - locate("data", "kdevfilecreate/file-templates/" +destParent+ it->text(0))); + locate("data", "tdevfilecreate/file-templates/" +destParent+ it->text(0))); TQCheckListItem *chk = dynamic_cast(it); if (chk) chk->setOn(false); @@ -470,7 +470,7 @@ void FCConfigWidget::copyToProject_button_clicked() it_child->text(1), it_child->text(2), it_child->text(3), - locate("data", "kdevfilecreate/file-templates/"+ it_copy->text(0) + "-" + it_child->text(0))); + locate("data", "tdevfilecreate/file-templates/"+ it_copy->text(0) + "-" + it_child->text(0))); TQCheckListItem *chk_child = dynamic_cast(it_child); if (chk_child) chk_child->setOn(false); @@ -683,7 +683,7 @@ void FCConfigWidget::edit_type_content_button_clicked( ) } else { - TQString dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true); + TQString dest = TDEGlobal::dirs()->saveLocation("data", "/tdevfilecreate/file-templates/", true); TQString typePath = dest + type_name; KURL content; content.setPath(typePath); @@ -691,7 +691,7 @@ void FCConfigWidget::edit_type_content_button_clicked( ) { TQFileInfo fi(dest+type_name); if (!fi.exists()) - copyTemplate(locate("data", "kdevfilecreate/file-templates/" + type_name), dest, type_name); + copyTemplate(locate("data", "tdevfilecreate/file-templates/" + type_name), dest, type_name); m_part->partController()->editDocument(content); } else diff --git a/parts/filecreate/file-templates/CMakeLists.txt b/parts/filecreate/file-templates/CMakeLists.txt index 04405e1a..37b9a309 100644 --- a/parts/filecreate/file-templates/CMakeLists.txt +++ b/parts/filecreate/file-templates/CMakeLists.txt @@ -14,4 +14,4 @@ install( FILES ui-dialogr ui-tabdialog ui-wizard dox ts ui-mainwin-qt4 ui-widget-qt4 ui-dialogb-qt4 ui-dialogr-qt4 ui-dialog-qt4 qrc - DESTINATION ${DATA_INSTALL_DIR}/kdevfilecreate/file-templates ) + DESTINATION ${DATA_INSTALL_DIR}/tdevfilecreate/file-templates ) diff --git a/parts/filecreate/file-templates/Makefile.am b/parts/filecreate/file-templates/Makefile.am index 672a1cfa..631e3554 100644 --- a/parts/filecreate/file-templates/Makefile.am +++ b/parts/filecreate/file-templates/Makefile.am @@ -1,2 +1,2 @@ -rcdir = $(kde_datadir)/kdevfilecreate/file-templates +rcdir = $(kde_datadir)/tdevfilecreate/file-templates rc_DATA = ui ui-dialog ui-mainwin ui-confdialog ui-dialogb ui-widget ui-dialogr ui-tabdialog ui-wizard dox ts ui-mainwin-qt4 ui-widget-qt4 ui-dialogb-qt4 ui-dialogr-qt4 ui-dialog-qt4 qrc diff --git a/parts/filecreate/filecreate_filedialog.h b/parts/filecreate/filecreate_filedialog.h index 54365717..616e9c2d 100644 --- a/parts/filecreate/filecreate_filedialog.h +++ b/parts/filecreate/filecreate_filedialog.h @@ -10,8 +10,8 @@ -#ifndef __KDEVPART_FILECREATE_FILEDIALOG_H__ -#define __KDEVPART_FILECREATE_FILEDIALOG_H__ +#ifndef __TDEVPART_FILECREATE_FILEDIALOG_H__ +#define __TDEVPART_FILECREATE_FILEDIALOG_H__ #include diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp index 19deeb66..11fcfa6c 100644 --- a/parts/filecreate/filecreate_part.cpp +++ b/parts/filecreate/filecreate_part.cpp @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include @@ -30,10 +30,10 @@ #include #include -#include "kdevcore.h" -#include "kdevmainwindow.h" -#include "kdevproject.h" -#include "kdevpartcontroller.h" +#include "tdevcore.h" +#include "tdevmainwindow.h" +#include "tdevproject.h" +#include "tdevpartcontroller.h" #include "configwidgetproxy.h" #include "filetemplate.h" @@ -50,23 +50,23 @@ #define PROJECTSETTINGSPAGE 1 #define GLOBALSETTINGSPAGE 2 -#include "kdevplugininfo.h" +#include "tdevplugininfo.h" #include "config.h" -static const KDevPluginInfo data("kdevfilecreate"); +static const TDevPluginInfo data("tdevfilecreate"); -typedef KDevGenericFactory FileCreateFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevfilecreate, FileCreateFactory( data ) ) +typedef TDevGenericFactory FileCreateFactory; +K_EXPORT_COMPONENT_FACTORY( libtdevfilecreate, FileCreateFactory( data ) ) using namespace FileCreate; FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStringList & ) -// : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0) - : KDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0) +// : TDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_selectedWidget(-1), m_useSideTab(true), m_subPopups(0) + : TDevCreateFile(&data, parent, name ? name : "FileCreatePart"), m_subPopups(0) { setInstance(FileCreateFactory::instance()); - setXMLFile("kdevpart_filecreate.rc"); + setXMLFile("tdevpart_filecreate.rc"); connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) ); connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) ); @@ -179,10 +179,10 @@ void FileCreatePart::slotNewFilePopup( int pFileType ) } void FileCreatePart::slotNewFile() { - KDevCreateFile::CreatedFile createdFile = createNewFile(); - if (createdFile.status == KDevCreateFile::CreatedFile::STATUS_NOTCREATED) + TDevCreateFile::CreatedFile createdFile = createNewFile(); + if (createdFile.status == TDevCreateFile::CreatedFile::STATUS_NOTCREATED) KMessageBox::error(0, i18n("Cannot create file. Check whether the directory and filename are valid.")); - else if (createdFile.status != KDevCreateFile::CreatedFile::STATUS_CANCELED) + else if (createdFile.status != TDevCreateFile::CreatedFile::STATUS_CANCELED) openCreatedFile(createdFile); } @@ -209,7 +209,7 @@ void FileCreatePart::slotProjectClosed() { void FileCreatePart::slotFiletypeSelected(const FileType * filetype) { - KDevCreateFile::CreatedFile createdFile = createNewFile(filetype->ext(), + TDevCreateFile::CreatedFile createdFile = createNewFile(filetype->ext(), TQString(), TQString(), filetype->subtypeRef()); @@ -217,9 +217,9 @@ void FileCreatePart::slotFiletypeSelected(const FileType * filetype) { openCreatedFile(createdFile); } -void FileCreatePart::openCreatedFile(const KDevCreateFile::CreatedFile & createdFile) +void FileCreatePart::openCreatedFile(const TDevCreateFile::CreatedFile & createdFile) { - if ( createdFile.status == KDevCreateFile::CreatedFile::STATUS_OK ) + if ( createdFile.status == TDevCreateFile::CreatedFile::STATUS_OK ) { KURL uu( createdFile.dir + "/" + createdFile.filename ); partController()->editDocument ( uu ); @@ -228,7 +228,7 @@ void FileCreatePart::openCreatedFile(const KDevCreateFile::CreatedFile & created int FileCreatePart::readTypes(const TQDomDocument & dom, TQPtrList &m_filetypes, bool enable) { int numRead = 0; - TQDomElement fileTypes = DomUtil::elementByPath(dom,"/kdevfilecreate/filetypes"); + TQDomElement fileTypes = DomUtil::elementByPath(dom,"/tdevfilecreate/filetypes"); if (!fileTypes.isNull()) { for(TQDomNode node = fileTypes.firstChild();!node.isNull();node=node.nextSibling()) { @@ -324,16 +324,16 @@ FileType * FileCreatePart::getEnabledType(const TQString & ex, const TQString su return NULL; } -// KDevFileCreate interface +// TDevFileCreate interface -KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString dir, TQString name, TQString subtype) +TDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString dir, TQString name, TQString subtype) { - KDevCreateFile::CreatedFile result; + TDevCreateFile::CreatedFile result; KURL projectURL; if ( !project() ) { - //result.status = KDevCreateFile::CreatedFile::STATUS_NOTCREATED; + //result.status = TDevCreateFile::CreatedFile::STATUS_NOTCREATED; //return result; } else @@ -373,7 +373,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString int dialogResult = dialog.exec(); if (dialogResult == KDialogBase::Rejected) { - result.status = KDevCreateFile::CreatedFile::STATUS_CANCELED; + result.status = TDevCreateFile::CreatedFile::STATUS_CANCELED; return result; } @@ -383,8 +383,8 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString selectedURL = dialog.url(); const FileType *selectedFileType = dialog.selectedType(); - if (dialog.addToProject() && !projectURL.isParentOf(selectedURL) && !(project()->options() & KDevProject::UsesTQMakeBuildSystem) ) { - result.status = KDevCreateFile::CreatedFile::STATUS_NOTWITHINPROJECT; + if (dialog.addToProject() && !projectURL.isParentOf(selectedURL) && !(project()->options() & TDevProject::UsesTQMakeBuildSystem) ) { + result.status = TDevCreateFile::CreatedFile::STATUS_NOTWITHINPROJECT; return result; } @@ -416,7 +416,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString } if (!created) { - result.status = KDevCreateFile::CreatedFile::STATUS_NOTCREATED; + result.status = TDevCreateFile::CreatedFile::STATUS_NOTCREATED; return result; } @@ -425,7 +425,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString // work out the path relative to the project directory // TQString relToProj = URLUtil::relativePath(projectURL, selectedURL, URLUtil::SLASH_PREFIX ); TQString relToProj; - if( project()->options() & KDevProject::UsesTQMakeBuildSystem ) + if( project()->options() & TDevProject::UsesTQMakeBuildSystem ) { relToProj = URLUtil::relativePathToFile( project()->projectDirectory(), fullPath ); project()->addFile(relToProj); @@ -445,7 +445,7 @@ KDevCreateFile::CreatedFile FileCreatePart::createNewFile(TQString ext, TQString result.filename = fileName; result.dir = URLUtil::directory(fullPath); - result.status = KDevCreateFile::CreatedFile::STATUS_OK; + result.status = TDevCreateFile::CreatedFile::STATUS_OK; return result; } @@ -464,7 +464,7 @@ void FileCreatePart::slotInitialize( ) // read in which global templates are to be used for this project TQDomElement useGlobalTypes = - DomUtil::elementByPath(*projectDom(),"/kdevfilecreate/useglobaltypes"); + DomUtil::elementByPath(*projectDom(),"/tdevfilecreate/useglobaltypes"); for(TQDomNode node = useGlobalTypes.firstChild(); !node.isNull();node=node.nextSibling()) { @@ -524,7 +524,7 @@ TQString FileCreatePart::findGlobalXMLFile() const { int version = 0; TQString filename; - TQStringList filenames = TDEGlobal::instance()->dirs()->findAllResources("data", "kdevfilecreate/template-info.xml"); + TQStringList filenames = TDEGlobal::instance()->dirs()->findAllResources("data", "tdevfilecreate/template-info.xml"); for( TQStringList::const_iterator it = filenames.begin(); it != filenames.end(); ++it ) { TQDomDocument globalDom; diff --git a/parts/filecreate/filecreate_part.h b/parts/filecreate/filecreate_part.h index 9d090493..0b6e5a01 100644 --- a/parts/filecreate/filecreate_part.h +++ b/parts/filecreate/filecreate_part.h @@ -10,16 +10,16 @@ -#ifndef __KDEVPART_FILECREATE_H__ -#define __KDEVPART_FILECREATE_H__ +#ifndef __TDEVPART_FILECREATE_H__ +#define __TDEVPART_FILECREATE_H__ #include #include #include -#include -#include +#include +#include #include "filecreate_typechooser.h" @@ -36,7 +36,7 @@ class ConfigWidgetProxy; using namespace FileCreate; -class FileCreatePart : public KDevCreateFile +class FileCreatePart : public TDevCreateFile { Q_OBJECT @@ -57,7 +57,7 @@ public: * The user will be prompted as necessary for the missing information, and the * file created, and added to the project as necessary. */ - virtual KDevCreateFile::CreatedFile createNewFile(TQString ext = TQString(), + virtual TDevCreateFile::CreatedFile createNewFile(TQString ext = TQString(), TQString dir = TQString(), TQString name = TQString(), TQString subtype = TQString()); @@ -106,7 +106,7 @@ private: /** * If a file has been successfully created, open it */ - void openCreatedFile(const KDevCreateFile::CreatedFile & createdFile); + void openCreatedFile(const TDevCreateFile::CreatedFile & createdFile); /** * Reads in file type definitions from a config DOM and adds them diff --git a/parts/filecreate/filecreate_widget2.cpp b/parts/filecreate/filecreate_widget2.cpp index 4638725c..d57fbf48 100644 --- a/parts/filecreate/filecreate_widget2.cpp +++ b/parts/filecreate/filecreate_widget2.cpp @@ -19,9 +19,9 @@ #include #include -#include +#include -#include "kdevproject.h" +#include "tdevproject.h" #include "filecreate_part.h" #include "filecreate_widget2.h" #include "filecreate_filetype.h" diff --git a/parts/filecreate/filecreate_widget2.h b/parts/filecreate/filecreate_widget2.h index 217d37ce..3e4df801 100644 --- a/parts/filecreate/filecreate_widget2.h +++ b/parts/filecreate/filecreate_widget2.h @@ -21,7 +21,7 @@ #include "filecreate_typechooser.h" class TDEIconLoader; -class KDevProject; +class TDevProject; class FileCreatePart; namespace FileCreate { diff --git a/parts/filecreate/filecreate_widget3.cpp b/parts/filecreate/filecreate_widget3.cpp index caf1ac74..e541038c 100644 --- a/parts/filecreate/filecreate_widget3.cpp +++ b/parts/filecreate/filecreate_widget3.cpp @@ -18,11 +18,11 @@ #include #include #include -#include +#include #include "filecreate_widget3.h" -#include "kdevproject.h" +#include "tdevproject.h" #include "filecreate_part.h" #include "filecreate_filetype.h" #include "filecreate_listitem.h" @@ -30,7 +30,7 @@ namespace FileCreate { ListWidget::ListWidget(FileCreatePart *part) - : TDEListView(0, "KDevFileCreate"), TypeChooser(part) + : TDEListView(0, "TDevFileCreate"), TypeChooser(part) { setIcon( SmallIcon("filenew2") ); setCaption(i18n("File Create")); diff --git a/parts/filecreate/filecreate_widget3.h b/parts/filecreate/filecreate_widget3.h index ac8b866e..244bf78d 100644 --- a/parts/filecreate/filecreate_widget3.h +++ b/parts/filecreate/filecreate_widget3.h @@ -19,7 +19,7 @@ #include "filecreate_typechooser.h" -class KDevProject; +class TDevProject; class FileCreatePart; class TQResizeEvent; diff --git a/parts/filecreate/kdevfilecreate.desktop b/parts/filecreate/kdevfilecreate.desktop deleted file mode 100644 index 1861090d..00000000 --- a/parts/filecreate/kdevfilecreate.desktop +++ /dev/null @@ -1,77 +0,0 @@ -[Desktop Entry] -Type=Service -Exec=blubb -Comment=FileCreate -Comment[ca]=Creació de fitxers -Comment[da]=Filoprettelse -Comment[de]=Eine Komponente, die Unterstützung bei der Erstellung von Dateien bietet -Comment[el]=ΔημιουργίαΑρχείου -Comment[es]=Creación de archivos -Comment[eu]=Fitxategi sorkuntza -Comment[fa]=ایجاد پرونده -Comment[fr]=Création de fichiers -Comment[hi]=फ़ाइल-क्रिएट -Comment[hu]=Fájl létrehozása -Comment[it]=Crea file -Comment[ja]=ファイル作成 -Comment[ms]=CiptaFail -Comment[nds]=Dateiopstellen -Comment[ne]=फाइल सिर्जना -Comment[nl]=Bestand aanmaken -Comment[pl]=Tworzenie pliku -Comment[pt]=Criação de Ficheiros -Comment[ru]=Мастер создания файлов -Comment[sk]=Vytvoriť súbor -Comment[sl]=Ustvarjanje datotek -Comment[sr]=Направи фајл -Comment[sr@Latn]=Napravi fajl -Comment[sv]=Skapa filer -Comment[ta]= கோப்பு உருவாக்கப்பட்டது -Comment[tg]=Устои бунёд кардани файлҳо -Comment[zh_CN]=文件创建 -Comment[zh_TW]=檔案建立 -Name=KDevFileCreate -Name[da]=TDevelop filoprettelse -Name[de]=Dateierstellungs-Komponente (TDevelop) -Name[hi]=के-डेव-फ़ाइल-क्रिएट -Name[nds]=TDevelop-Dateiopstellen -Name[pl]=KDevTworzeniePliku -Name[sk]=KDev vytvoriť súbor -Name[sv]=TDevelop skapa filer -Name[ta]=KDev உருவாக்கப்பட்ட கோப்பு -Name[tg]=Сохткунандаи KDev -Name[zh_TW]=TDevelop 檔案建立 -GenericName=FileCreate -GenericName[ca]=Creació de fitxers -GenericName[da]=Filoprettelse -GenericName[de]=Dateierstellungs-Komponente -GenericName[el]=ΔημιουργίαΑρχείου -GenericName[es]=Creación de archivos -GenericName[eu]=Fitxategi sorkuntza -GenericName[fa]=ایجاد پرونده -GenericName[hi]=फ़ाइल-क्रिएट -GenericName[hu]=Fájl létrehozása -GenericName[it]=Crea file -GenericName[ja]=ファイル作成 -GenericName[ms]=CiptaFail -GenericName[nds]=Dateiopstellen -GenericName[ne]=फाइल सिर्जना -GenericName[nl]=Bestand aanmaken -GenericName[pl]=Tworzenie pliku -GenericName[pt]=Criação de Ficheiros -GenericName[ru]=Мастер создания файлов -GenericName[sk]=Vytvoriť súbor -GenericName[sl]=Ustvarjanje datotek -GenericName[sr]=Направи фајл -GenericName[sr@Latn]=Napravi fajl -GenericName[sv]=Skapa filer -GenericName[ta]=கோப்பு உருவாக்கம் -GenericName[tg]=Устои бунёд кардани файлҳо -GenericName[zh_CN]=文件创建 -GenericName[zh_TW]=檔案建立 -Icon=wizard -ServiceTypes=TDevelop/CreateFile -X-TDE-Library=libkdevfilecreate -X-TDevelop-Version=5 -X-TDevelop-Properties=FileCreation -X-TDevelop-Scope=Core diff --git a/parts/filecreate/kdevpart_filecreate.rc b/parts/filecreate/kdevpart_filecreate.rc deleted file mode 100644 index 401a1378..00000000 --- a/parts/filecreate/kdevpart_filecreate.rc +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/parts/filecreate/tdevfilecreate.desktop b/parts/filecreate/tdevfilecreate.desktop new file mode 100644 index 00000000..d9accc3c --- /dev/null +++ b/parts/filecreate/tdevfilecreate.desktop @@ -0,0 +1,77 @@ +[Desktop Entry] +Type=Service +Exec=blubb +Comment=FileCreate +Comment[ca]=Creació de fitxers +Comment[da]=Filoprettelse +Comment[de]=Eine Komponente, die Unterstützung bei der Erstellung von Dateien bietet +Comment[el]=ΔημιουργίαΑρχείου +Comment[es]=Creación de archivos +Comment[eu]=Fitxategi sorkuntza +Comment[fa]=ایجاد پرونده +Comment[fr]=Création de fichiers +Comment[hi]=फ़ाइल-क्रिएट +Comment[hu]=Fájl létrehozása +Comment[it]=Crea file +Comment[ja]=ファイル作成 +Comment[ms]=CiptaFail +Comment[nds]=Dateiopstellen +Comment[ne]=फाइल सिर्जना +Comment[nl]=Bestand aanmaken +Comment[pl]=Tworzenie pliku +Comment[pt]=Criação de Ficheiros +Comment[ru]=Мастер создания файлов +Comment[sk]=Vytvoriť súbor +Comment[sl]=Ustvarjanje datotek +Comment[sr]=Направи фајл +Comment[sr@Latn]=Napravi fajl +Comment[sv]=Skapa filer +Comment[ta]= கோப்பு உருவாக்கப்பட்டது +Comment[tg]=Устои бунёд кардани файлҳо +Comment[zh_CN]=文件创建 +Comment[zh_TW]=檔案建立 +Name=TDevFileCreate +Name[da]=TDevelop filoprettelse +Name[de]=Dateierstellungs-Komponente (TDevelop) +Name[hi]=के-डेव-फ़ाइल-क्रिएट +Name[nds]=TDevelop-Dateiopstellen +Name[pl]=KDevTworzeniePliku +Name[sk]=KDev vytvoriť súbor +Name[sv]=TDevelop skapa filer +Name[ta]=KDev உருவாக்கப்பட்ட கோப்பு +Name[tg]=Сохткунандаи KDev +Name[zh_TW]=TDevelop 檔案建立 +GenericName=FileCreate +GenericName[ca]=Creació de fitxers +GenericName[da]=Filoprettelse +GenericName[de]=Dateierstellungs-Komponente +GenericName[el]=ΔημιουργίαΑρχείου +GenericName[es]=Creación de archivos +GenericName[eu]=Fitxategi sorkuntza +GenericName[fa]=ایجاد پرونده +GenericName[hi]=फ़ाइल-क्रिएट +GenericName[hu]=Fájl létrehozása +GenericName[it]=Crea file +GenericName[ja]=ファイル作成 +GenericName[ms]=CiptaFail +GenericName[nds]=Dateiopstellen +GenericName[ne]=फाइल सिर्जना +GenericName[nl]=Bestand aanmaken +GenericName[pl]=Tworzenie pliku +GenericName[pt]=Criação de Ficheiros +GenericName[ru]=Мастер создания файлов +GenericName[sk]=Vytvoriť súbor +GenericName[sl]=Ustvarjanje datotek +GenericName[sr]=Направи фајл +GenericName[sr@Latn]=Napravi fajl +GenericName[sv]=Skapa filer +GenericName[ta]=கோப்பு உருவாக்கம் +GenericName[tg]=Устои бунёд кардани файлҳо +GenericName[zh_CN]=文件创建 +GenericName[zh_TW]=檔案建立 +Icon=wizard +ServiceTypes=TDevelop/CreateFile +X-TDE-Library=libtdevfilecreate +X-TDevelop-Version=5 +X-TDevelop-Properties=FileCreation +X-TDevelop-Scope=Core diff --git a/parts/filecreate/tdevpart_filecreate.rc b/parts/filecreate/tdevpart_filecreate.rc new file mode 100644 index 00000000..09a293ee --- /dev/null +++ b/parts/filecreate/tdevpart_filecreate.rc @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/parts/filecreate/template-info.xml b/parts/filecreate/template-info.xml index 664fa376..9afd9825 100644 --- a/parts/filecreate/template-info.xml +++ b/parts/filecreate/template-info.xml @@ -1,6 +1,6 @@ - + @@ -177,5 +177,5 @@ A new empty Qt Linguist translation source file. - + -- cgit v1.2.1