summaryrefslogtreecommitdiffstats
path: root/digikam/utilities/imageeditor/editor/editorwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/utilities/imageeditor/editor/editorwindow.cpp')
-rw-r--r--digikam/utilities/imageeditor/editor/editorwindow.cpp240
1 files changed, 120 insertions, 120 deletions
diff --git a/digikam/utilities/imageeditor/editor/editorwindow.cpp b/digikam/utilities/imageeditor/editor/editorwindow.cpp
index c901d61..eed7cfe 100644
--- a/digikam/utilities/imageeditor/editor/editorwindow.cpp
+++ b/digikam/utilities/imageeditor/editor/editorwindow.cpp
@@ -183,104 +183,104 @@ void EditorWindow::setupStandardConnections()
{
// -- Canvas connections ------------------------------------------------
- connect(m_canvas, TQT_SIGNAL(signalToggleOffFitToWindow()),
- this, TQT_SLOT(slotToggleOffFitToWindow()));
+ connect(m_canvas, TQ_SIGNAL(signalToggleOffFitToWindow()),
+ this, TQ_SLOT(slotToggleOffFitToWindow()));
- connect(m_canvas, TQT_SIGNAL(signalShowNextImage()),
- this, TQT_SLOT(slotForward()));
+ connect(m_canvas, TQ_SIGNAL(signalShowNextImage()),
+ this, TQ_SLOT(slotForward()));
- connect(m_canvas, TQT_SIGNAL(signalShowPrevImage()),
- this, TQT_SLOT(slotBackward()));
+ connect(m_canvas, TQ_SIGNAL(signalShowPrevImage()),
+ this, TQ_SLOT(slotBackward()));
- connect(m_canvas, TQT_SIGNAL(signalRightButtonClicked()),
- this, TQT_SLOT(slotContextMenu()));
+ connect(m_canvas, TQ_SIGNAL(signalRightButtonClicked()),
+ this, TQ_SLOT(slotContextMenu()));
- connect(m_stackView, TQT_SIGNAL(signalZoomChanged(bool, bool, double)),
- this, TQT_SLOT(slotZoomChanged(bool, bool, double)));
+ connect(m_stackView, TQ_SIGNAL(signalZoomChanged(bool, bool, double)),
+ this, TQ_SLOT(slotZoomChanged(bool, bool, double)));
- connect(m_canvas, TQT_SIGNAL(signalChanged()),
- this, TQT_SLOT(slotChanged()));
+ connect(m_canvas, TQ_SIGNAL(signalChanged()),
+ this, TQ_SLOT(slotChanged()));
- connect(m_canvas, TQT_SIGNAL(signalUndoStateChanged(bool, bool, bool)),
- this, TQT_SLOT(slotUndoStateChanged(bool, bool, bool)));
+ connect(m_canvas, TQ_SIGNAL(signalUndoStateChanged(bool, bool, bool)),
+ this, TQ_SLOT(slotUndoStateChanged(bool, bool, bool)));
- connect(m_canvas, TQT_SIGNAL(signalSelected(bool)),
- this, TQT_SLOT(slotSelected(bool)));
+ connect(m_canvas, TQ_SIGNAL(signalSelected(bool)),
+ this, TQ_SLOT(slotSelected(bool)));
- connect(m_canvas, TQT_SIGNAL(signalPrepareToLoad()),
- this, TQT_SLOT(slotPrepareToLoad()));
+ connect(m_canvas, TQ_SIGNAL(signalPrepareToLoad()),
+ this, TQ_SLOT(slotPrepareToLoad()));
- connect(m_canvas, TQT_SIGNAL(signalLoadingStarted(const TQString &)),
- this, TQT_SLOT(slotLoadingStarted(const TQString &)));
+ connect(m_canvas, TQ_SIGNAL(signalLoadingStarted(const TQString &)),
+ this, TQ_SLOT(slotLoadingStarted(const TQString &)));
- connect(m_canvas, TQT_SIGNAL(signalLoadingFinished(const TQString &, bool)),
- this, TQT_SLOT(slotLoadingFinished(const TQString &, bool)));
+ connect(m_canvas, TQ_SIGNAL(signalLoadingFinished(const TQString &, bool)),
+ this, TQ_SLOT(slotLoadingFinished(const TQString &, bool)));
- connect(m_canvas, TQT_SIGNAL(signalLoadingProgress(const TQString &, float)),
- this, TQT_SLOT(slotLoadingProgress(const TQString &, float)));
+ connect(m_canvas, TQ_SIGNAL(signalLoadingProgress(const TQString &, float)),
+ this, TQ_SLOT(slotLoadingProgress(const TQString &, float)));
- connect(m_canvas, TQT_SIGNAL(signalSavingStarted(const TQString&)),
- this, TQT_SLOT(slotSavingStarted(const TQString&)));
+ connect(m_canvas, TQ_SIGNAL(signalSavingStarted(const TQString&)),
+ this, TQ_SLOT(slotSavingStarted(const TQString&)));
- connect(m_canvas, TQT_SIGNAL(signalSavingFinished(const TQString&, bool)),
- this, TQT_SLOT(slotSavingFinished(const TQString&, bool)));
+ connect(m_canvas, TQ_SIGNAL(signalSavingFinished(const TQString&, bool)),
+ this, TQ_SLOT(slotSavingFinished(const TQString&, bool)));
- connect(m_canvas, TQT_SIGNAL(signalSavingProgress(const TQString&, float)),
- this, TQT_SLOT(slotSavingProgress(const TQString&, float)));
+ connect(m_canvas, TQ_SIGNAL(signalSavingProgress(const TQString&, float)),
+ this, TQ_SLOT(slotSavingProgress(const TQString&, float)));
- connect(m_canvas, TQT_SIGNAL(signalSelectionChanged(const TQRect&)),
- this, TQT_SLOT(slotSelectionChanged(const TQRect&)));
+ connect(m_canvas, TQ_SIGNAL(signalSelectionChanged(const TQRect&)),
+ this, TQ_SLOT(slotSelectionChanged(const TQRect&)));
// -- if rotating/flipping set the rotatedflipped flag to true -----------
- connect(d->rotateLeftAction, TQT_SIGNAL(activated()),
- this, TQT_SLOT(slotRotatedOrFlipped()));
+ connect(d->rotateLeftAction, TQ_SIGNAL(activated()),
+ this, TQ_SLOT(slotRotatedOrFlipped()));
- connect(d->rotateRightAction, TQT_SIGNAL(activated()),
- this, TQT_SLOT(slotRotatedOrFlipped()));
+ connect(d->rotateRightAction, TQ_SIGNAL(activated()),
+ this, TQ_SLOT(slotRotatedOrFlipped()));
- connect(d->flipHorizAction, TQT_SIGNAL(activated()),
- this, TQT_SLOT(slotRotatedOrFlipped()));
+ connect(d->flipHorizAction, TQ_SIGNAL(activated()),
+ this, TQ_SLOT(slotRotatedOrFlipped()));
- connect(d->flipVertAction, TQT_SIGNAL(activated()),
- this, TQT_SLOT(slotRotatedOrFlipped()));
+ connect(d->flipVertAction, TQ_SIGNAL(activated()),
+ this, TQ_SLOT(slotRotatedOrFlipped()));
// -- status bar connections --------------------------------------
- connect(m_nameLabel, TQT_SIGNAL(signalCancelButtonPressed()),
- this, TQT_SLOT(slotNameLabelCancelButtonPressed()));
+ connect(m_nameLabel, TQ_SIGNAL(signalCancelButtonPressed()),
+ this, TQ_SLOT(slotNameLabelCancelButtonPressed()));
- connect(m_nameLabel, TQT_SIGNAL(signalCancelButtonPressed()),
- d->toolIface, TQT_SLOT(slotToolAborted()));
+ connect(m_nameLabel, TQ_SIGNAL(signalCancelButtonPressed()),
+ d->toolIface, TQ_SLOT(slotToolAborted()));
}
void EditorWindow::setupStandardActions()
{
// -- Standard 'File' menu actions ---------------------------------------------
- m_backwardAction = KStdAction::back(this, TQT_SLOT(slotBackward()),
+ m_backwardAction = KStdAction::back(this, TQ_SLOT(slotBackward()),
actionCollection(), "editorwindow_backward");
- m_forwardAction = KStdAction::forward(this, TQT_SLOT(slotForward()),
+ m_forwardAction = KStdAction::forward(this, TQ_SLOT(slotForward()),
actionCollection(), "editorwindow_forward");
m_firstAction = new TDEAction(i18n("&First"), "go-first",
TDEStdAccel::shortcut( TDEStdAccel::Home),
- this, TQT_SLOT(slotFirst()),
+ this, TQ_SLOT(slotFirst()),
actionCollection(), "editorwindow_first");
m_lastAction = new TDEAction(i18n("&Last"), "go-last",
TDEStdAccel::shortcut( TDEStdAccel::End),
- this, TQT_SLOT(slotLast()),
+ this, TQ_SLOT(slotLast()),
actionCollection(), "editorwindow_last");
- m_saveAction = KStdAction::save(this, TQT_SLOT(slotSave()),
+ m_saveAction = KStdAction::save(this, TQ_SLOT(slotSave()),
actionCollection(), "editorwindow_save");
- m_saveAsAction = KStdAction::saveAs(this, TQT_SLOT(slotSaveAs()),
+ m_saveAsAction = KStdAction::saveAs(this, TQ_SLOT(slotSaveAs()),
actionCollection(), "editorwindow_saveas");
- m_revertAction = KStdAction::revert(this, TQT_SLOT(slotRevert()),
+ m_revertAction = KStdAction::revert(this, TQ_SLOT(slotRevert()),
actionCollection(), "editorwindow_revert");
m_saveAction->setEnabled(false);
@@ -289,46 +289,46 @@ void EditorWindow::setupStandardActions()
d->filePrintAction = new TDEAction(i18n("Print Image..."), "document-print",
CTRL+Key_P,
- this, TQT_SLOT(slotFilePrint()),
+ this, TQ_SLOT(slotFilePrint()),
actionCollection(), "editorwindow_print");
m_fileDeleteAction = new TDEAction(i18n("Move to Trash"), "edittrash",
Key_Delete,
- this, TQT_SLOT(slotDeleteCurrentItem()),
+ this, TQ_SLOT(slotDeleteCurrentItem()),
actionCollection(), "editorwindow_delete");
- KStdAction::close(this, TQT_SLOT(close()), actionCollection(), "editorwindow_close");
+ KStdAction::close(this, TQ_SLOT(close()), actionCollection(), "editorwindow_close");
// -- Standard 'Edit' menu actions ---------------------------------------------
- d->copyAction = KStdAction::copy(m_canvas, TQT_SLOT(slotCopy()),
+ d->copyAction = KStdAction::copy(m_canvas, TQ_SLOT(slotCopy()),
actionCollection(), "editorwindow_copy");
d->copyAction->setEnabled(false);
m_undoAction = new TDEToolBarPopupAction(i18n("Undo"), "edit-undo",
TDEStdAccel::shortcut(TDEStdAccel::Undo),
- m_canvas, TQT_SLOT(slotUndo()),
+ m_canvas, TQ_SLOT(slotUndo()),
actionCollection(), "editorwindow_undo");
- connect(m_undoAction->popupMenu(), TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(slotAboutToShowUndoMenu()));
+ connect(m_undoAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotAboutToShowUndoMenu()));
- connect(m_undoAction->popupMenu(), TQT_SIGNAL(activated(int)),
- m_canvas, TQT_SLOT(slotUndo(int)));
+ connect(m_undoAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ m_canvas, TQ_SLOT(slotUndo(int)));
m_undoAction->setEnabled(false);
m_redoAction = new TDEToolBarPopupAction(i18n("Redo"), "edit-redo",
TDEStdAccel::shortcut(TDEStdAccel::Redo),
- m_canvas, TQT_SLOT(slotRedo()),
+ m_canvas, TQ_SLOT(slotRedo()),
actionCollection(), "editorwindow_redo");
- connect(m_redoAction->popupMenu(), TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(slotAboutToShowRedoMenu()));
+ connect(m_redoAction->popupMenu(), TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(slotAboutToShowRedoMenu()));
- connect(m_redoAction->popupMenu(), TQT_SIGNAL(activated(int)),
- m_canvas, TQT_SLOT(slotRedo(int)));
+ connect(m_redoAction->popupMenu(), TQ_SIGNAL(activated(int)),
+ m_canvas, TQ_SLOT(slotRedo(int)));
m_redoAction->setEnabled(false);
@@ -336,7 +336,7 @@ void EditorWindow::setupStandardActions()
0,
CTRL+Key_A,
m_canvas,
- TQT_SLOT(slotSelectAll()),
+ TQ_SLOT(slotSelectAll()),
actionCollection(),
"editorwindow_selectAll");
@@ -344,31 +344,31 @@ void EditorWindow::setupStandardActions()
0,
CTRL+SHIFT+Key_A,
m_canvas,
- TQT_SLOT(slotSelectNone()),
+ TQ_SLOT(slotSelectNone()),
actionCollection(),
"editorwindow_selectNone");
// -- Standard 'View' menu actions ---------------------------------------------
- d->zoomPlusAction = KStdAction::zoomIn(this, TQT_SLOT(slotIncreaseZoom()),
+ d->zoomPlusAction = KStdAction::zoomIn(this, TQ_SLOT(slotIncreaseZoom()),
actionCollection(), "editorwindow_zoomplus");
- d->zoomMinusAction = KStdAction::zoomOut(this, TQT_SLOT(slotDecreaseZoom()),
+ d->zoomMinusAction = KStdAction::zoomOut(this, TQ_SLOT(slotDecreaseZoom()),
actionCollection(), "editorwindow_zoomminus");
d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "zoom-original",
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
- this, TQT_SLOT(slotZoomTo100Percents()),
+ this, TQ_SLOT(slotZoomTo100Percents()),
actionCollection(), "editorwindow_zoomto100percents");
d->zoomFitToWindowAction = new TDEToggleAction(i18n("Fit to &Window"), "view_fit_window",
CTRL+SHIFT+Key_E, // NOTE: Gimp 2 use CTRL+SHIFT+E.
- this, TQT_SLOT(slotToggleFitToWindow()),
+ this, TQ_SLOT(slotToggleFitToWindow()),
actionCollection(), "editorwindow_zoomfit2window");
d->zoomFitToSelectAction = new TDEAction(i18n("Fit to &Selection"), "zoom-fit-best",
- ALT+CTRL+Key_S, this, TQT_SLOT(slotFitToSelect()),
+ ALT+CTRL+Key_S, this, TQ_SLOT(slotFitToSelect()),
actionCollection(), "editorwindow_zoomfit2select");
d->zoomFitToSelectAction->setEnabled(false);
d->zoomFitToSelectAction->setWhatsThis(i18n("This option can be used to zoom the image to the "
@@ -394,47 +394,47 @@ void EditorWindow::setupStandardActions()
d->zoomCombo->insertItem(TQString("800%"));
d->zoomCombo->insertItem(TQString("1200%"));
- connect(d->zoomCombo, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotZoomSelected()) );
+ connect(d->zoomCombo, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotZoomSelected()) );
- connect(d->zoomCombo, TQT_SIGNAL(returnPressed(const TQString&)),
- this, TQT_SLOT(slotZoomTextChanged(const TQString &)) );
+ connect(d->zoomCombo, TQ_SIGNAL(returnPressed(const TQString&)),
+ this, TQ_SLOT(slotZoomTextChanged(const TQString &)) );
// Do not use std KDE action for full screen because action text is too large for app. toolbar.
m_fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "view-fullscreen",
CTRL+SHIFT+Key_F, this,
- TQT_SLOT(slotToggleFullScreen()),
+ TQ_SLOT(slotToggleFullScreen()),
actionCollection(), "editorwindow_fullscreen");
m_fullScreenAction->setWhatsThis(i18n("Toggle the window to full screen mode"));
d->slideShowAction = new TDEAction(i18n("Slideshow"), "slideshow", Key_F9,
- this, TQT_SLOT(slotToggleSlideShow()),
+ this, TQ_SLOT(slotToggleSlideShow()),
actionCollection(),"editorwindow_slideshow");
d->viewUnderExpoAction = new TDEToggleAction(i18n("Under-Exposure Indicator"), "underexposure",
Key_F10, this,
- TQT_SLOT(slotToggleUnderExposureIndicator()),
+ TQ_SLOT(slotToggleUnderExposureIndicator()),
actionCollection(),"editorwindow_underexposure");
d->viewOverExpoAction = new TDEToggleAction(i18n("Over-Exposure Indicator"), "overexposure",
Key_F11, this,
- TQT_SLOT(slotToggleOverExposureIndicator()),
+ TQ_SLOT(slotToggleOverExposureIndicator()),
actionCollection(),"editorwindow_overexposure");
d->viewCMViewAction = new TDEToggleAction(i18n("Color Managed View"), "tv",
Key_F12, this,
- TQT_SLOT(slotToggleColorManagedView()),
+ TQ_SLOT(slotToggleColorManagedView()),
actionCollection(),"editorwindow_cmview");
// -- Standard 'Transform' menu actions ---------------------------------------------
d->resizeAction = new TDEAction(i18n("&Resize..."), "resize_image", 0,
- this, TQT_SLOT(slotResize()),
+ this, TQ_SLOT(slotResize()),
actionCollection(), "editorwindow_resize");
d->cropAction = new TDEAction(i18n("Crop"), "crop",
CTRL+Key_X,
- m_canvas, TQT_SLOT(slotCrop()),
+ m_canvas, TQ_SLOT(slotCrop()),
actionCollection(), "editorwindow_crop");
d->cropAction->setEnabled(false);
@@ -444,12 +444,12 @@ void EditorWindow::setupStandardActions()
// -- Standard 'Flip' menu actions ---------------------------------------------
d->flipHorizAction = new TDEAction(i18n("Flip Horizontally"), "mirror", CTRL+Key_Asterisk,
- m_canvas, TQT_SLOT(slotFlipHoriz()),
+ m_canvas, TQ_SLOT(slotFlipHoriz()),
actionCollection(), "editorwindow_flip_horiz");
d->flipHorizAction->setEnabled(false);
d->flipVertAction = new TDEAction(i18n("Flip Vertically"), "flip", CTRL+Key_Slash,
- m_canvas, TQT_SLOT(slotFlipVert()),
+ m_canvas, TQ_SLOT(slotFlipVert()),
actionCollection(), "editorwindow_flip_vert");
d->flipVertAction->setEnabled(false);
@@ -457,47 +457,47 @@ void EditorWindow::setupStandardActions()
d->rotateLeftAction = new TDEAction(i18n("Rotate Left"),
"object-rotate-left", SHIFT+CTRL+Key_Left,
- m_canvas, TQT_SLOT(slotRotate270()),
+ m_canvas, TQ_SLOT(slotRotate270()),
actionCollection(),
"editorwindow_rotate_left");
d->rotateLeftAction->setEnabled(false);
d->rotateRightAction = new TDEAction(i18n("Rotate Right"),
"object-rotate-right", SHIFT+CTRL+Key_Right,
- m_canvas, TQT_SLOT(slotRotate90()),
+ m_canvas, TQ_SLOT(slotRotate90()),
actionCollection(),
"editorwindow_rotate_right");
d->rotateRightAction->setEnabled(false);
// -- Standard 'Configure' menu actions ----------------------------------------
- d->showMenuBarAction = KStdAction::showMenubar(this, TQT_SLOT(slotShowMenuBar()), actionCollection());
+ d->showMenuBarAction = KStdAction::showMenubar(this, TQ_SLOT(slotShowMenuBar()), actionCollection());
- KStdAction::keyBindings(this, TQT_SLOT(slotEditKeys()), actionCollection());
- KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbars()), actionCollection());
- KStdAction::preferences(this, TQT_SLOT(slotSetup()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(slotEditKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbars()), actionCollection());
+ KStdAction::preferences(this, TQ_SLOT(slotSetup()), actionCollection());
// -----------------------------------------------------------------------------------------
m_themeMenuAction = new TDESelectAction(i18n("&Themes"), 0, actionCollection(), "theme_menu");
m_themeMenuAction->setItems(ThemeEngine::instance()->themeNames());
- connect(m_themeMenuAction, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotChangeTheme(const TQString&)));
+ connect(m_themeMenuAction, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotChangeTheme(const TQString&)));
- connect(ThemeEngine::instance(), TQT_SIGNAL(signalThemeChanged()),
- this, TQT_SLOT(slotThemeChanged()));
+ connect(ThemeEngine::instance(), TQ_SIGNAL(signalThemeChanged()),
+ this, TQ_SLOT(slotThemeChanged()));
// -- Standard 'Help' menu actions ---------------------------------------------
d->donateMoneyAction = new TDEAction(i18n("Donate..."),
0, 0,
- this, TQT_SLOT(slotDonateMoney()),
+ this, TQ_SLOT(slotDonateMoney()),
actionCollection(),
"editorwindow_donatemoney");
d->contributeAction = new TDEAction(i18n("Contribute..."),
0, 0,
- this, TQT_SLOT(slotContribute()),
+ this, TQ_SLOT(slotContribute()),
actionCollection(),
"editorwindow_contribute");
@@ -505,7 +505,7 @@ void EditorWindow::setupStandardActions()
"kdcraw",
0,
this,
- TQT_SLOT(slotRawCameraList()),
+ TQ_SLOT(slotRawCameraList()),
actionCollection(),
"editorwindow_rawcameralist");
}
@@ -516,47 +516,47 @@ void EditorWindow::setupStandardAccelerators()
d->accelerators->insert("Exit fullscreen", i18n("Exit Fullscreen mode"),
i18n("Exit out of the fullscreen mode"),
- Key_Escape, this, TQT_SLOT(slotEscapePressed()),
+ Key_Escape, this, TQ_SLOT(slotEscapePressed()),
false, true);
d->accelerators->insert("Next Image Key_Space", i18n("Next Image"),
i18n("Load Next Image"),
- Key_Space, this, TQT_SLOT(slotForward()),
+ Key_Space, this, TQ_SLOT(slotForward()),
false, true);
d->accelerators->insert("Previous Image SHIFT+Key_Space", i18n("Previous Image"),
i18n("Load Previous Image"),
- SHIFT+Key_Space, this, TQT_SLOT(slotBackward()),
+ SHIFT+Key_Space, this, TQ_SLOT(slotBackward()),
false, true);
d->accelerators->insert("Previous Image Key_Backspace", i18n("Previous Image"),
i18n("Load Previous Image"),
- Key_Backspace, this, TQT_SLOT(slotBackward()),
+ Key_Backspace, this, TQ_SLOT(slotBackward()),
false, true);
d->accelerators->insert("Next Image Key_Next", i18n("Next Image"),
i18n("Load Next Image"),
- Key_Next, this, TQT_SLOT(slotForward()),
+ Key_Next, this, TQ_SLOT(slotForward()),
false, true);
d->accelerators->insert("Previous Image Key_Prior", i18n("Previous Image"),
i18n("Load Previous Image"),
- Key_Prior, this, TQT_SLOT(slotBackward()),
+ Key_Prior, this, TQ_SLOT(slotBackward()),
false, true);
d->accelerators->insert("Zoom Plus Key_Plus", i18n("Zoom In"),
i18n("Zoom in on Image"),
- Key_Plus, this, TQT_SLOT(slotIncreaseZoom()),
+ Key_Plus, this, TQ_SLOT(slotIncreaseZoom()),
false, true);
d->accelerators->insert("Zoom Plus Key_Minus", i18n("Zoom Out"),
i18n("Zoom out of Image"),
- Key_Minus, this, TQT_SLOT(slotDecreaseZoom()),
+ Key_Minus, this, TQ_SLOT(slotDecreaseZoom()),
false, true);
d->accelerators->insert("Redo CTRL+Key_Y", i18n("Redo"),
i18n("Redo Last action"),
- CTRL+Key_Y, m_canvas, TQT_SLOT(slotRedo()),
+ CTRL+Key_Y, m_canvas, TQ_SLOT(slotRedo()),
false, true);
}
@@ -594,14 +594,14 @@ void EditorWindow::setupStatusBar()
d->cmViewIndicator->setToggleButton(true);
statusBar()->addWidget(d->cmViewIndicator, 1);
- connect(d->underExposureIndicator, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotToggleUnderExposureIndicator()));
+ connect(d->underExposureIndicator, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotToggleUnderExposureIndicator()));
- connect(d->overExposureIndicator, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotToggleOverExposureIndicator()));
+ connect(d->overExposureIndicator, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotToggleOverExposureIndicator()));
- connect(d->cmViewIndicator, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotToggleColorManagedView()));
+ connect(d->cmViewIndicator, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotToggleColorManagedView()));
}
void EditorWindow::printImage(KURL url)
@@ -702,8 +702,8 @@ void EditorWindow::slotConfToolbars()
saveMainWindowSettings(TDEGlobal::config(), "ImageViewer Settings");
KEditToolbar dlg(factory(), this);
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()),
- this, TQT_SLOT(slotNewToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()),
+ this, TQ_SLOT(slotNewToolbarConfig()));
dlg.exec();
}
@@ -795,7 +795,7 @@ void EditorWindow::plugActionAccel(TDEAction* action)
action->whatsThis(),
action->shortcut(),
action,
- TQT_SLOT(activate()));
+ TQ_SLOT(activate()));
}
void EditorWindow::unplugActionAccel(TDEAction* action)
@@ -1543,11 +1543,11 @@ bool EditorWindow::startingSaveAs(const KURL& url)
false,
options);
- connect(&imageFileSaveDialog, TQT_SIGNAL(filterChanged(const TQString &)),
- options, TQT_SLOT(slotImageFileFormatChanged(const TQString &)));
+ connect(&imageFileSaveDialog, TQ_SIGNAL(filterChanged(const TQString &)),
+ options, TQ_SLOT(slotImageFileFormatChanged(const TQString &)));
- connect(&imageFileSaveDialog, TQT_SIGNAL(fileSelected(const TQString &)),
- options, TQT_SLOT(slotImageFileSelected(const TQString &)));
+ connect(&imageFileSaveDialog, TQ_SIGNAL(fileSelected(const TQString &)),
+ options, TQ_SLOT(slotImageFileSelected(const TQString &)));
ImageDialogPreview *preview = new ImageDialogPreview(&imageFileSaveDialog);
imageFileSaveDialog.setPreviewWidget(preview);