summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates/kappjava/app.java
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
committerMichele Calgaro <[email protected]>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /languages/java/app_templates/kappjava/app.java
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
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");
}