summaryrefslogtreecommitdiffstats
path: root/languages/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
parent1040d772e2544a98af4bc49c94b47cea28111559 (diff)
downloadtdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.tar.gz
tdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.zip
Rename additional global TQt functions
Diffstat (limited to 'languages/cpp')
-rw-r--r--languages/cpp/app_templates/opienet/simpleiface.cpp2
-rw-r--r--languages/cpp/app_templates/qt4hello/main.cpp2
-rw-r--r--languages/cpp/cppnewclassdlg.cpp12
3 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp
index bbabcbda..df336de5 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.cpp
+++ b/languages/cpp/app_templates/opienet/simpleiface.cpp
@@ -17,7 +17,7 @@ bool %{APPNAME}Interface::refresh() {
* I take wlan0 in my case
*/
TQString old = getInterfaceName();
- qWarning("Interface name was " + old );
+ tqWarning("Interface name was " + old );
setInterfaceName( "wlan0" );
bool b =Interface::refresh();
diff --git a/languages/cpp/app_templates/qt4hello/main.cpp b/languages/cpp/app_templates/qt4hello/main.cpp
index 59ee17d7..905f35fb 100644
--- a/languages/cpp/app_templates/qt4hello/main.cpp
+++ b/languages/cpp/app_templates/qt4hello/main.cpp
@@ -5,7 +5,7 @@
int main(int argc, char *argv[])
{
TQCoreApplication app(argc, argv);
- qDebug("Hello from TQt 4!");
+ tqDebug("Hello from TQt 4!");
return 0;
}
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