summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/designer
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/designer')
-rw-r--r--qtruby/rubylib/designer/examples/colortool/mainform.ui.rb4
-rw-r--r--qtruby/rubylib/designer/rbuic/form.cpp2
-rw-r--r--qtruby/rubylib/designer/uilib/test/test.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/designer/examples/colortool/mainform.ui.rb b/qtruby/rubylib/designer/examples/colortool/mainform.ui.rb
index 3f4f5945..e83207d9 100644
--- a/qtruby/rubylib/designer/examples/colortool/mainform.ui.rb
+++ b/qtruby/rubylib/designer/examples/colortool/mainform.ui.rb
@@ -321,8 +321,8 @@ end
def editFind()
if ! @findForm
@findForm = FindForm.new( self )
- connect( @findForm, SIGNAL( 'lookfor(const TQString&)' ),
- self, SLOT( 'lookfor(const TQString&)' ) )
+ connect( @findForm, TQ_SIGNAL( 'lookfor(const TQString&)' ),
+ self, TQ_SLOT( 'lookfor(const TQString&)' ) )
end
@findForm.show()
end
diff --git a/qtruby/rubylib/designer/rbuic/form.cpp b/qtruby/rubylib/designer/rbuic/form.cpp
index 45aa9435..2eb8e45a 100644
--- a/qtruby/rubylib/designer/rbuic/form.cpp
+++ b/qtruby/rubylib/designer/rbuic/form.cpp
@@ -751,7 +751,7 @@ void Uic::createFormImpl( const TQDomElement &e )
receiver = "self";
out << indent << "TQt::Object.connect(" << sender
- << ", TQT_SIGNAL(\"" << signal << "\"), "<< receiver << ", TQT_SLOT(\"" << slot << "\") )" << endl;
+ << ", TQ_SIGNAL(\"" << signal << "\"), "<< receiver << ", TQ_SLOT(\"" << slot << "\") )" << endl;
}
} else if ( n.tagName() == "tabstops" ) {
// setup tab order
diff --git a/qtruby/rubylib/designer/uilib/test/test.rb b/qtruby/rubylib/designer/uilib/test/test.rb
index ff3570cc..e089c735 100644
--- a/qtruby/rubylib/designer/uilib/test/test.rb
+++ b/qtruby/rubylib/designer/uilib/test/test.rb
@@ -15,6 +15,6 @@ if ARGV.length == 2
exit
end
w.show()
- a.connect( a, SIGNAL('lastWindowClosed()'), a, SLOT('quit()') )
+ a.connect( a, TQ_SIGNAL('lastWindowClosed()'), a, TQ_SLOT('quit()') )
a.exec()
end