summaryrefslogtreecommitdiffstats
path: root/tdeui/kstdaction.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-12 11:17:33 +0900
committerMichele Calgaro <[email protected]>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeui/kstdaction.h
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeui/kstdaction.h')
-rw-r--r--tdeui/kstdaction.h16
1 files changed, 8 insertions, 8 deletions
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 <[email protected]>
@@ -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 );