diff options
Diffstat (limited to 'languages/php/phpnewclassdlg.cpp')
-rw-r--r-- | languages/php/phpnewclassdlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/php/phpnewclassdlg.cpp b/languages/php/phpnewclassdlg.cpp index 314dfcf6..ddc3b507 100644 --- a/languages/php/phpnewclassdlg.cpp +++ b/languages/php/phpnewclassdlg.cpp @@ -37,7 +37,7 @@ PHPNewClassDlg::PHPNewClassDlg(const TQStringList& baseClassNames,const TQString m_dirEdit->setText(directory); // load the class template if available - TQString templateFile = KGlobal::instance()->dirs()->findResource("data","kdevphpsupport/newclasstemplate.txt"); + TQString templateFile = TDEGlobal::instance()->dirs()->findResource("data","kdevphpsupport/newclasstemplate.txt"); if(!templateFile.isNull()){ TQFile file(templateFile); TQTextStream stream(&file); @@ -86,7 +86,7 @@ void PHPNewClassDlg::accept(){ TQString absFileName = classDir + m_fileNameEdit->text(); // save the template for the next time - TQString templateDir = KGlobal::instance()->dirs()->saveLocation("data") + "/kdevphpsupport/"; + TQString templateDir = TDEGlobal::instance()->dirs()->saveLocation("data") + "/kdevphpsupport/"; TQString templateFile = templateDir + "newclasstemplate.txt"; TQDir dir(templateDir); if(!dir.exists()){ |