summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/sendimages
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:43:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:43:35 -0600
commitf176190ca6b0706ec1217d0da075c9513af80c0b (patch)
tree7642f68c8dff2a91c6d0df3b77f578249736b7d7 /kipi-plugins/sendimages
parent8d3892fee88fd0eef3363aeca316ff5c93d9da19 (diff)
downloadkipi-plugins-f176190ca6b0706ec1217d0da075c9513af80c0b.tar.gz
kipi-plugins-f176190ca6b0706ec1217d0da075c9513af80c0b.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kipi-plugins/sendimages')
-rw-r--r--kipi-plugins/sendimages/plugin_sendimages.cpp8
-rw-r--r--kipi-plugins/sendimages/sendimages.cpp18
-rw-r--r--kipi-plugins/sendimages/sendimagesdialog.cpp16
3 files changed, 21 insertions, 21 deletions
diff --git a/kipi-plugins/sendimages/plugin_sendimages.cpp b/kipi-plugins/sendimages/plugin_sendimages.cpp
index 598317f..1407887 100644
--- a/kipi-plugins/sendimages/plugin_sendimages.cpp
+++ b/kipi-plugins/sendimages/plugin_sendimages.cpp
@@ -174,14 +174,14 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event)
case(KIPISendimagesPlugin::ResizeImages):
{
text = i18n("Resizing '%1' from Album '%2'...")
- .tqarg(d->fileName).tqarg(d->albumName);
+ .arg(d->fileName).arg(d->albumName);
break;
}
case(KIPISendimagesPlugin::Progress):
{
text = i18n("Using '%1' from Album '%2' without resizing...")
- .tqarg(d->fileName).tqarg(d->albumName);
+ .arg(d->fileName).arg(d->albumName);
break;
}
@@ -204,7 +204,7 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event)
case(KIPISendimagesPlugin::ResizeImages):
{
text = i18n("Failed to resize '%1' from Album '%2'")
- .tqarg(d->fileName).tqarg(d->albumName);
+ .arg(d->fileName).arg(d->albumName);
break;
}
@@ -223,7 +223,7 @@ void Plugin_SendImages::customEvent(TQCustomEvent *event)
case(KIPISendimagesPlugin::ResizeImages):
{
text = i18n("Resizing '%1' from Album '%2' completed.")
- .tqarg(d->fileName).tqarg(d->albumName);
+ .arg(d->fileName).arg(d->albumName);
break;
}
diff --git a/kipi-plugins/sendimages/sendimages.cpp b/kipi-plugins/sendimages/sendimages.cpp
index 0b2a4bc..ce22104 100644
--- a/kipi-plugins/sendimages/sendimages.cpp
+++ b/kipi-plugins/sendimages/sendimages.cpp
@@ -337,7 +337,7 @@ void SendImages::makeCommentsFile(void)
anyCommentsPresent = true;
ImageCommentsText += i18n("Caption for image \"%1\": %2\n")
- .tqarg(targetFile).tqarg(commentItem);
+ .arg(targetFile).arg(commentItem);
//Tags from the database
if (m_interface->hasFeature(KIPI::HostSupportsTags))
@@ -345,7 +345,7 @@ void SendImages::makeCommentsFile(void)
TQMap <TQString, TQVariant> attribs=info.attributes();
if (attribs["tags"].asStringList().count() > 0)
{
- ImageCommentsText += i18n("Tags: %2\n").tqarg(attribs["tags"].asStringList().join(","));
+ ImageCommentsText += i18n("Tags: %2\n").arg(attribs["tags"].asStringList().join(","));
anyCommentsPresent = true;
}
}
@@ -487,7 +487,7 @@ bool SendImages::invokeMailAgent(void)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
else
agentInvoked = true;
}
@@ -516,7 +516,7 @@ bool SendImages::invokeMailAgent(void)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
else
agentInvoked = true;
}
@@ -538,7 +538,7 @@ bool SendImages::invokeMailAgent(void)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
else
agentInvoked = true;
}
@@ -564,7 +564,7 @@ bool SendImages::invokeMailAgent(void)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
else
agentInvoked = true;
}
@@ -627,7 +627,7 @@ bool SendImages::invokeMailAgent(void)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
else
{ agentInvoked = true;
m_invokedBefore=true;
@@ -642,7 +642,7 @@ bool SendImages::invokeMailAgent(void)
void SendImages::removeTmpFiles(void)
{
if (DeleteDir(m_tmp) == false)
- KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot remove temporary folder %1.").tqarg(m_tmp));
+ KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), i18n("Cannot remove temporary folder %1.").arg(m_tmp));
}
///Checks if directory is empty and invokes its deletion
@@ -884,7 +884,7 @@ void SendImages::slotMozillaExited(KProcess*)
KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()),
i18n("Cannot start '%1' program;\nplease "
"check your installation.")
- .tqarg(m_sendImagesDialog->m_mailAgentName->currentText()));
+ .arg(m_sendImagesDialog->m_mailAgentName->currentText()));
}
else
{
diff --git a/kipi-plugins/sendimages/sendimagesdialog.cpp b/kipi-plugins/sendimages/sendimagesdialog.cpp
index 7f828bc..a99fdaf 100644
--- a/kipi-plugins/sendimages/sendimagesdialog.cpp
+++ b/kipi-plugins/sendimages/sendimagesdialog.cpp
@@ -469,12 +469,12 @@ void SendImagesDialog::setupEmailOptions(void)
"and if the target mailbox size is not limited.<p>"
"<b>%5</b>: use this if you have no size or speed restrictions.<p>"
"<b>%6</b>: use this only for printing purpose.<p>")
- .tqarg(i18n("very small (320 pixels)"))
- .tqarg(i18n("small (640 pixels)"))
- .tqarg(i18n("medium (800 pixels)"))
- .tqarg(i18n("big (1024 pixels)"))
- .tqarg(i18n("very big (1280 pixels)"))
- .tqarg(i18n("huge - for printing (1600 pixels)"));
+ .arg(i18n("very small (320 pixels)"))
+ .arg(i18n("small (640 pixels)"))
+ .arg(i18n("medium (800 pixels)"))
+ .arg(i18n("big (1024 pixels)"))
+ .arg(i18n("very big (1280 pixels)"))
+ .arg(i18n("huge - for printing (1600 pixels)"));
TQWhatsThis::add( m_imagesResize, whatsThis );
m_labelImageSize = new TQLabel( i18n("Sent image size:"), groupBox2);
@@ -620,8 +620,8 @@ void SendImagesDialog::slotImageSelected( TQListBoxItem * item )
if ( !pitem ) return;
- m_ImageComments->setText( i18n("Caption: %1").tqarg(pitem->comments()) );
- m_ImageAlbum->setText( i18n("Album: %1").tqarg(pitem->album()) );
+ m_ImageComments->setText( i18n("Caption: %1").arg(pitem->comments()) );
+ m_ImageAlbum->setText( i18n("Album: %1").arg(pitem->album()) );
m_imageLabel->clear();
if ( m_thumbJob )