summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates/kappjava/app.java
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:12:29 +0900
commit0b6a83b773c37ee6949d73346c4a669aa1fc98b8 (patch)
tree03606cf5d79c9c08b77909997c4301fb34bc783c /languages/java/app_templates/kappjava/app.java
parent19ccb502fc61ce7dfa1d030d833d2b1f898051f4 (diff)
downloadtdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.tar.gz
tdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c)
Diffstat (limited to 'languages/java/app_templates/kappjava/app.java')
-rw-r--r--languages/java/app_templates/kappjava/app.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/java/app_templates/kappjava/app.java b/languages/java/app_templates/kappjava/app.java
index 40bc6b93..50f3bff1 100644
--- a/languages/java/app_templates/kappjava/app.java
+++ b/languages/java/app_templates/kappjava/app.java
@@ -43,10 +43,10 @@ public class %{APPNAME} extends TDEMainWindow
setupGUI();
// allow the view to change the statusbar and caption
- connect(m_view, SIGNAL("signalChangeStatusbar(String)"),
- this, SLOT("changeStatusbar(String)"));
- connect(m_view, SIGNAL("signalChangeCaption(String)"),
- this, SLOT("changeCaption(String)"));
+ connect(m_view, TQ_SIGNAL("signalChangeStatusbar(String)"),
+ this, TQ_SLOT("changeStatusbar(String)"));
+ connect(m_view, TQ_SIGNAL("signalChangeCaption(String)"),
+ this, TQ_SLOT("changeCaption(String)"));
}
@@ -77,19 +77,19 @@ public void load(KURL url)
public void setupActions()
{
TDEApplication kapp = TDEApplication.kApplication();
- KStdAction.openNew(this, SLOT("fileNew()"), actionCollection());
- KStdAction.open(this, SLOT("fileOpen()"), actionCollection());
- KStdAction.save(this, SLOT("fileSave()"), actionCollection());
- KStdAction.saveAs(this, SLOT("fileSaveAs()"), actionCollection());
- KStdAction.print(this, SLOT("filePrint()"), actionCollection());
- KStdAction.quit(kapp, SLOT("quit()"), actionCollection());
+ KStdAction.openNew(this, TQ_SLOT("fileNew()"), actionCollection());
+ KStdAction.open(this, TQ_SLOT("fileOpen()"), actionCollection());
+ KStdAction.save(this, TQ_SLOT("fileSave()"), actionCollection());
+ KStdAction.saveAs(this, TQ_SLOT("fileSaveAs()"), actionCollection());
+ KStdAction.print(this, TQ_SLOT("filePrint()"), actionCollection());
+ KStdAction.quit(kapp, TQ_SLOT("quit()"), actionCollection());
- KStdAction.preferences(this, SLOT("optionsPreferences()"), actionCollection());
+ KStdAction.preferences(this, 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
TDEAction custom = new TDEAction(tr("Cus&tom Menuitem"), new TDEShortcut(),
- this, SLOT("optionsPreferences()"),
+ this, TQ_SLOT("optionsPreferences()"),
actionCollection(), "custom_action");
}