summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/fcconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filecreate/fcconfigwidget.cpp')
-rw-r--r--parts/filecreate/fcconfigwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp
index 8b4ca11a..d703197c 100644
--- a/parts/filecreate/fcconfigwidget.cpp
+++ b/parts/filecreate/fcconfigwidget.cpp
@@ -178,7 +178,7 @@ void FCConfigWidget::saveGlobalConfig()
saveConfiguration(globalDom, fileTypes, true);
- TQFile config( KGlobal::dirs()->saveLocation("data", "kdevfilecreate/", true) + "template-info.xml" );
+ TQFile config( TDEGlobal::dirs()->saveLocation("data", "kdevfilecreate/", true) + "template-info.xml" );
config.open(IO_WriteOnly | IO_Truncate);
TQTextStream stream(&config);
stream << "<?xml version = '1.0'?>";
@@ -291,7 +291,7 @@ void FCConfigWidget::saveConfiguration(TQDomDocument &dom, TQDomElement &element
{
TQString dest;
if (global)
- dest = KGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/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 = KGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
else
dest = m_part->project()->projectDirectory() + "/templates/";
if (lastChild->text(4) == "create")
@@ -683,7 +683,7 @@ void FCConfigWidget::edit_type_content_button_clicked( )
}
else
{
- TQString dest = KGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
+ TQString dest = TDEGlobal::dirs()->saveLocation("data", "/kdevfilecreate/file-templates/", true);
TQString typePath = dest + type_name;
KURL content;
content.setPath(typePath);