From 313fa28dc5e72d738faec49ff14fa5aed4a7fcd4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:37:05 -0600 Subject: Rename additional global TQt functions --- languages/cpp/app_templates/opienet/simpleiface.cpp | 2 +- languages/cpp/app_templates/qt4hello/main.cpp | 2 +- languages/cpp/cppnewclassdlg.cpp | 12 ++++++------ languages/php/phpconfigwidget.cpp | 4 ++-- languages/ruby/app_templates/dcopservice/app.cpp | 2 +- languages/ruby/app_templates/kapp/app.cpp | 2 +- languages/ruby/app_templates/kxt/app.cpp | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'languages') 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 diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp index 113defb9..5be07acb 100644 --- a/languages/php/phpconfigwidget.cpp +++ b/languages/php/phpconfigwidget.cpp @@ -119,12 +119,12 @@ void PHPConfigWidget::accept() void PHPConfigWidget::slotZendButtonClicked() { - qWarning( "PHPConfigWidgetBase::slotZendButtonClicked(): Not implemented yet!" ); + tqWarning( "PHPConfigWidgetBase::slotZendButtonClicked(): Not implemented yet!" ); } void PHPConfigWidget::slotAboutClicked() { - qWarning( "PHPConfigWidget::slotAboutClicked()" ); + tqWarning( "PHPConfigWidget::slotAboutClicked()" ); KShellProcess proc("/bin/sh"); proc << exe_edit->text(); proc << "-m"; diff --git a/languages/ruby/app_templates/dcopservice/app.cpp b/languages/ruby/app_templates/dcopservice/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/dcopservice/app.cpp +++ b/languages/ruby/app_templates/dcopservice/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); diff --git a/languages/ruby/app_templates/kapp/app.cpp b/languages/ruby/app_templates/kapp/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/kapp/app.cpp +++ b/languages/ruby/app_templates/kapp/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); diff --git a/languages/ruby/app_templates/kxt/app.cpp b/languages/ruby/app_templates/kxt/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/kxt/app.cpp +++ b/languages/ruby/app_templates/kxt/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); -- cgit v1.2.1