summaryrefslogtreecommitdiffstats
path: root/filters/kspread/html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /filters/kspread/html
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'filters/kspread/html')
-rw-r--r--filters/kspread/html/exportdialog.cc2
-rw-r--r--filters/kspread/html/htmlexport.cc10
2 files changed, 6 insertions, 6 deletions
diff --git a/filters/kspread/html/exportdialog.cc b/filters/kspread/html/exportdialog.cc
index 72dd6875..8a0df7d0 100644
--- a/filters/kspread/html/exportdialog.cc
+++ b/filters/kspread/html/exportdialog.cc
@@ -44,7 +44,7 @@ ExportDialog::ExportDialog( TQWidget *parent, const char *name )
m_mainwidget->mSheets, TQT_SLOT( clearSelection() ) );
m_mainwidget->mEncodingBox->insertItem( i18n( "Recommended: UTF-8" ) );
- m_mainwidget->mEncodingBox->insertItem( i18n( "Locale (%1)" ).tqarg( KGlobal::locale()->codecForEncoding()->name() ) );
+ m_mainwidget->mEncodingBox->insertItem( i18n( "Locale (%1)" ).arg( KGlobal::locale()->codecForEncoding()->name() ) );
m_mainwidget->mCustomURL->setMode( KFile::ExistingOnly );
diff --git a/filters/kspread/html/htmlexport.cc b/filters/kspread/html/htmlexport.cc
index b81d8e22..f680207e 100644
--- a/filters/kspread/html/htmlexport.cc
+++ b/filters/kspread/html/htmlexport.cc
@@ -186,7 +186,7 @@ void HTMLExport::openPage( Sheet *sheet, KoDocument *document, TQString &str )
str += "<html>\n";
str += "<head>\n";
str += "<meta http-equiv=\"Content-Type\" ";
- str += TQString("content=\"text/html; charset=%1\">\n").tqarg( m_dialog->encoding()->mimeName() );
+ str += TQString("content=\"text/html; charset=%1\">\n").arg( m_dialog->encoding()->mimeName() );
str += "<meta name=\"Generator\" ";
str += "content=\"KSpread HTML Export Filter Version = ";
str += KOFFICE_VERSION_STRING;
@@ -202,7 +202,7 @@ void HTMLExport::openPage( Sheet *sheet, KoDocument *document, TQString &str )
str += "<title>" + title + "</title>\n";
str += "</head>\n";
- str += TQString("<body bgcolor=\"#FFFFFF\" dir=\"%1\">\n").tqarg(
+ str += TQString("<body bgcolor=\"#FFFFFF\" dir=\"%1\">\n").arg(
sheet->isRightToLeft()?"rtl":"ltr");
str += "<a name=\"__top\">\n";
@@ -234,8 +234,8 @@ void HTMLExport::convertSheet( Sheet *sheet, TQString &str, int iMaxUsedRow, int
int step=iMaxRow > 50 ? iMaxRow/50 : 1;
int i=1;
- str += "<" + html_table_tag + html_table_options.tqarg( m_dialog->useBorders() ? "1" : "0" ).tqarg( m_dialog->pixelsBetweenCells() ) +
- TQString("dir=\"%1\">\n").tqarg(sheet->isRightToLeft()?"rtl":"ltr");
+ str += "<" + html_table_tag + html_table_options.arg( m_dialog->useBorders() ? "1" : "0" ).arg( m_dialog->pixelsBetweenCells() ) +
+ TQString("dir=\"%1\">\n").arg(sheet->isRightToLeft()?"rtl":"ltr");
unsigned int nonempty_cells_prev=0;
@@ -297,7 +297,7 @@ void HTMLExport::convertSheet( Sheet *sheet, TQString &str, int iMaxUsedRow, int
#endif
line += " <" + html_cell_tag + html_cell_options;
if (text.isRightToLeft() != sheet->isRightToLeft())
- line += TQString(" dir=\"%1\" ").tqarg(text.isRightToLeft()?"rtl":"ltr");
+ line += TQString(" dir=\"%1\" ").arg(text.isRightToLeft()?"rtl":"ltr");
if (bgcolor.isValid() && bgcolor.name()!="#ffffff") // change color only for non-white cells
line += " bgcolor=\"" + bgcolor.name() + "\"";