diff options
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r-- | doc/html/themes-example.html | 50 |
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 <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> #include <<a href="qfont-h.html">ntqfont.h</a>> 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 <<a href="qtabwidget-h.html">ntqtabwidget.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> -#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> +#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> +#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="qfont-h.html">ntqfont.h</a>> #include <<a href="tqstylefactory-h.html">tqstylefactory.h</a>> -#include <<a href="qaction-h.html">ntqaction.h</a>> +#include <<a href="tqaction-h.html">tqaction.h</a>> #include <<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>> #include <<a href="qdict-h.html">ntqdict.h</a>> <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-><a href="ntqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" ); tabwidget-><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-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Style" , style ); + <a href="tqpopupmenu.html">TQPopupMenu</a> *style = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); +<a name="x333"></a> style-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Style" , style ); - style-><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-><a href="qactiongroup.html#setExclusive">setExclusive</a>( TRUE ); + style-><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-><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>& ) ), this, TQ_SLOT( makeStyle( const <a href="tqstring.html">TQString</a>& ) ) ); <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 = "&"+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-><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-><a href="ntqsignalmapper.html#setMapping">setMapping</a>( a, a-><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-><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-><a href="ntqsignalmapper.html#setMapping">setMapping</a>( a, a-><a href="tqaction.html#text">text</a>() ); } -<a name="x318"></a> ag-><a href="qactiongroup.html#addTo">addTo</a>(style); - style-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - style-><a href="ntqmenudata.html#insertItem">insertItem</a>("&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>()->insertSeparator(); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Help", help ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&About", this, TQ_SLOT(about()), Key_F1); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, TQ_SLOT(aboutTQt())); +<a name="x318"></a> ag-><a href="tqactiongroup.html#addTo">addTo</a>(style); + style-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + style-><a href="tqmenudata.html#insertItem">insertItem</a>("&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>()->insertSeparator(); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Help", help ); + help-><a href="tqmenudata.html#insertItem">insertItem</a>( "&About", this, TQ_SLOT(about()), Key_F1); + help-><a href="tqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, TQ_SLOT(aboutTQt())); #ifndef TQT_NO_STYLE_WINDOWS <a name="x325"></a> tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); |