summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/uitdemdi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/examples/uitdemdi.rb')
-rw-r--r--korundum/rubylib/examples/uitdemdi.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/korundum/rubylib/examples/uitdemdi.rb b/korundum/rubylib/examples/uitdemdi.rb
index 3b67b9e1..fe5655c6 100644
--- a/korundum/rubylib/examples/uitdemdi.rb
+++ b/korundum/rubylib/examples/uitdemdi.rb
@@ -54,9 +54,9 @@ class KmdiExample < KDE::MdiMainFrm
@viewIcons = ['network', 'email', 'stop', 'back', 'forward']
@toolIcons = ['view_icon', 'configure']
- openNewAction = StdAction.openNew(self, SLOT('newView()'), actionCollection())
- quitAction = StdAction.quit(self, SLOT('close()'), actionCollection())
- closeAction = StdAction.close(self, SLOT('closeActiveChild()'), actionCollection())
+ openNewAction = StdAction.openNew(self, TQ_SLOT('newView()'), actionCollection())
+ quitAction = StdAction.quit(self, TQ_SLOT('close()'), actionCollection())
+ closeAction = StdAction.close(self, TQ_SLOT('closeActiveChild()'), actionCollection())
uifilebase = Dir.getwd + '/uitdemdi.rc'
createGUI(uifilebase)
@@ -82,9 +82,9 @@ class KmdiExample < KDE::MdiMainFrm
makeView("View #{idx.to_s}", ico, ico)
end
- connect(self, SIGNAL('viewActivated(KMdiChildView*)'), self, SLOT('activatedMessage(KMdiChildView*)'))
- connect(self, SIGNAL('viewActivated(KMdiChildView*)'), self, SLOT('syncFromChildView(KMdiChildView*)'))
- connect(@maintool, SIGNAL('selectionChanged(TQListBoxItem*)'), self, SLOT('syncFromMainTool(TQListBoxItem*)'))
+ connect(self, TQ_SIGNAL('viewActivated(KMdiChildView*)'), self, TQ_SLOT('activatedMessage(KMdiChildView*)'))
+ connect(self, TQ_SIGNAL('viewActivated(KMdiChildView*)'), self, TQ_SLOT('syncFromChildView(KMdiChildView*)'))
+ connect(@maintool, TQ_SIGNAL('selectionChanged(TQListBoxItem*)'), self, TQ_SLOT('syncFromMainTool(TQListBoxItem*)'))
syncFromChildView(activeWindow())
end
@@ -128,7 +128,7 @@ class KmdiExample < KDE::MdiMainFrm
pxm.setPixmap(getIcon(icon, Icon::NoGroup, KDE::Icon::SizeLarge))
addWindow(view)
@mainToolWidget.insertItem(label)
- connect(view, SIGNAL('childWindowCloseRequest(KMdiChildView*)'), self, SLOT('closeChild(KMdiChildView*)'))
+ connect(view, TQ_SIGNAL('childWindowCloseRequest(KMdiChildView*)'), self, TQ_SLOT('closeChild(KMdiChildView*)'))
end
def removeMainToolItem(view)