summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp')
-rw-r--r--digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
index b2a8239..7ec52f4 100644
--- a/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
+++ b/digikam/imageplugins/coreplugin/sharpnesseditor/sharpentool.cpp
@@ -679,7 +679,7 @@ void SharpenTool::putFinalData()
void SharpenTool::slotLoadSettings()
{
KURL loadRestorationFile = KFileDialog::getOpenURL(TDEGlobalSettings::documentPath(),
- TQString( "*" ), TQT_TQWIDGET(kapp->activeWindow()),
+ TQString( "*" ), kapp->activeWindow(),
TQString( i18n("Photograph Refocus Settings File to Load")) );
if ( loadRestorationFile.isEmpty() )
return;
@@ -691,7 +691,7 @@ void SharpenTool::slotLoadSettings()
TQTextStream stream( &file );
if ( stream.readLine() != "# Photograph Refocus Configuration File" )
{
- KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
+ KMessageBox::error(kapp->activeWindow(),
i18n("\"%1\" is not a Photograph Refocus settings text file.")
.arg(loadRestorationFile.fileName()));
file.close();
@@ -707,7 +707,7 @@ void SharpenTool::slotLoadSettings()
blockSignals(false);
}
else
- KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot load settings from the Photograph Refocus text file."));
+ KMessageBox::error(kapp->activeWindow(), i18n("Cannot load settings from the Photograph Refocus text file."));
file.close();
}
@@ -715,7 +715,7 @@ void SharpenTool::slotLoadSettings()
void SharpenTool::slotSaveAsSettings()
{
KURL saveRestorationFile = KFileDialog::getSaveURL(TDEGlobalSettings::documentPath(),
- TQString( "*" ), TQT_TQWIDGET(kapp->activeWindow()),
+ TQString( "*" ), kapp->activeWindow(),
TQString( i18n("Photograph Refocus Settings File to Save")) );
if ( saveRestorationFile.isEmpty() )
return;
@@ -733,7 +733,7 @@ void SharpenTool::slotSaveAsSettings()
stream << m_noise->value() << "\n";
}
else
- KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot save settings to the Photograph Refocus text file."));
+ KMessageBox::error(kapp->activeWindow(), i18n("Cannot save settings to the Photograph Refocus text file."));
file.close();
}