diff options
Diffstat (limited to 'languages/ruby/app_templates/kxt')
-rw-r--r-- | languages/ruby/app_templates/kxt/app.rb | 12 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/appview.rb | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb index 9ab56921..59a7c266 100644 --- a/languages/ruby/app_templates/kxt/app.rb +++ b/languages/ruby/app_templates/kxt/app.rb @@ -12,8 +12,8 @@ class %{APPNAMESC} < KDE::MainWindow Q_SLOTS 'fileNew()', 'optionsPreferences()', 'newToolbarConfig()', - 'changeStatusbar(const QString&)', - 'changeCaption(const QString&)' + 'changeStatusbar(const TQString&)', + 'changeCaption(const TQString&)' def initialize() super( nil, "%{APPNAMESC}" ) @@ -40,10 +40,10 @@ class %{APPNAMESC} < KDE::MainWindow setupGUI(); # allow the view to change the statusbar and caption - connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'), - self, SLOT('changeStatusbar(const QString&)')) - connect(@view, SIGNAL('signalChangeCaption(const QString&)'), - self, SLOT('changeCaption(const QString&)')) + connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'), + self, SLOT('changeStatusbar(const TQString&)')) + connect(@view, SIGNAL('signalChangeCaption(const TQString&)'), + self, SLOT('changeCaption(const TQString&)')) end diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 58327208..4f63037f 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -15,12 +15,12 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base # # Use this signal to change the content of the statusbar # - Q_SIGNALS 'signalChangeStatusbar(const QString&)' + Q_SIGNALS 'signalChangeStatusbar(const TQString&)' # # Use this signal to change the content of the caption # - Q_SIGNALS 'signalChangeCaption(const QString&)' + Q_SIGNALS 'signalChangeCaption(const TQString&)' Q_SLOTS 'switchColors()', 'settingsChanged()' |