From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/chart-chartform-cpp.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/html/chart-chartform-cpp.html') diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html index 35557c9a9..a0f0463ef 100644 --- a/doc/html/chart-chartform-cpp.html +++ b/doc/html/chart-chartform-cpp.html @@ -68,11 +68,11 @@ body { background: #ffffff; color: black; } #include "images/options_verticalbarchart.xpm" -const TQString WINDOWS_REGISTRY = "/Trolltech/TQtExamples"; -const TQString APP_KEY = "/Chart/"; +const TQString WINDOWS_REGISTRY = "/Trolltech/TQtExamples"; +const TQString APP_KEY = "/Chart/"; -ChartForm::ChartForm( const TQString& filename ) +ChartForm::ChartForm( const TQString& filename ) : TQMainWindow( 0, 0, WDestructiveClose ) { setIcon( TQPixmap( options_piechart ) ); @@ -236,9 +236,9 @@ const TQString APP_KEY = "/Chart/"; m_font.fromString( settings.readEntry( APP_KEY + "Font", m_font.toString() ) ); for ( int i = 0; i < MAX_RECENTFILES; ++i ) { - TQString filename = settings.readEntry( APP_KEY + "File" + - TQString::number( i + 1 ) ); - if ( !filename.isEmpty() ) + TQString filename = settings.readEntry( APP_KEY + "File" + + TQString::number( i + 1 ) ); + if ( !filename.isEmpty() ) m_recentFiles.push_back( filename ); } if ( m_recentFiles.count() ) @@ -260,7 +260,7 @@ const TQString APP_KEY = "/Chart/"; setCentralWidget( m_canvasView ); m_canvasView->show(); - if ( !filename.isEmpty() ) + if ( !filename.isEmpty() ) load( filename ); else { init(); @@ -328,10 +328,10 @@ void ChartForm::fileOpen() if ( !okToClear() ) return; - TQString filename = TQFileDialog::getOpenFileName( + TQString filename = TQFileDialog::getOpenFileName( TQString::null, "Charts (*.cht)", this, "file open", "Chart -- File Open" ); - if ( !filename.isEmpty() ) + if ( !filename.isEmpty() ) load( filename ); else statusBar()->message( "File Open abandoned", 2000 ); @@ -340,10 +340,10 @@ void ChartForm::fileOpen() void ChartForm::fileSaveAs() { - TQString filename = TQFileDialog::getSaveFileName( + TQString filename = TQFileDialog::getSaveFileName( TQString::null, "Charts (*.cht)", this, "file save as", "Chart -- File Save As" ); - if ( !filename.isEmpty() ) { + if ( !filename.isEmpty() ) { int answer = 0; if ( TQFile::exists( filename ) ) answer = TQMessageBox::warning( @@ -371,7 +371,7 @@ void ChartForm::fileOpenRecent( int index ) } -void ChartForm::updateRecentFiles( const TQString& filename ) +void ChartForm::updateRecentFiles( const TQString& filename ) { if ( m_recentFiles.find( filename ) != m_recentFiles.end() ) return; @@ -410,7 +410,7 @@ void ChartForm::fileQuit() bool ChartForm::okToClear() { if ( m_changed ) { - TQString msg; + TQString msg; if ( m_filename.isEmpty() ) msg = "Unnamed chart "; else -- cgit v1.2.3