From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- languages/java/app_templates/kappjava/app.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'languages/java/app_templates/kappjava') diff --git a/languages/java/app_templates/kappjava/app.java b/languages/java/app_templates/kappjava/app.java index d6424f73..40bc6b93 100644 --- a/languages/java/app_templates/kappjava/app.java +++ b/languages/java/app_templates/kappjava/app.java @@ -14,7 +14,7 @@ import org.kde.koala.*; * @author $AUTHOR <$EMAIL> * @version $APP_VERSION */ -public class %{APPNAME} extends KMainWindow +public class %{APPNAME} extends TDEMainWindow { private %{APPNAME}View m_view; private QPrinter m_printer; @@ -27,7 +27,7 @@ public class %{APPNAME} extends KMainWindow // accept dnd setAcceptDrops(true); - // tell the KMainWindow that this is indeed the main widget + // tell the TDEMainWindow that this is indeed the main widget setCentralWidget(m_view); // then, setup our actions @@ -88,7 +88,7 @@ public void setupActions() // this doesn't do anything useful. it's just here to illustrate // how to insert a custom menu and menu item - KAction custom = new KAction(tr("Cus&tom Menuitem"), new KShortcut(), + TDEAction custom = new TDEAction(tr("Cus&tom Menuitem"), new TDEShortcut(), this, SLOT("optionsPreferences()"), actionCollection(), "custom_action"); } -- cgit v1.2.1