diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /languages/java/app_templates/tdeappjava/pref.java | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'languages/java/app_templates/tdeappjava/pref.java')
-rw-r--r-- | languages/java/app_templates/tdeappjava/pref.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/languages/java/app_templates/tdeappjava/pref.java b/languages/java/app_templates/tdeappjava/pref.java deleted file mode 100644 index a50fdb31..00000000 --- a/languages/java/app_templates/tdeappjava/pref.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (C) %{YEAR} %{AUTHOR} <%{EMAIL}> - */ - -import java.util.*; -import org.kde.qt.*; -import org.kde.koala.*; - -public class %{APPNAME}Preferences extends KDialogBase -{ -private %{APPNAME}PrefPageOne m_pageOne; -private %{APPNAME}PrefPageTwo m_pageTwo; - -public %{APPNAME}Preferences() -{ - super(TreeList, "%{APPNAME} Preferences", - Help|Default|Ok|Apply|Cancel, Ok); - - // this is the base class for your preferences dialog. it is now - // a Treelist dialog.. but there are a number of other - // possibilities (including Tab, Swallow, and just Plain) - QFrame frame; - frame = addPage(tr("First Page"), tr("Page One Options")); - m_pageOne = new %{APPNAME}PrefPageOne(frame); - - frame = addPage(tr("Second Page"), tr("Page Two Options")); - m_pageTwo = new %{APPNAME}PrefPageTwo(frame); -} - -public class %{APPNAME}PrefPageOne extends QFrame { -public %{APPNAME}PrefPageOne(QWidget parent) -{ - super(parent); - QHBoxLayout layout = new QHBoxLayout(this); - layout.setAutoAdd(true); - - new QLabel("Add something here", this); -} -} - -public class %{APPNAME}PrefPageTwo extends QFrame { -public %{APPNAME}PrefPageTwo(QWidget parent) -{ - super(parent); - QHBoxLayout layout = new QHBoxLayout(this); - layout.setAutoAdd(true); - - new QLabel("Add something here", this); -} -} - -} |