summaryrefslogtreecommitdiffstats
path: root/ksnapshot/ksnapshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksnapshot/ksnapshot.cpp')
-rw-r--r--ksnapshot/ksnapshot.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/ksnapshot/ksnapshot.cpp b/ksnapshot/ksnapshot.cpp
index b82fd1c0..c0ebc1be 100644
--- a/ksnapshot/ksnapshot.cpp
+++ b/ksnapshot/ksnapshot.cpp
@@ -60,8 +60,6 @@
#include <tdeglobal.h>
-#define kApp TDEApplication::kApplication()
-
KSnapshot::KSnapshot(TQWidget *parent, const char *name, bool grabCurrent)
: DCOPObject("interface"),
KDialogBase(parent, name, true, TQString(), Help|User1, User1,
@@ -139,7 +137,7 @@ KSnapshot::KSnapshot(TQWidget *parent, const char *name, bool grabCurrent)
}
TDEAccel* accel = new TDEAccel(this);
- accel->insert(TDEStdAccel::Quit, kapp, TQ_SLOT(quit()));
+ accel->insert(TDEStdAccel::Quit, tdeApp, TQ_SLOT(quit()));
accel->insert( "QuickSave", i18n("Quick Save Snapshot &As..."),
i18n("Save the snapshot to the file specified by the user without showing the file dialog."),
CTRL+SHIFT+Key_S, this, TQ_SLOT(slotSave()));
@@ -606,7 +604,7 @@ int KSnapshot::grabMode()
void KSnapshot::updateCaption()
{
- setCaption( kApp->makeStdCaption( filename.fileName(), true, modified ) );
+ setCaption( tdeApp->makeStdCaption( filename.fileName(), true, modified ) );
}
void KSnapshot::slotMovePointer(int x, int y)