summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpmainwindow_edit.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 12:00:19 +0900
commit55cef714419f6e36e66dc75afc40682ea5c73a35 (patch)
tree5e72b5e899aa3837c1a7fd60fbe5cc21c0acead3 /kolourpaint/kpmainwindow_edit.cpp
parent3849f5c32c10eba032a6738fd47331c0fa6afe1c (diff)
downloadtdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.tar.gz
tdegraphics-55cef714419f6e36e66dc75afc40682ea5c73a35.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kolourpaint/kpmainwindow_edit.cpp')
-rw-r--r--kolourpaint/kpmainwindow_edit.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kolourpaint/kpmainwindow_edit.cpp b/kolourpaint/kpmainwindow_edit.cpp
index 61cb7319..dd62bcda 100644
--- a/kolourpaint/kpmainwindow_edit.cpp
+++ b/kolourpaint/kpmainwindow_edit.cpp
@@ -103,25 +103,25 @@ void kpMainWindow::setupEditMenuActions ()
}
- m_actionCut = KStdAction::cut (TQT_TQOBJECT(this), TQT_SLOT (slotCut ()), ac);
- m_actionCopy = KStdAction::copy (TQT_TQOBJECT(this), TQT_SLOT (slotCopy ()), ac);
- m_actionPaste = KStdAction::paste (TQT_TQOBJECT(this), TQT_SLOT (slotPaste ()), ac);
+ m_actionCut = KStdAction::cut (this, TQT_SLOT (slotCut ()), ac);
+ m_actionCopy = KStdAction::copy (this, TQT_SLOT (slotCopy ()), ac);
+ m_actionPaste = KStdAction::paste (this, TQT_SLOT (slotPaste ()), ac);
m_actionPasteInNewWindow = new TDEAction (i18n ("Paste in &New Window"),
TQt::CTRL + TQt::SHIFT + TQt::Key_V,
- TQT_TQOBJECT(this), TQT_SLOT (slotPasteInNewWindow ()), ac, "edit_paste_in_new_window");
+ this, TQT_SLOT (slotPasteInNewWindow ()), ac, "edit_paste_in_new_window");
//m_actionDelete = KStdAction::clear (this, TQT_SLOT (slotDelete ()), ac);
m_actionDelete = new TDEAction (i18n ("&Delete Selection"), 0,
- TQT_TQOBJECT(this), TQT_SLOT (slotDelete ()), ac, "edit_clear");
+ this, TQT_SLOT (slotDelete ()), ac, "edit_clear");
- m_actionSelectAll = KStdAction::selectAll (TQT_TQOBJECT(this), TQT_SLOT (slotSelectAll ()), ac);
- m_actionDeselect = KStdAction::deselect (TQT_TQOBJECT(this), TQT_SLOT (slotDeselect ()), ac);
+ m_actionSelectAll = KStdAction::selectAll (this, TQT_SLOT (slotSelectAll ()), ac);
+ m_actionDeselect = KStdAction::deselect (this, TQT_SLOT (slotDeselect ()), ac);
m_actionCopyToFile = new TDEAction (i18n ("C&opy to File..."), 0,
- TQT_TQOBJECT(this), TQT_SLOT (slotCopyToFile ()), ac, "edit_copy_to_file");
+ this, TQT_SLOT (slotCopyToFile ()), ac, "edit_copy_to_file");
m_actionPasteFromFile = new TDEAction (i18n ("Paste &From File..."), 0,
- TQT_TQOBJECT(this), TQT_SLOT (slotPasteFromFile ()), ac, "edit_paste_from_file");
+ this, TQT_SLOT (slotPasteFromFile ()), ac, "edit_paste_from_file");
m_editMenuDocumentActionsEnabled = false;
@@ -130,7 +130,7 @@ void kpMainWindow::setupEditMenuActions ()
// Paste should always be enabled, as long as there is something paste
// (independent of whether we have a document or not)
connect (TQApplication::clipboard (), TQT_SIGNAL (dataChanged ()),
- TQT_TQOBJECT(this), TQT_SLOT (slotEnablePaste ()));
+ this, TQT_SLOT (slotEnablePaste ()));
slotEnablePaste ();
}