diff options
Diffstat (limited to 'doc/html/chart-chartform-cpp.html')
-rw-r--r-- | doc/html/chart-chartform-cpp.html | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html index 90c0fdac9..89a849922 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -40,8 +40,8 @@ body { background: #ffffff; color: black; } #include <<a href="tqaction-h.html">tqaction.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qcombobox-h.html">ntqcombobox.h</a>> -#include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> +#include <<a href="tqfile-h.html">tqfile.h</a>> +#include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> #include <<a href="qfont-h.html">ntqfont.h</a>> #include <<a href="qfontdialog-h.html">ntqfontdialog.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> @@ -50,7 +50,7 @@ body { background: #ffffff; color: black; } #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="qprinter-h.html">ntqprinter.h</a>> #include <<a href="qradiobutton-h.html">ntqradiobutton.h</a>> -#include <<a href="qsettings-h.html">ntqsettings.h</a>> +#include <<a href="tqsettings-h.html">tqsettings.h</a>> #include <<a href="qspinbox-h.html">ntqspinbox.h</a>> #include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="tqtoolbar-h.html">tqtoolbar.h</a>> @@ -221,22 +221,22 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/"; m_printer = 0; m_elements.resize( MAX_ELEMENTS ); - <a href="ntqsettings.html">TQSettings</a> settings; -<a name="x2890"></a> settings.<a href="ntqsettings.html#insertSearchPath">insertSearchPath</a>( TQSettings::Windows, WINDOWS_REGISTRY ); - int windowWidth = settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowWidth", 460 ); - int windowHeight = settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowHeight", 530 ); - int windowX = settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowX", -1 ); - int windowY = settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowY", -1 ); + <a href="tqsettings.html">TQSettings</a> settings; +<a name="x2890"></a> settings.<a href="tqsettings.html#insertSearchPath">insertSearchPath</a>( TQSettings::Windows, WINDOWS_REGISTRY ); + int windowWidth = settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowWidth", 460 ); + int windowHeight = settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowHeight", 530 ); + int windowX = settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowX", -1 ); + int windowY = settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "WindowY", -1 ); setChartType( ChartType( - settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "ChartType", int(PIE) ) ) ); + settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "ChartType", int(PIE) ) ) ); m_addValues = AddValuesType( - settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "AddValues", int(NO) )); - m_decimalPlaces = settings.<a href="ntqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "Decimals", 2 ); + settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "AddValues", int(NO) )); + m_decimalPlaces = settings.<a href="tqsettings.html#readNumEntry">readNumEntry</a>( APP_KEY + "Decimals", 2 ); m_font = TQFont( "Helvetica", 18, TQFont::Bold ); m_font.fromString( - settings.<a href="ntqsettings.html#readEntry">readEntry</a>( APP_KEY + "Font", m_font.toString() ) ); + settings.<a href="tqsettings.html#readEntry">readEntry</a>( APP_KEY + "Font", m_font.toString() ) ); for ( int i = 0; i < MAX_RECENTFILES; ++i ) { - <a href="tqstring.html">TQString</a> filename = settings.<a href="ntqsettings.html#readEntry">readEntry</a>( APP_KEY + "File" + + <a href="tqstring.html">TQString</a> filename = settings.<a href="tqsettings.html#readEntry">readEntry</a>( APP_KEY + "File" + <a name="x2893"></a> TQString::<a href="tqstring.html#number">number</a>( i + 1 ) ); <a name="x2892"></a> if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() ) m_recentFiles.push_back( filename ); @@ -328,7 +328,7 @@ void <a name="f151"></a>ChartForm::fileOpen() if ( !okToClear() ) return; - <a href="tqstring.html">TQString</a> filename = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( + <a href="tqstring.html">TQString</a> filename = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, "Charts (*.cht)", this, "file open", "Chart -- File Open" ); if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() ) @@ -340,12 +340,12 @@ void <a name="f151"></a>ChartForm::fileOpen() void <a name="f152"></a>ChartForm::fileSaveAs() { - <a href="tqstring.html">TQString</a> filename = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( + <a href="tqstring.html">TQString</a> filename = TQFileDialog::<a href="tqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, "Charts (*.cht)", this, "file save as", "Chart -- File Save As" ); if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { int answer = 0; -<a name="x2878"></a> if ( TQFile::<a href="ntqfile.html#exists">exists</a>( filename ) ) +<a name="x2878"></a> if ( TQFile::<a href="tqfile.html#exists">exists</a>( filename ) ) <a name="x2889"></a> answer = TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Chart -- Overwrite File", TQString( "Overwrite\n\'%1\'?" ). @@ -438,18 +438,18 @@ bool <a name="f157"></a>ChartForm::okToClear() void <a name="f158"></a>ChartForm::saveOptions() { - <a href="ntqsettings.html">TQSettings</a> settings; - settings.<a href="ntqsettings.html#insertSearchPath">insertSearchPath</a>( TQSettings::Windows, WINDOWS_REGISTRY ); -<a name="x2891"></a> settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowWidth", width() ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowHeight", height() ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowX", x() ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowY", y() ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "ChartType", int(m_chartType) ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "AddValues", int(m_addValues) ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "Decimals", m_decimalPlaces ); - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "Font", m_font.toString() ); + <a href="tqsettings.html">TQSettings</a> settings; + settings.<a href="tqsettings.html#insertSearchPath">insertSearchPath</a>( TQSettings::Windows, WINDOWS_REGISTRY ); +<a name="x2891"></a> settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowWidth", width() ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowHeight", height() ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowX", x() ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "WindowY", y() ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "ChartType", int(m_chartType) ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "AddValues", int(m_addValues) ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "Decimals", m_decimalPlaces ); + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "Font", m_font.toString() ); for ( int i = 0; i < int(m_recentFiles.count()); ++i ) - settings.<a href="ntqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "File" + TQString::number( i + 1 ), + settings.<a href="tqsettings.html#writeEntry">writeEntry</a>( APP_KEY + "File" + TQString::number( i + 1 ), m_recentFiles[i] ); } |