summaryrefslogtreecommitdiffstats
path: root/karm/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/mainwindow.cpp')
-rw-r--r--karm/mainwindow.cpp14
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;
}