summaryrefslogtreecommitdiffstats
path: root/doc/html/themes-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r--doc/html/themes-example.html50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html
index 1eb7c56b7..7a2767bc2 100644
--- a/doc/html/themes-example.html
+++ b/doc/html/themes-example.html
@@ -2134,12 +2134,12 @@ void <a name="f230"></a>MetalStyle::drawMetalGradient( <a href="ntqpainter.html"
#ifndef THEMES_H
#define THEMES_H
-#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
+#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
#include &lt;<a href="qfont-h.html">ntqfont.h</a>&gt;
class TQTabWidget;
-class Themes: public <a href="ntqmainwindow.html">TQMainWindow</a>
+class Themes: public <a href="tqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
@@ -2188,17 +2188,17 @@ private:
#include &lt;<a href="qtabwidget-h.html">ntqtabwidget.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
-#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
-#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
+#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
+#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="qfont-h.html">ntqfont.h</a>&gt;
#include &lt;<a href="tqstylefactory-h.html">tqstylefactory.h</a>&gt;
-#include &lt;<a href="qaction-h.html">ntqaction.h</a>&gt;
+#include &lt;<a href="tqaction-h.html">tqaction.h</a>&gt;
#include &lt;<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>&gt;
#include &lt;<a href="qdict-h.html">ntqdict.h</a>&gt;
<a name="f231"></a>Themes::Themes( <a href="tqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
- : <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name, f )
+ : <a href="tqmainwindow.html">TQMainWindow</a>( parent, name, f )
{
<a name="x321"></a> appFont = TQApplication::<a href="ntqapplication.html#font">font</a>();
tabwidget = new <a href="ntqtabwidget.html">TQTabWidget</a>( this );
@@ -2214,15 +2214,15 @@ private:
tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" );
tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new MyRichText( tabwidget ), "Fortune" );
- <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( tabwidget );
+ <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( tabwidget );
- <a href="ntqpopupmenu.html">TQPopupMenu</a> *style = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
-<a name="x333"></a> style-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
- <a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Style" , style );
+ <a href="tqpopupmenu.html">TQPopupMenu</a> *style = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
+<a name="x333"></a> style-&gt;<a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
+ <a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Style" , style );
- style-&gt;<a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
- <a href="qactiongroup.html">TQActionGroup</a> *ag = new <a href="qactiongroup.html">TQActionGroup</a>( this, 0 );
-<a name="x320"></a> ag-&gt;<a href="qactiongroup.html#setExclusive">setExclusive</a>( TRUE );
+ style-&gt;<a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE );
+ <a href="tqactiongroup.html">TQActionGroup</a> *ag = new <a href="tqactiongroup.html">TQActionGroup</a>( this, 0 );
+<a name="x320"></a> ag-&gt;<a href="tqactiongroup.html#setExclusive">setExclusive</a>( TRUE );
<a href="ntqsignalmapper.html">TQSignalMapper</a> *styleMapper = new <a href="ntqsignalmapper.html">TQSignalMapper</a>( this );
<a name="x335"></a> <a href="tqobject.html#connect">connect</a>( styleMapper, TQ_SIGNAL( <a href="ntqsignalmapper.html#mapped">mapped</a>( const <a href="tqstring.html">TQString</a>&amp; ) ), this, TQ_SLOT( makeStyle( const <a href="tqstring.html">TQString</a>&amp; ) ) );
<a name="x342"></a> <a href="tqstringlist.html">TQStringList</a> list = TQStyleFactory::<a href="tqstylefactory.html#keys">keys</a>();
@@ -2247,19 +2247,19 @@ private:
stylesDict.<a href="ntqdict.html#insert">insert</a>(styleAccel.<a href="tqstring.html#left">left</a>(1), (const int *)1);
styleAccel = "&amp;"+styleAccel;
}
-<a name="x319"></a> <a href="ntqaction.html">TQAction</a> *a = new <a href="ntqaction.html">TQAction</a>( styleStr, TQIconSet(), styleAccel, 0, ag, 0, ag-&gt;<a href="qactiongroup.html#isExclusive">isExclusive</a>() );
-<a name="x334"></a><a name="x316"></a> <a href="tqobject.html#connect">connect</a>( a, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ), styleMapper, TQ_SLOT(<a href="ntqsignalmapper.html#map">map</a>()) );
-<a name="x336"></a><a name="x317"></a> styleMapper-&gt;<a href="ntqsignalmapper.html#setMapping">setMapping</a>( a, a-&gt;<a href="ntqaction.html#text">text</a>() );
+<a name="x319"></a> <a href="tqaction.html">TQAction</a> *a = new <a href="tqaction.html">TQAction</a>( styleStr, TQIconSet(), styleAccel, 0, ag, 0, ag-&gt;<a href="tqactiongroup.html#isExclusive">isExclusive</a>() );
+<a name="x334"></a><a name="x316"></a> <a href="tqobject.html#connect">connect</a>( a, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ), styleMapper, TQ_SLOT(<a href="ntqsignalmapper.html#map">map</a>()) );
+<a name="x336"></a><a name="x317"></a> styleMapper-&gt;<a href="ntqsignalmapper.html#setMapping">setMapping</a>( a, a-&gt;<a href="tqaction.html#text">text</a>() );
}
-<a name="x318"></a> ag-&gt;<a href="qactiongroup.html#addTo">addTo</a>(style);
- style-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- style-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q );
-
- <a href="ntqpopupmenu.html">TQPopupMenu</a> * help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
- <a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertSeparator();
- <a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", help );
- help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, TQ_SLOT(about()), Key_F1);
- help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, TQ_SLOT(aboutTQt()));
+<a name="x318"></a> ag-&gt;<a href="tqactiongroup.html#addTo">addTo</a>(style);
+ style-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
+ style-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("&amp;Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q );
+
+ <a href="tqpopupmenu.html">TQPopupMenu</a> * help = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
+ <a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertSeparator();
+ <a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", help );
+ help-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, TQ_SLOT(about()), Key_F1);
+ help-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, TQ_SLOT(aboutTQt()));
#ifndef TQT_NO_STYLE_WINDOWS
<a name="x325"></a> tqApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle );