summaryrefslogtreecommitdiffstats
path: root/src/imageplugins/perspective/perspectivetool.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-21 14:25:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 22:24:26 +0900
commitedfc85e62cba9be0a16a44c060141f33d0f28481 (patch)
treecf90faf51aca0a8e89f7fbdcbfcc11b02f3021b5 /src/imageplugins/perspective/perspectivetool.cpp
parent0bf733ec1780acd7d7f0122559029e09001b840e (diff)
downloaddigikam-edfc85e62cba9be0a16a44c060141f33d0f28481.tar.gz
digikam-edfc85e62cba9be0a16a44c060141f33d0f28481.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageplugins/perspective/perspectivetool.cpp')
-rw-r--r--src/imageplugins/perspective/perspectivetool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imageplugins/perspective/perspectivetool.cpp b/src/imageplugins/perspective/perspectivetool.cpp
index 30d0a2cf..96209942 100644
--- a/src/imageplugins/perspective/perspectivetool.cpp
+++ b/src/imageplugins/perspective/perspectivetool.cpp
@@ -193,7 +193,7 @@ PerspectiveTool::~PerspectiveTool()
void PerspectiveTool::readSettings()
{
TQColor defaultGuideColor(TQt::red);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("perspective Tool");
m_drawWhileMovingCheckBox->setChecked(config->readBoolEntry("Draw While Moving", true));
m_drawGridCheckBox->setChecked(config->readBoolEntry("Draw Grid", false));
@@ -207,7 +207,7 @@ void PerspectiveTool::readSettings()
void PerspectiveTool::writeSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("perspective Tool");
config->writeEntry("Draw While Moving", m_drawWhileMovingCheckBox->isChecked());
config->writeEntry("Draw Grid", m_drawGridCheckBox->isChecked());
@@ -223,9 +223,9 @@ void PerspectiveTool::slotResetSettings()
void PerspectiveTool::finalRendering()
{
- kapp->setOverrideCursor( KCursor::waitCursor() );
+ tdeApp->setOverrideCursor( KCursor::waitCursor() );
m_previewWidget->applyPerspectiveAdjustment();
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
}
void PerspectiveTool::slotUpdateInfo(TQRect newSize, float topLeftAngle, float topRightAngle,