diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
commit | aae5ebe5008a41fe4a4767092d7e17600abf6725 (patch) | |
tree | 97002e11e1564bceeda4fb4b3b04164bb9e72286 /karm/mainwindow.cpp | |
parent | 69779eb81c20b80b56ab698f44a944efd6107a74 (diff) | |
download | tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.tar.gz tdepim-aae5ebe5008a41fe4a4767092d7e17600abf6725.zip |
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'karm/mainwindow.cpp')
-rw-r--r-- | karm/mainwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 6edc6b2df..26cab9b57 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -9,7 +9,7 @@ #include <dcopclient.h> #include <tdeaccel.h> #include <tdeaction.h> -#include <tdeapplication.h> // kapp +#include <tdeapplication.h> // tdeApp #include <tdeconfig.h> #include <kdebug.h> #include <tdeglobal.h> @@ -93,10 +93,10 @@ MainWindow::MainWindow( const TQString &icsfile ) slotSelectionChanged(); // Register with DCOP - if ( !kapp->dcopClient()->isRegistered() ) + if ( !tdeApp->dcopClient()->isRegistered() ) { - kapp->dcopClient()->registerAs( "karm" ); - kapp->dcopClient()->setDefaultObject( objId() ); + tdeApp->dcopClient()->registerAs( "karm" ); + tdeApp->dcopClient()->setDefaultObject( objId() ); } // Set up DCOP error messages @@ -161,7 +161,7 @@ void MainWindow::exportcsvHistory() void MainWindow::quit() { - kapp->quit(); + tdeApp->quit(); } @@ -440,7 +440,7 @@ void MainWindow::loadGeometry() if (initialGeometrySet()) setAutoSaveSettings(); else { - TDEConfig &config = *kapp->config(); + TDEConfig &config = *tdeApp->config(); config.setGroup( TQString::fromLatin1("Main Window Geometry") ); int w = config.readNumEntry( TQString::fromLatin1("Width"), 100 ); @@ -463,7 +463,7 @@ void MainWindow::saveGeometry() bool MainWindow::queryClose() { - if ( !kapp->sessionSaving() ) { + if ( !tdeApp->sessionSaving() ) { hide(); return false; } |