summaryrefslogtreecommitdiffstats
path: root/languages/java
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java')
-rw-r--r--languages/java/app_templates/kappjava/app.java4
-rw-r--r--languages/java/app_templates/kappjava/app_client.java2
-rw-r--r--languages/java/backgroundparser.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/languages/java/app_templates/kappjava/app.java b/languages/java/app_templates/kappjava/app.java
index 2cb3e94a..b8a51016 100644
--- a/languages/java/app_templates/kappjava/app.java
+++ b/languages/java/app_templates/kappjava/app.java
@@ -76,7 +76,7 @@ public void load(KURL url)
public void setupActions()
{
- KApplication kapp = KApplication.kApplication();
+ TDEApplication kapp = TDEApplication.kApplication();
KStdAction.openNew(this, SLOT("fileNew()"), actionCollection());
KStdAction.open(this, SLOT("fileOpen()"), actionCollection());
KStdAction.save(this, SLOT("fileSave()"), actionCollection());
@@ -242,7 +242,7 @@ static void main(String[] cmdLineArgs)
about.addAuthor( "%{AUTHOR}", null, "%{EMAIL}" );
KCmdLineArgs.init(cmdLineArgs, about);
KCmdLineArgs.addCmdLineOptions(options);
- KApplication app = new KApplication();
+ TDEApplication app = new TDEApplication();
// see if we are starting with session management
if (app.isRestored())
diff --git a/languages/java/app_templates/kappjava/app_client.java b/languages/java/app_templates/kappjava/app_client.java
index 9ed90c8a..9648cfad 100644
--- a/languages/java/app_templates/kappjava/app_client.java
+++ b/languages/java/app_templates/kappjava/app_client.java
@@ -9,7 +9,7 @@
int main(int argc, char **argv)
{
- KApplication app(argc, argv, "%{APPNAMELC}_client", false);
+ TDEApplication app(argc, argv, "%{APPNAMELC}_client", false);
// get our DCOP client and attach so that we may use it
DCOPClient *client = app.dcopClient();
diff --git a/languages/java/backgroundparser.cpp b/languages/java/backgroundparser.cpp
index b1f23ac3..86b193c8 100644
--- a/languages/java/backgroundparser.cpp
+++ b/languages/java/backgroundparser.cpp
@@ -269,7 +269,7 @@ Unit* BackgroundParser::parseFile( const TQString& fileName, bool readFromDisk )
if( m_fileList->contains(fileName) ){
kdDebug(9013) << "========================> FILE: " << fileName << " IN QUEUE <=============" << endl;
} else {
- KApplication::postEvent( m_javaSupport, new FileParsedEvent(fileName, unit->problems) );
+ TDEApplication::postEvent( m_javaSupport, new FileParsedEvent(fileName, unit->problems) );
}
m_currentFile = TQString();