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-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /extensions | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/nsplugin/examples/grapher/grapher.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp index d1a4239a0..328a6b359 100644 --- a/extensions/nsplugin/examples/grapher/grapher.cpp +++ b/extensions/nsplugin/examples/grapher/grapher.cpp @@ -117,16 +117,16 @@ Graph::Graph( GraphModel& mdl ) : for ( Style s = Pie; styleName[s]; s = Style(s+1)) { stylemenu->insertItem(styleName[s], s+100); } - connect(stylemenu, SIGNAL(activated(int)), - this, SLOT(setStyleFromMenu(int))); + connect(stylemenu, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(setStyleFromMenu(int))); setStyle(Pie); menubar->insertItem("Style", stylemenu); menubar->insertSeparator(); TQPopupMenu* help = new TQPopupMenu; - help->insertItem( "About plugin...", this, SIGNAL(aboutPlugin()) ); - help->insertItem( "About data...", this, SIGNAL(aboutData()) ); + help->insertItem( "About plugin...", this, TQ_SIGNAL(aboutPlugin()) ); + help->insertItem( "About data...", this, TQ_SIGNAL(aboutData()) ); menubar->insertItem("Help", help); menubar->hide(); } @@ -459,8 +459,8 @@ TQNPWidget* Grapher::newWindow() int ptsize = fontsize ? atoi(fontsize) : graph->font().pointSize(); if (fontfamily) graph->setFont(TQFont(fontfamily, ptsize)); - connect(graph, SIGNAL(aboutPlugin()), this, SLOT(aboutPlugin())); - connect(graph, SIGNAL(aboutData()), this, SLOT(aboutData())); + connect(graph, TQ_SIGNAL(aboutPlugin()), this, TQ_SLOT(aboutPlugin())); + connect(graph, TQ_SIGNAL(aboutData()), this, TQ_SLOT(aboutData())); return graph; } |