diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/themes/themes.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/themes/themes.cpp')
-rw-r--r-- | examples/themes/themes.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp index 88111945f..7eee9c990 100644 --- a/examples/themes/themes.cpp +++ b/examples/themes/themes.cpp @@ -57,7 +57,7 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f ) TQActionGroup *ag = new TQActionGroup( this, 0 ); ag->setExclusive( TRUE ); TQSignalMapper *styleMapper = new TQSignalMapper( this ); - connect( styleMapper, SIGNAL( mapped( const TQString& ) ), this, SLOT( makeStyle( const TQString& ) ) ); + connect( styleMapper, TQ_SIGNAL( mapped( const TQString& ) ), this, TQ_SLOT( makeStyle( const TQString& ) ) ); TQStringList list = TQStyleFactory::keys(); list.sort(); #ifndef TQT_NO_STYLE_WINDOWS @@ -81,18 +81,18 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f ) styleAccel = "&"+styleAccel; } TQAction *a = new TQAction( styleStr, TQIconSet(), styleAccel, 0, ag, 0, ag->isExclusive() ); - connect( a, SIGNAL( activated() ), styleMapper, SLOT(map()) ); + connect( a, TQ_SIGNAL( activated() ), styleMapper, TQ_SLOT(map()) ); styleMapper->setMapping( a, a->text() ); } ag->addTo(style); style->insertSeparator(); - style->insertItem("&Quit", tqApp, SLOT( quit() ), CTRL | Key_Q ); + style->insertItem("&Quit", tqApp, TQ_SLOT( quit() ), CTRL | Key_Q ); TQPopupMenu * help = new TQPopupMenu( this ); menuBar()->insertSeparator(); menuBar()->insertItem( "&Help", help ); - help->insertItem( "&About", this, SLOT(about()), Key_F1); - help->insertItem( "About &TQt", this, SLOT(aboutTQt())); + help->insertItem( "&About", this, TQ_SLOT(about()), Key_F1); + help->insertItem( "About &TQt", this, TQ_SLOT(aboutTQt())); #ifndef TQT_NO_STYLE_WINDOWS tqApp->setStyle( new NorwegianWoodStyle ); |