diff options
author | Michele Calgaro <[email protected]> | 2024-01-10 10:12:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:03:49 +0900 |
commit | db88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch) | |
tree | 392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /extra/kde331 | |
parent | bab19cc2a24fceccebe4477c4af99a6a162ef998 (diff) | |
download | pytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.tar.gz pytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d94985267d6f224c5a9833736762f466d264374d)
Diffstat (limited to 'extra/kde331')
-rw-r--r-- | extra/kde331/tdeaccelbase.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/kde331/tdeaccelbase.h b/extra/kde331/tdeaccelbase.h index 4b1d8d8..7ab8553 100644 --- a/extra/kde331/tdeaccelbase.h +++ b/extra/kde331/tdeaccelbase.h @@ -79,11 +79,11 @@ class TQWidget; * a->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" ); * // Insert an action "Scroll Down" which is not associated with any key: * a->insertItem( i18n("Scroll Down"), "Scroll Down", 0); - * a->connectItem( "Scroll up", myWindow, SLOT( scrollUp() ) ); + * a->connectItem( "Scroll up", myWindow, TQ_SLOT( scrollUp() ) ); * // a->insertStdItem( TDEStdAccel::Print ); //not necessary, since it * // is done automatially with the * // connect below! - * a->connectItem(TDEStdAccel::Print, myWindow, SLOT( printDoc() ) ); + * a->connectItem(TDEStdAccel::Print, myWindow, TQ_SLOT( printDoc() ) ); * * a->readSettings(); *\endcode @@ -93,12 +93,12 @@ class TQWidget; * * \code * int id; - * id = popup->insertItem("&Print",this, SLOT(printDoc())); + * id = popup->insertItem("&Print",this, TQ_SLOT(printDoc())); * a->changeMenuAccel(popup, id, TDEStdAccel::Print ); * \endcode * * If you want a somewhat "exotic" name for your standard print action, like - * id = popup->insertItem(i18n("Print &Document"),this, SLOT(printDoc())); + * id = popup->insertItem(i18n("Print &Document"),this, TQ_SLOT(printDoc())); * it might be a good idea to insert the standard action before as * a->insertStdItem( TDEStdAccel::Print, i18n("Print Document") ) * as well, so that the user can easily find the corresponding function. @@ -107,7 +107,7 @@ class TQWidget; * in a menu could be done with * * \code - * id = popup->insertItem(i18n"Scroll &up",this, SLOT(scrollUp())); + * id = popup->insertItem(i18n"Scroll &up",this, TQ_SLOT(scrollUp())); * a->changeMenuAccel(popup, id, "Scroll Up" ); * \endcode * |