From d4393c1136b5fda7936d7506e3b9e3e6ac8e5897 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:28 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2) --- kcharselect/kcharselectdia.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kcharselect') diff --git a/kcharselect/kcharselectdia.cpp b/kcharselect/kcharselectdia.cpp index 8750b68..8f8b2a9 100644 --- a/kcharselect/kcharselectdia.cpp +++ b/kcharselect/kcharselectdia.cpp @@ -77,27 +77,27 @@ KCharSelectDia::KCharSelectDia(TQWidget *parent,const char *name, grid->addWidget( bClip, 2, 3 ); // Build menu - KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT(_exit()), actionCollection() ); + KStdAction::quit( this, TQT_SLOT(_exit()), actionCollection() ); new TDEAction(i18n("&To Clipboard"), "edit-copy", - TDEStdAccel::shortcut(TDEStdAccel::Copy), TQT_TQOBJECT(this), TQT_SLOT(toClip()), actionCollection(), "copy_clip" ); + TDEStdAccel::shortcut(TDEStdAccel::Copy), this, TQT_SLOT(toClip()), actionCollection(), "copy_clip" ); - (void)new TDEAction(i18n("To Clipboard &UTF-8"), 0, TQT_TQOBJECT(this), + (void)new TDEAction(i18n("To Clipboard &UTF-8"), 0, this, TQT_SLOT(toClipUTF8()), actionCollection(), "copy_utf_8" ); - (void)new TDEAction(i18n("To Clipboard &HTML"), 0, TQT_TQOBJECT(this), + (void)new TDEAction(i18n("To Clipboard &HTML"), 0, this, TQT_SLOT(toClipHTML()), actionCollection(), "copy_html" ); new TDEAction(i18n("&From Clipboard"), "edit-paste", - TDEStdAccel::shortcut(TDEStdAccel::Paste), TQT_TQOBJECT(this), TQT_SLOT(fromClip()), actionCollection(), "from_clip" ); - (void)new TDEAction(i18n("From Clipboard UTF-8"), 0, TQT_TQOBJECT(this), + TDEStdAccel::shortcut(TDEStdAccel::Paste), this, TQT_SLOT(fromClip()), actionCollection(), "from_clip" ); + (void)new TDEAction(i18n("From Clipboard UTF-8"), 0, this, TQT_SLOT(fromClipUTF8()), actionCollection(), "from_clip_utf8" ); i18n("From Clipboard HTML"); // Intended for future use - KStdAction::clear(TQT_TQOBJECT(this), TQT_SLOT(clear()), actionCollection(), "clear"); - (void)new TDEAction(i18n("&Flip"), 0, TQT_TQOBJECT(this), + KStdAction::clear(this, TQT_SLOT(clear()), actionCollection(), "clear"); + (void)new TDEAction(i18n("&Flip"), 0, this, TQT_SLOT(flipText()), actionCollection(), "flip" ); - (void)new TDEAction(i18n("&Alignment"), 0, TQT_TQOBJECT(this), + (void)new TDEAction(i18n("&Alignment"), 0, this, TQT_SLOT(toggleEntryDirection()), actionCollection(), "alignment" ); charSelect->setFocus(); -- cgit v1.2.1