diff options
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r-- | languages/cpp/cppnewclassdlg.cpp | 6 |
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() ) |