diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
commit | fef846914f8db6dc117e206ef913d519bf6bb33e (patch) | |
tree | d6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/html/chart-setdataform-cpp.html | |
parent | 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff) | |
download | tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip |
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/chart-setdataform-cpp.html')
-rw-r--r-- | doc/html/chart-setdataform-cpp.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/chart-setdataform-cpp.html b/doc/html/chart-setdataform-cpp.html index 186ae6329..c181d80ee 100644 --- a/doc/html/chart-setdataform-cpp.html +++ b/doc/html/chart-setdataform-cpp.html @@ -36,10 +36,10 @@ body { background: #ffffff; color: black; } #include "chartform.h" #include <<a href="tqcolordialog-h.html">tqcolordialog.h</a>> -#include <<a href="qcombobox-h.html">ntqcombobox.h</a>> +#include <<a href="tqcombobox-h.html">tqcombobox.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="tqpixmap-h.html">tqpixmap.h</a>> -#include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> +#include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> #include <<a href="qtable-h.html">ntqtable.h</a>> #include "images/pattern01.xpm" @@ -63,7 +63,7 @@ const int MAX_PATTERNS = 14; <a name="f178"></a>SetDataForm::SetDataForm( ElementVector *elements, int decimalPlaces, <a href="tqwidget.html">TQWidget</a>* parent, const char* name, bool modal, WFlags f ) - : <a href="ntqdialog.html">TQDialog</a>( parent, name, modal, f ) + : <a href="tqdialog.html">TQDialog</a>( parent, name, modal, f ) { m_elements = elements; @@ -95,7 +95,7 @@ const int MAX_PATTERNS = 14; buttonBox = new <a href="qhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6, "button box layout" ); - colorPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this, "color button" ); + colorPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "color button" ); colorPushButton-><a href="ntqbutton.html#setText">setText</a>( "&Color..." ); colorPushButton-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); buttonBox-><a href="qboxlayout.html#addWidget">addWidget</a>( colorPushButton ); @@ -104,12 +104,12 @@ const int MAX_PATTERNS = 14; TQSizePolicy::Minimum ); buttonBox-><a href="qboxlayout.html#addItem">addItem</a>( spacer ); - okPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this, "ok button" ); + okPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "ok button" ); okPushButton-><a href="ntqbutton.html#setText">setText</a>( "OK" ); - okPushButton-><a href="ntqpushbutton.html#setDefault">setDefault</a>( TRUE ); + okPushButton-><a href="tqpushbutton.html#setDefault">setDefault</a>( TRUE ); buttonBox-><a href="qboxlayout.html#addWidget">addWidget</a>( okPushButton ); - cancelPushButton = new <a href="ntqpushbutton.html">TQPushButton</a>( this, "cancel button" ); + cancelPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( this, "cancel button" ); cancelPushButton-><a href="ntqbutton.html#setText">setText</a>( "Cancel" ); cancelPushButton-><a href="ntqbutton.html#setAccel">setAccel</a>( Key_Escape ); buttonBox-><a href="qboxlayout.html#addWidget">addWidget</a>( cancelPushButton ); @@ -123,8 +123,8 @@ const int MAX_PATTERNS = 14; <a href="tqobject.html#connect">connect</a>( table, TQ_SIGNAL( <a href="ntqtable.html#valueChanged">valueChanged</a>(int,int) ), this, TQ_SLOT( valueChanged(int,int) ) ); <a href="tqobject.html#connect">connect</a>( colorPushButton, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( setColor() ) ); - <a href="tqobject.html#connect">connect</a>( okPushButton, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( <a href="ntqdialog.html#accept">accept</a>() ) ); - <a href="tqobject.html#connect">connect</a>( cancelPushButton, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( <a href="ntqdialog.html#reject">reject</a>() ) ); + <a href="tqobject.html#connect">connect</a>( okPushButton, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( <a href="tqdialog.html#accept">accept</a>() ) ); + <a href="tqobject.html#connect">connect</a>( cancelPushButton, TQ_SIGNAL( <a href="ntqbutton.html#clicked">clicked</a>() ), this, TQ_SLOT( <a href="tqdialog.html#reject">reject</a>() ) ); TQPixmap patterns[MAX_PATTERNS]; patterns[0] = TQPixmap( pattern01 ); @@ -159,10 +159,10 @@ const int MAX_PATTERNS = 14; table-><a href="ntqtable.html#setPixmap">setPixmap</a>( i, 1, pix ); table-><a href="ntqtable.html#setText">setText</a>( i, 1, color.<a href="tqcolor.html#name">name</a>() ); - <a href="ntqcombobox.html">TQComboBox</a> *combobox = new <a href="ntqcombobox.html">TQComboBox</a>; + <a href="tqcombobox.html">TQComboBox</a> *combobox = new <a href="tqcombobox.html">TQComboBox</a>; for ( int j = 0; j < MAX_PATTERNS; ++j ) - combobox-><a href="ntqcombobox.html#insertItem">insertItem</a>( patterns[j] ); - combobox-><a href="ntqcombobox.html#setCurrentItem">setCurrentItem</a>( element.valuePattern() - 1 ); + combobox-><a href="tqcombobox.html#insertItem">insertItem</a>( patterns[j] ); + combobox-><a href="tqcombobox.html#setCurrentItem">setCurrentItem</a>( element.valuePattern() - 1 ); table-><a href="ntqtable.html#setCellWidget">setCellWidget</a>( i, 2, combobox ); table-><a href="ntqtable.html#setText">setText</a>( i, 3, element.label() ); @@ -221,7 +221,7 @@ void SetDataForm::setColor( int row, int col ) } -void SetDataForm::<a href="ntqdialog.html#accept">accept</a>() +void SetDataForm::<a href="tqdialog.html#accept">accept</a>() { bool ok; for ( int i = 0; i < ChartForm::MAX_ELEMENTS; ++i ) { @@ -238,7 +238,7 @@ void SetDataForm::<a href="ntqdialog.html#accept">accept</a>() element.setLabelColor( TQColor( table-><a href="ntqtable.html#text">text</a>( i, 4 ) ) ); } - TQDialog::<a href="ntqdialog.html#accept">accept</a>(); + TQDialog::<a href="tqdialog.html#accept">accept</a>(); } </pre><!-- eof --> <p><address><hr><div align=center> |