summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 14:24:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 14:24:42 +0900
commit8ea0f9e8b4d8133bbffa5447116ac965ae4dd591 (patch)
treef72fb61f27b4122e7b670a0d31439823c2e03e99
parent651f3a1ba3e119a2a2addfabf712a300fd5827e0 (diff)
downloadkxmleditor-8ea0f9e8b4d8133bbffa5447116ac965ae4dd591.tar.gz
kxmleditor-8ea0f9e8b4d8133bbffa5447116ac965ae4dd591.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kxmleditor/kxmleditorshell.cpp4
-rw-r--r--kxmleditor/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kxmleditor/kxmleditorshell.cpp b/kxmleditor/kxmleditorshell.cpp
index 57d407a..5a3211e 100644
--- a/kxmleditor/kxmleditorshell.cpp
+++ b/kxmleditor/kxmleditorshell.cpp
@@ -337,7 +337,7 @@ void KXMLEditorShell::mail()
{
TQStringList urls(part()->url().url()); // we can prepare then list of attachments (1 element in the list)
TQString theSubject(part()->url().fileName(false)); // and set the mail subject
- kapp->invokeMailer(TQString::null, // finally we can compose e-mail (addressed to no-one) out of that
+ tdeApp->invokeMailer(TQString::null, // finally we can compose e-mail (addressed to no-one) out of that
TQString::null,
TQString::null,
theSubject, // subject
@@ -425,7 +425,7 @@ void KXMLEditorShell::close()
if (queryClose())
{
if (TDEMainWindow::memberList->count()==1)
- kapp->deref();
+ tdeApp->deref();
delete this;
}
}
diff --git a/kxmleditor/main.cpp b/kxmleditor/main.cpp
index 7c7726f..ddf5ddc 100644
--- a/kxmleditor/main.cpp
+++ b/kxmleditor/main.cpp
@@ -128,7 +128,7 @@ int main(int argc, char *argv[])
// registration as multi-instance DCOP client
DCOPClient *client = app.dcopClient();
client->attach();
- client->registerAs(kapp->name());
+ client->registerAs(tdeApp->name());
// uncomment end
#endif // USE_KPART