summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppnewclassdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:37:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:37:05 -0600
commit313fa28dc5e72d738faec49ff14fa5aed4a7fcd4 (patch)
treedf0fec64d296b72881b384fcc7dd4541c84d2d88 /languages/cpp/cppnewclassdlg.cpp
parent1040d772e2544a98af4bc49c94b47cea28111559 (diff)
downloadtdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.tar.gz
tdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.zip
Rename additional global TQt functions
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r--languages/cpp/cppnewclassdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp
index 88c01ef8..aa931991 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -534,7 +534,7 @@ void CppNewClassDialog::remClassFromAdv( TQString text )
int *index = new int(1);
if (constructors_cpp_edit->find(text + "(", true, false, true, para, index))
{
- qWarning("%s( found", text.latin1());
+ tqWarning("%s( found", text.latin1());
if (para) constructors_cpp_edit->removeParagraph(*para);
}*/
delete it;
@@ -936,7 +936,7 @@ bool CppNewClassDialog::isConstructor( TQString className, const FunctionDom &me
// regexp: myclass\\s*\\(\\s*(const)?\\s*myclass\\s*&[A-Za-z_0-9\\s]*\\) is for copy constructors
if ( ( className == method->name() ) )
{
- qWarning( "1x" );
+ tqWarning( "1x" );
if ( ( method->argumentList().count() == 1 ) && ( m_part->formatModelItem( method->argumentList() [ 0 ].data() ).contains( TQRegExp( " *(const)? *" + className + " *& *" ) ) ) )
// if ( method->asString().contains(TQRegExp(className + "\\s*\\(\\s*(const)?\\s*" + className + "\\s*&[A-Za-z_0-9\\s]*\\)", true, false)) )
return false;
@@ -1701,7 +1701,7 @@ void CppNewClassDialog::ClassGenerator::gen_implementation()
"{\n"
"}\n" );
- qWarning( "NEW CLASS: constructors = %s", constructors.latin1() );
+ tqWarning( "NEW CLASS: constructors = %s", constructors.latin1() );
if ( childClass )
{
@@ -1789,7 +1789,7 @@ void CppNewClassDialog::ClassGenerator::gen_implementation()
constructors.replace( TQRegExp( "\\$BASEINITIALIZER\\$" ), baseInitializer );
constructors.replace( TQRegExp( "\\$CLASSNAME\\$" ), className );
- // qWarning("NEW CLASS: constructors = %s", constructors.latin1());
+ // tqWarning("NEW CLASS: constructors = %s", constructors.latin1());
if ( templateStr.isEmpty() )
{
constructors.replace( TQRegExp( "\\$TEMPLATESTR\\$\\n" ), "" );
@@ -1801,9 +1801,9 @@ void CppNewClassDialog::ClassGenerator::gen_implementation()
constructors.replace( TQRegExp( "\\$TEMPLATEPARAMS\\$" ), templateParams );
classImpl.replace( TQRegExp( "#include \"\\$HEADER\\$\"\\n" ), "" );
}
- // qWarning("NEW CLASS: constructors = %s", constructors.latin1());
+ // tqWarning("NEW CLASS: constructors = %s", constructors.latin1());
constructors.replace( TQRegExp( "\\$ARGS\\$" ), argsCpp );
- // qWarning("NEW CLASS: constructors = %s", constructors.latin1());
+ // tqWarning("NEW CLASS: constructors = %s", constructors.latin1());
//remove unnesessary carriadge returns