summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppnewclassdlg.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-21 13:38:34 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-11-17 18:35:36 +0100
commita660674175fc38adc9a3d232e619cd856034b875 (patch)
treec246be2e75a2577ade93ed03c3bac231e83109bd /languages/cpp/cppnewclassdlg.cpp
parent236c8d66c5bbcb9b3790de5f032699f12a95d990 (diff)
downloadtdevelop-a660674175fc38adc9a3d232e619cd856034b875.tar.gz
tdevelop-a660674175fc38adc9a3d232e619cd856034b875.zip
Fix inadvertent tqt changes.
(cherry picked from commit ffc74f031874e3823f212e40a03cb9f25091cb5f)
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r--languages/cpp/cppnewclassdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp
index 4742c6e9..68272116 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -1820,9 +1820,9 @@ void CppNewClassDialog::ClassGenerator::gen_implementation()
if ( ( dlg.m_part->project() ) && ( childClass || qobject ) && ( dlg.m_part->project() ->options() & KDevProject::UsesAutotoolsBuildSystem ) )
{
- TQString tqmoc = header;
- tqmoc.replace( TQRegExp( "\\..*" ), ".tqmoc" );
- classImpl += "#include \"" + tqmoc + "\"\n";
+ TQString moc = header;
+ moc.replace( TQRegExp( "\\..*" ), ".moc" );
+ classImpl += "#include \"" + moc + "\"\n";
}
if ( dlg.gen_config->reformat_box->isChecked() )