diff options
Diffstat (limited to 'ksquirrel/sq_glwidget.cpp')
-rw-r--r-- | ksquirrel/sq_glwidget.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksquirrel/sq_glwidget.cpp b/ksquirrel/sq_glwidget.cpp index 5b42e58..bda1f57 100644 --- a/ksquirrel/sq_glwidget.cpp +++ b/ksquirrel/sq_glwidget.cpp @@ -491,10 +491,10 @@ void SQ_GLWidget::matrixChanged() float z = (m < 1.0) ? 1.0/m : m; // construct zoom - str = TQString::fromLatin1("%1% [%2:%3]") - .arg(fzoom, 0, 'f', 1) - .arg((m < 1.0)?1.0:z, 0, 'f', 1) - .arg((m > 1.0)?1.0:z, 0, 'f', 1); + str = TQString::tqfromLatin1("%1% [%2:%3]") + .tqarg(fzoom, 0, 'f', 1) + .tqarg((m < 1.0)?1.0:z, 0, 'f', 1) + .tqarg((m > 1.0)?1.0:z, 0, 'f', 1); #ifndef KSQUIRREL_PART SQ_GLView::window()->sbarWidget("SBGLZoom")->setText(str); @@ -503,10 +503,10 @@ void SQ_GLWidget::matrixChanged() #endif // construct rotation angle - str = TQString::fromLatin1("%1%2 %3 deg") - .arg((tab->isflippedV)?"V":"") - .arg((tab->isflippedH)?"H":"") - .arg(tab->curangle, 0, 'f', 1); + str = TQString::tqfromLatin1("%1%2 %3 deg") + .tqarg((tab->isflippedV)?"V":"") + .tqarg((tab->isflippedH)?"H":"") + .tqarg(tab->curangle, 0, 'f', 1); #ifndef KSQUIRREL_PART SQ_GLView::window()->sbarWidget("SBGLAngle")->setText(str); @@ -1273,7 +1273,7 @@ bool SQ_GLWidget::prepare() if(!m_lib) { - KMessageBox::error(this, i18n("Codec for %1 format not found").arg(tab->fmt_ext)); + KMessageBox::error(this, i18n("Codec for %1 format not found").tqarg(tab->fmt_ext)); reset_mode = false; tab = tabold; return false; @@ -1515,7 +1515,7 @@ void SQ_GLWidget::decode() { KMessageBox::error(this, i18n("Memory allocation failed for %1 of memory") - .arg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA)))); + .tqarg(KIO::convertSize(pp.realw * pp.realh * sizeof(RGBA)))); decodeFailedOn0(SQE_R_NOMEMORY); return; @@ -1598,7 +1598,7 @@ void SQ_GLWidget::decode() } } - id = images->insertItem(TQString::fromLatin1("#%1 [%2x%3@%4]").arg(tab->current+1).arg(im->w).arg(im->h).arg(im->bpp)); + id = images->insertItem(TQString::tqfromLatin1("#%1 [%2x%3@%4]").tqarg(tab->current+1).tqarg(im->w).tqarg(im->h).tqarg(im->bpp)); images->setItemParameter(id, tab->current); @@ -1655,7 +1655,7 @@ void SQ_GLWidget::paletteChange(const TQPalette &oldPalette) if(SQ_Config::instance()->readNumEntry("GL view background type", 1) == 0) { - TQColor color = colorGroup().color(TQColorGroup::Base); + TQColor color = tqcolorGroup().color(TQColorGroup::Base); qglClearColor(color); updateGL(); } |