diff options
Diffstat (limited to 'src/kile/includegraphicsdialog.cpp')
-rw-r--r-- | src/kile/includegraphicsdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kile/includegraphicsdialog.cpp b/src/kile/includegraphicsdialog.cpp index 8b25947..a6df496 100644 --- a/src/kile/includegraphicsdialog.cpp +++ b/src/kile/includegraphicsdialog.cpp @@ -313,7 +313,7 @@ TQString IncludeGraphics::getInfo() TQFileInfo fi( edit_file->text() ); return "% " + fi.baseName() + '.' + fi.extension(true) - + TQString(": %1x%2 pixel").tqarg(wpx).tqarg(hpx) + + TQString(": %1x%2 pixel").arg(wpx).arg(hpx) + ", " + dpi + "dpi" + ", " + wcm + 'x' + hcm + " cm" + ", bb=" + edit_bb->text(); @@ -328,7 +328,7 @@ void IncludeGraphics::setInfo() if ( !edit_file->text().isEmpty() && getPictureSize(wpx,hpx,dpi,wcm,hcm) ) { - text = TQString("%1x%2 pixel").tqarg(wpx).tqarg(hpx) + text = TQString("%1x%2 pixel").arg(wpx).arg(hpx) + " / " + wcm + 'x' + hcm + " cm" + " (" + dpi + "dpi)"; } @@ -344,7 +344,7 @@ bool IncludeGraphics::getPictureSize(int &wpx, int &hpx, TQString &dpi, TQString wpx = m_width; hpx = m_height; - dpi = TQString("%1").tqarg((int)(m_resolution+0.5)); + dpi = TQString("%1").arg((int)(m_resolution+0.5)); // convert from inch to cm float w = (float)m_width / m_resolution * 2.54; @@ -484,9 +484,9 @@ void IncludeGraphics::slotProcessExited(KProcess* proc) int bbh = (int)( (float)m_height*72.0/m_resolution + 0.5 ); // take width and height as parameters for the bounding box - edit_bb->setText( TQString("0 0 ") + TQString("%1").tqarg(bbw) + edit_bb->setText( TQString("0 0 ") + TQString("%1").arg(bbw) + ' ' - + TQString("%1").tqarg(bbh) + + TQString("%1").arg(bbh) ); // show information |