diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:58:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:58:44 -0600 |
commit | 94b1c83afd52dc4280981bc348bcbb69462c5a29 (patch) | |
tree | ac9b9d3ea317ca05e0d71f6446d905975e2548f1 /digikam/imageplugins/coreplugin | |
parent | 901142271552ba0db82154c8e59f99d507b3062d (diff) | |
download | digikam-94b1c83afd52dc4280981bc348bcbb69462c5a29.tar.gz digikam-94b1c83afd52dc4280981bc348bcbb69462c5a29.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'digikam/imageplugins/coreplugin')
-rw-r--r-- | digikam/imageplugins/coreplugin/imageplugin_core.cpp | 26 | ||||
-rw-r--r-- | digikam/imageplugins/coreplugin/imageplugin_core.h | 28 |
2 files changed, 27 insertions, 27 deletions
diff --git a/digikam/imageplugins/coreplugin/imageplugin_core.cpp b/digikam/imageplugins/coreplugin/imageplugin_core.cpp index ba131af..e262314 100644 --- a/digikam/imageplugins/coreplugin/imageplugin_core.cpp +++ b/digikam/imageplugins/coreplugin/imageplugin_core.cpp @@ -65,66 +65,66 @@ ImagePlugin_Core::ImagePlugin_Core(TQObject *parent, const char*, const TQString //------------------------------- // Fix and Colors menu actions - m_blurAction = new KAction(i18n("Blur..."), "blurimage", 0, + m_blurAction = new TDEAction(i18n("Blur..."), "blurimage", 0, this, TQT_SLOT(slotBlur()), actionCollection(), "implugcore_blur"); - m_sharpenAction = new KAction(i18n("Sharpen..."), "sharpenimage", 0, + m_sharpenAction = new TDEAction(i18n("Sharpen..."), "sharpenimage", 0, this, TQT_SLOT(slotSharpen()), actionCollection(), "implugcore_sharpen"); - m_redeyeAction = new KAction(i18n("Red Eye..."), "redeyes", 0, + m_redeyeAction = new TDEAction(i18n("Red Eye..."), "redeyes", 0, this, TQT_SLOT(slotRedEye()), actionCollection(), "implugcore_redeye"); m_redeyeAction->setWhatsThis( i18n( "This filter can be used to correct red eyes in a photo. " "Select a region including the eyes to use this option.") ); - m_BCGAction = new KAction(i18n("Brightness/Contrast/Gamma..."), "contrast", 0, + m_BCGAction = new TDEAction(i18n("Brightness/Contrast/Gamma..."), "contrast", 0, this, TQT_SLOT(slotBCG()), actionCollection(), "implugcore_bcg"); - m_HSLAction = new KAction(i18n("Hue/Saturation/Lightness..."), "adjusthsl", + m_HSLAction = new TDEAction(i18n("Hue/Saturation/Lightness..."), "adjusthsl", CTRL+Key_U, // NOTE: Photoshop 7 use CTRL+U. this, TQT_SLOT(slotHSL()), actionCollection(), "implugcore_hsl"); - m_RGBAction = new KAction(i18n("Color Balance..."), "adjustrgb", + m_RGBAction = new TDEAction(i18n("Color Balance..."), "adjustrgb", CTRL+Key_B, // NOTE: Photoshop 7 use CTRL+B. this, TQT_SLOT(slotRGB()), actionCollection(), "implugcore_rgb"); - m_autoCorrectionAction = new KAction(i18n("Auto-Correction..."), "autocorrection", + m_autoCorrectionAction = new TDEAction(i18n("Auto-Correction..."), "autocorrection", CTRL+SHIFT+Key_B, // NOTE: Photoshop 7 use CTRL+SHIFT+B with 'Auto-Color' option. this, TQT_SLOT(slotAutoCorrection()), actionCollection(), "implugcore_autocorrection"); - m_invertAction = new KAction(i18n("Invert"), "invertimage", + m_invertAction = new TDEAction(i18n("Invert"), "invertimage", CTRL+Key_I, // NOTE: Photoshop 7 use CTRL+I. this, TQT_SLOT(slotInvert()), actionCollection(), "implugcore_invert"); - m_convertTo8Bits = new KAction(i18n("8 bits"), "depth16to8", 0, + m_convertTo8Bits = new TDEAction(i18n("8 bits"), "depth16to8", 0, this, TQT_SLOT(slotConvertTo8Bits()), actionCollection(), "implugcore_convertto8bits"); - m_convertTo16Bits = new KAction(i18n("16 bits"), "depth8to16", 0, + m_convertTo16Bits = new TDEAction(i18n("16 bits"), "depth8to16", 0, this, TQT_SLOT(slotConvertTo16Bits()), actionCollection(), "implugcore_convertto16bits"); - m_colorManagementAction = new KAction(i18n("Color Management..."), "colormanagement", 0, + m_colorManagementAction = new TDEAction(i18n("Color Management..."), "colormanagement", 0, this, TQT_SLOT(slotColorManagement()), actionCollection(), "implugcore_colormanagement"); //------------------------------- // Filters menu actions. - m_BWAction = new KAction(i18n("Black && White..."), "bwtonal", 0, + m_BWAction = new TDEAction(i18n("Black && White..."), "bwtonal", 0, this, TQT_SLOT(slotBW()), actionCollection(), "implugcore_blackwhite"); //------------------------------- // Transform menu actions. - m_aspectRatioCropAction = new KAction(i18n("Aspect Ratio Crop..."), "ratiocrop", 0, + m_aspectRatioCropAction = new TDEAction(i18n("Aspect Ratio Crop..."), "ratiocrop", 0, this, TQT_SLOT(slotRatioCrop()), actionCollection(), "implugcore_ratiocrop"); diff --git a/digikam/imageplugins/coreplugin/imageplugin_core.h b/digikam/imageplugins/coreplugin/imageplugin_core.h index 2530b41..f7cc8d6 100644 --- a/digikam/imageplugins/coreplugin/imageplugin_core.h +++ b/digikam/imageplugins/coreplugin/imageplugin_core.h @@ -30,7 +30,7 @@ #include "imageplugin.h" #include "digikam_export.h" -class KAction; +class TDEAction; class DIGIKAMIMAGEPLUGINS_EXPORT ImagePlugin_Core : public Digikam::ImagePlugin { @@ -67,19 +67,19 @@ private slots: private: - KAction *m_redeyeAction; - KAction *m_BCGAction; - KAction *m_HSLAction; - KAction *m_RGBAction; - KAction *m_autoCorrectionAction; - KAction *m_invertAction; - KAction *m_BWAction; - KAction *m_aspectRatioCropAction; - KAction *m_sharpenAction; - KAction *m_blurAction; - KAction *m_colorManagementAction; - KAction *m_convertTo8Bits; - KAction *m_convertTo16Bits; + TDEAction *m_redeyeAction; + TDEAction *m_BCGAction; + TDEAction *m_HSLAction; + TDEAction *m_RGBAction; + TDEAction *m_autoCorrectionAction; + TDEAction *m_invertAction; + TDEAction *m_BWAction; + TDEAction *m_aspectRatioCropAction; + TDEAction *m_sharpenAction; + TDEAction *m_blurAction; + TDEAction *m_colorManagementAction; + TDEAction *m_convertTo8Bits; + TDEAction *m_convertTo16Bits; }; #endif /* IMAGEPLUGIN_CORE_H */ |