summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kmenu
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:17:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:17:51 -0600
commit95c43a0f38217a41c246b1b324c92cc2cba78e5e (patch)
treefe11835688057219e383ad91e286490e46f1eff4 /kdejava/koala/test/kmenu
parent8a69eba2f0eddce05cf86e0df8aec6e9f473d485 (diff)
downloadtdebindings-95c43a0f38217a41c246b1b324c92cc2cba78e5e.tar.gz
tdebindings-95c43a0f38217a41c246b1b324c92cc2cba78e5e.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kdejava/koala/test/kmenu')
-rw-r--r--kdejava/koala/test/kmenu/KdeMenuSample.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdejava/koala/test/kmenu/KdeMenuSample.java b/kdejava/koala/test/kmenu/KdeMenuSample.java
index 60d117bf..5e4fe860 100644
--- a/kdejava/koala/test/kmenu/KdeMenuSample.java
+++ b/kdejava/koala/test/kmenu/KdeMenuSample.java
@@ -15,7 +15,7 @@ import org.kde.koala.KCmdLineArgs;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQTextView;
import org.kde.koala.KMenuBar;
-import org.kde.koala.KApplication;
+import org.kde.koala.TDEApplication;
import org.kde.koala.KURL;
import org.kde.koala.KFileDialog;
import org.kde.koala.KMessageBox;
@@ -38,10 +38,10 @@ public class KdeMenuSample extends KMainWindow {
kdejava.initialize();
}
- KApplication kApp = null;
+ TDEApplication kApp = null;
/** Creates a new instance of KdeMenuSample */
- public KdeMenuSample(KApplication kApp) {
+ public KdeMenuSample(TDEApplication kApp) {
super(null,"Menu Sample",1);
this.kApp = kApp;
setCaption("TDE Tutorial");
@@ -130,7 +130,7 @@ public class KdeMenuSample extends KMainWindow {
public static void main(String [] argv) {
KCmdLineArgs.init(argv, "menuapp", "MenuApp",
"A simple menu example", "0.1");
- KApplication menuApp = new KApplication();
+ TDEApplication menuApp = new TDEApplication();
KdeMenuSample mainWnd = new KdeMenuSample(menuApp);
mainWnd.resize(100,300);