diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/widgets/qmenudata.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'src/widgets/qmenudata.cpp')
-rw-r--r-- | src/widgets/qmenudata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp index 98bc2bf1e..720cba9e0 100644 --- a/src/widgets/qmenudata.cpp +++ b/src/widgets/qmenudata.cpp @@ -361,8 +361,8 @@ void TQMenuData::removePopup( TQPopupMenu *popup ) \code TQMenuBar *mainMenu = new TQMenuBar; TQPopupMenu *fileMenu = new TQPopupMenu; - fileMenu->insertItem( "New", myView, SLOT(newFile()), CTRL+Key_N ); - fileMenu->insertItem( "Open", myView, SLOT(open()), CTRL+Key_O ); + fileMenu->insertItem( "New", myView, TQ_SLOT(newFile()), CTRL+Key_N ); + fileMenu->insertItem( "Open", myView, TQ_SLOT(open()), CTRL+Key_O ); mainMenu->insertItem( "File", fileMenu ); \endcode @@ -373,7 +373,7 @@ void TQMenuData::removePopup( TQPopupMenu *popup ) accelerator. (For translations use a string \link TQKeySequence key sequence\endlink.): \code - fileMenu->insertItem( tr("Open"), myView, SLOT(open()), + fileMenu->insertItem( tr("Open"), myView, TQ_SLOT(open()), tr("Ctrl+O") ); \endcode |