summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/kxt/app.rb
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/app_templates/kxt/app.rb')
-rw-r--r--languages/ruby/app_templates/kxt/app.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb
index 59a7c266..f7a18399 100644
--- a/languages/ruby/app_templates/kxt/app.rb
+++ b/languages/ruby/app_templates/kxt/app.rb
@@ -40,23 +40,23 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI();
# allow the view to change the statusbar and caption
- connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
- self, SLOT('changeStatusbar(const TQString&)'))
- connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
- self, SLOT('changeCaption(const TQString&)'))
+ connect(@view, TQ_SIGNAL('signalChangeStatusbar(const TQString&)'),
+ self, TQ_SLOT('changeStatusbar(const TQString&)'))
+ connect(@view, TQ_SIGNAL('signalChangeCaption(const TQString&)'),
+ self, TQ_SLOT('changeCaption(const TQString&)'))
end
def setupActions()
- KDE::StdAction.openNew(self, SLOT('fileNew()'), actionCollection())
- KDE::StdAction.quit($kapp, SLOT('quit()'), actionCollection())
+ KDE::StdAction.openNew(self, TQ_SLOT('fileNew()'), actionCollection())
+ KDE::StdAction.quit($kapp, TQ_SLOT('quit()'), actionCollection())
- KDE::StdAction.preferences(self, SLOT('optionsPreferences()'), actionCollection())
+ KDE::StdAction.preferences(self, TQ_SLOT('optionsPreferences()'), actionCollection())
# this doesn't do anything useful. it's just here to illustrate
# how to insert a custom menu and menu item
custom = KDE::Action.new(i18n("Swi&tch Colors"), KDE::Shortcut.new(),
- @view, SLOT('switchColors()'),
+ @view, TQ_SLOT('switchColors()'),
actionCollection(), "switch_action")
end
@@ -76,7 +76,7 @@ class %{APPNAMESC} < KDE::MainWindow
# to the names of the variables in the .kcfg file
dialog = KDE::ConfigDialog.new(self, "settings", Settings.instance, KDE::DialogBase::Swallow)
dialog.addPage(Prefs.new(), i18n("General"), "package_settings")
- connect(dialog, SIGNAL('settingsChanged()'), @view, SLOT('settingsChanged()'))
+ connect(dialog, TQ_SIGNAL('settingsChanged()'), @view, TQ_SLOT('settingsChanged()'))
dialog.show()
end