From ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jan 2024 11:17:33 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- tdeui/kstdaction.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tdeui/kstdaction.h') diff --git a/tdeui/kstdaction.h b/tdeui/kstdaction.h index db1199757..76aad98a8 100644 --- a/tdeui/kstdaction.h +++ b/tdeui/kstdaction.h @@ -52,13 +52,13 @@ class TDEToggleFullScreenAction; * \code * TDEAction *newAct = new TDEAction(i18n("&New"), TQIconSet(BarIcon("document-new")), * TDEStdAccel::shortcut(TDEStdAccel::New), this, - * TQT_SLOT(fileNew()), actionCollection()); + * TQ_SLOT(fileNew()), actionCollection()); * \endcode * * You could drop that and replace it with: * * \code - * TDEAction *newAct = KStdAction::openNew(this, TQT_SLOT(fileNew()), + * TDEAction *newAct = KStdAction::openNew(this, TQ_SLOT(fileNew()), * actionCollection()); * \endcode * @@ -84,7 +84,7 @@ class TDEToggleFullScreenAction; * do something like: * * \code - * (void)KStdAction::cut(this, TQT_SLOT(editCut()), actionCollection(), "my_cut"); + * (void)KStdAction::cut(this, TQ_SLOT(editCut()), actionCollection(), "my_cut"); * \endcode * * Now, in your local XML resource file (e.g., yourappui.rc), simply @@ -102,14 +102,14 @@ class TDEToggleFullScreenAction; * * Another non-standard usage concerns instantiating the action in the * first place. Usually, you would use the member functions as - * shown above (e.g., KStdAction::cut(this, SLOT, parent)). You + * shown above (e.g., KStdAction::cut(this, TQ_SLOT, parent)). You * may, however, do this using the enums provided. This author can't * think of a reason why you would want to, but, hey, if you do, * here's how: * * \code - * (void)KStdAction::action(KStdAction::New, this, TQT_SLOT(fileNew()), actionCollection()); - * (void)KStdAction::action(KStdAction::Cut, this, TQT_SLOT(editCut()), actionCollection()); + * (void)KStdAction::action(KStdAction::New, this, TQ_SLOT(fileNew()), actionCollection()); + * (void)KStdAction::action(KStdAction::Cut, this, TQ_SLOT(editCut()), actionCollection()); * \endcode * * @author Kurt Granroth @@ -212,7 +212,7 @@ namespace KStdAction * Open a recently used document. The signature of the slot being called * is of the form slotURLSelected( const KURL & ). * @param recvr object to receive slot - * @param slot The TQT_SLOT to invoke when a URL is selected. The slot's + * @param slot The slot to invoke when a URL is selected. The slot's * signature is slotURLSelected( const KURL & ). * @param parent parent widget * @param name name of widget @@ -532,7 +532,7 @@ namespace KStdAction * Display the configure key bindings dialog. * * Note that you might be able to use the pre-built KXMLGUIFactory's fuction: - * KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection()); + * KStdAction::keyBindings(guiFactory(), TQ_SLOT(configureShortcuts()), actionCollection()); */ TDEUI_EXPORT TDEAction *keyBindings(const TQObject *recvr, const char *slot, TDEActionCollection* parent, const char *name = 0 ); -- cgit v1.2.1