summaryrefslogtreecommitdiffstats
path: root/doc/html/grapher-nsplugin-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-02 21:37:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-06 11:24:55 +0900
commit7552c6d73043b1040139033f6864db48ae5446cf (patch)
treef90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/grapher-nsplugin-example.html
parentc113da2069b66130f67a0f27c699e1cec83588a5 (diff)
downloadtqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz
tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/grapher-nsplugin-example.html')
-rw-r--r--doc/html/grapher-nsplugin-example.html38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/grapher-nsplugin-example.html b/doc/html/grapher-nsplugin-example.html
index b4aec2ac8..419d410ff 100644
--- a/doc/html/grapher-nsplugin-example.html
+++ b/doc/html/grapher-nsplugin-example.html
@@ -79,7 +79,7 @@ Implementation:
#include &lt;<a href="tqtextstream-h.html">tqtextstream.h</a>&gt;
#include &lt;<a href="qbuffer-h.html">ntqbuffer.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
-#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
+#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
#include &lt;<a href="tqptrlist-h.html">tqptrlist.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
@@ -164,9 +164,9 @@ signals:
private:
GraphModel&amp; model;
- <a href="ntqmenubar.html">TQMenuBar</a> *menubar;
+ <a href="tqmenubar.html">TQMenuBar</a> *menubar;
Style style;
- <a href="ntqpopupmenu.html">TQPopupMenu</a>* stylemenu;
+ <a href="tqpopupmenu.html">TQPopupMenu</a>* stylemenu;
int pieRotationTimer;
int pieRotation;
<a href="ntqpixmap.html">TQPixmap</a> pm;
@@ -184,24 +184,24 @@ private slots:
{
// Create a menubar for the widget
//
- menubar = new <a href="ntqmenubar.html">TQMenuBar</a>( this );
- stylemenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>;
-<a name="x2768"></a> stylemenu-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>(TRUE);
+ menubar = new <a href="tqmenubar.html">TQMenuBar</a>( this );
+ stylemenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>;
+<a name="x2768"></a> stylemenu-&gt;<a href="tqpopupmenu.html#setCheckable">setCheckable</a>(TRUE);
for ( Style s = Pie; styleName[s]; s = Style(s+1)) {
- stylemenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>(styleName[s], s+100);
+ stylemenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>(styleName[s], s+100);
}
-<a name="x2767"></a> <a href="tqobject.html#connect">connect</a>(stylemenu, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)),
+<a name="x2767"></a> <a href="tqobject.html#connect">connect</a>(stylemenu, TQ_SIGNAL(<a href="tqpopupmenu.html#activated">activated</a>(int)),
this, TQ_SLOT(setStyleFromMenu(int)));
<a href="tqwidget.html#setStyle">setStyle</a>(Pie);
- menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Style", stylemenu);
- menubar-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
+ menubar-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Style", stylemenu);
+ menubar-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
- <a href="ntqpopupmenu.html">TQPopupMenu</a>* help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>;
- help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About plugin...", this, TQ_SIGNAL(aboutPlugin()) );
- help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About data...", this, TQ_SIGNAL(aboutData()) );
- menubar-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Help", help);
-<a name="x2745"></a> menubar-&gt;<a href="ntqmenubar.html#hide">hide</a>();
+ <a href="tqpopupmenu.html">TQPopupMenu</a>* help = new <a href="tqpopupmenu.html">TQPopupMenu</a>;
+ help-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "About plugin...", this, TQ_SIGNAL(aboutPlugin()) );
+ help-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "About data...", this, TQ_SIGNAL(aboutData()) );
+ menubar-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Help", help);
+<a name="x2745"></a> menubar-&gt;<a href="tqmenubar.html#hide">hide</a>();
}
Graph::~Graph()
@@ -213,13 +213,13 @@ Graph::~Graph()
if (style != s) {
if (pieRotationTimer)
<a href="tqobject.html#killTimer">killTimer</a>(pieRotationTimer);
-<a name="x2749"></a> stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, FALSE);
+<a name="x2749"></a> stylemenu-&gt;<a href="tqmenudata.html#setItemChecked">setItemChecked</a>(100+style, FALSE);
style = s;
if ( style == Pie )
pieRotationTimer = <a href="tqobject.html#startTimer">startTimer</a>( 80 );
else
pieRotationTimer = 0;
- stylemenu-&gt;<a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(100+style, TRUE);
+ stylemenu-&gt;<a href="tqmenudata.html#setItemChecked">setItemChecked</a>(100+style, TRUE);
<a href="tqwidget.html#update">update</a>();
}
}
@@ -241,12 +241,12 @@ void Graph::<a href="tqwidget.html#setStyle">setStyle</a>(const char* stext)
<a name="x2753"></a>void Graph::<a href="qnpwidget.html#enterInstance">enterInstance</a>()
{
-<a name="x2746"></a> menubar-&gt;<a href="ntqmenubar.html#show">show</a>();
+<a name="x2746"></a> menubar-&gt;<a href="tqmenubar.html#show">show</a>();
}
<a name="x2754"></a>void Graph::<a href="qnpwidget.html#leaveInstance">leaveInstance</a>()
{
- menubar-&gt;<a href="ntqmenubar.html#hide">hide</a>();
+ menubar-&gt;<a href="tqmenubar.html#hide">hide</a>();
}
void <a name="f565"></a>Graph::paintError(const char* e)