summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/cdarchiving
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/cdarchiving
parent8d3892fee88fd0eef3363aeca316ff5c93d9da19 (diff)
downloadkipi-plugins-f176190ca6b0706ec1217d0da075c9513af80c0b.tar.gz
kipi-plugins-f176190ca6b0706ec1217d0da075c9513af80c0b.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kipi-plugins/cdarchiving')
-rw-r--r--kipi-plugins/cdarchiving/cdarchiving.cpp26
-rw-r--r--kipi-plugins/cdarchiving/cdarchivingdialog.cpp4
-rw-r--r--kipi-plugins/cdarchiving/plugin_cdarchiving.cpp14
3 files changed, 22 insertions, 22 deletions
diff --git a/kipi-plugins/cdarchiving/cdarchiving.cpp b/kipi-plugins/cdarchiving/cdarchiving.cpp
index d9519ab..ca763d1 100644
--- a/kipi-plugins/cdarchiving/cdarchiving.cpp
+++ b/kipi-plugins/cdarchiving/cdarchiving.cpp
@@ -464,7 +464,7 @@ void CDArchiving::slotK3bDone(KProcess*)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Cannot remove temporary folder '%1'.").tqarg(m_tmpFolder);
+ d->message = i18n("Cannot remove temporary folder '%1'.").arg(m_tmpFolder);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
}
@@ -494,7 +494,7 @@ bool CDArchiving::buildHTMLInterface (void)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Cannot remove folder '%1'.").tqarg(MainTPath);
+ d->message = i18n("Cannot remove folder '%1'.").arg(MainTPath);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -507,7 +507,7 @@ bool CDArchiving::buildHTMLInterface (void)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Could not create folder '%1'.").tqarg(MainTPath);
+ d->message = i18n("Could not create folder '%1'.").arg(MainTPath);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -556,7 +556,7 @@ bool CDArchiving::buildHTMLInterface (void)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Could not create folder '%1'.").tqarg(SubTPath);
+ d->message = i18n("Could not create folder '%1'.").arg(SubTPath);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -586,7 +586,7 @@ bool CDArchiving::buildHTMLInterface (void)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Cannot remove folder '%1'.").tqarg(MainTPath);
+ d->message = i18n("Cannot remove folder '%1'.").arg(MainTPath);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -623,7 +623,7 @@ bool CDArchiving::buildHTMLInterface (void)
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Could not open file '%1'.").tqarg(MainUrl.path(+1));
+ d->message = i18n("Could not open file '%1'.").arg(MainUrl.path(+1));
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -649,7 +649,7 @@ bool CDArchiving::createDirectory(TQDir thumb_dir, TQString imgGalleryDir, TQStr
d->starting = false;
d->success = false;
d->message = i18n("Could not create folder '%1' in '%2'.")
- .tqarg(dirName).tqarg(imgGalleryDir);
+ .arg(dirName).arg(imgGalleryDir);
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -961,7 +961,7 @@ void CDArchiving::createBody(TQTextStream& stream,
<< "\" height=\"31\" width=\"88\" title=\"" << Temp << "\" />" << endl;
Temp = i18n("Album archive created with "
- "<a href=\"%1\">%2</a> on %3").tqarg(m_hostURL).tqarg(m_hostName).tqarg(today);
+ "<a href=\"%1\">%2</a> on %3").arg(m_hostURL).arg(m_hostName).arg(today);
stream << Temp << endl;
stream << "</p>" << endl;
@@ -1001,7 +1001,7 @@ void CDArchiving::createBodyMainPage(TQTextStream& stream, KURL& url)
<< Temp << "\" />" << endl;
Temp = i18n("Album archive created with "
- "<a href=\"%1\">%2</a> on %3").tqarg(m_hostURL).tqarg(m_hostName).tqarg(today);
+ "<a href=\"%1\">%2</a> on %3").arg(m_hostURL).arg(m_hostName).arg(today);
stream << Temp << endl;
stream << "</p>" << endl;
stream << "</body>\n</html>\n" << endl;
@@ -1053,7 +1053,7 @@ bool CDArchiving::createHtml( const KIPI::ImageCollection& album,
d->action = KIPICDArchivingPlugin::Error;
d->starting = false;
d->success = false;
- d->message = i18n("Could not open file '%1'.").tqarg(targetURL.path(+1));
+ d->message = i18n("Could not open file '%1'.").arg(targetURL.path(+1));
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
return false;
@@ -1245,7 +1245,7 @@ bool CDArchiving::createPage(const TQString& imgGalleryDir,
<< valid << "\" height=\"31\" width=\"88\" title=\"" << valid << "\" />" << endl;
valid = i18n("Image gallery created with "
- "<a href=\"%1\">%2</a> on %3").tqarg(m_hostURL).tqarg(m_hostName).tqarg(today);
+ "<a href=\"%1\">%2</a> on %3").arg(m_hostURL).arg(m_hostName).arg(today);
stream << valid << "</div>" << endl;
@@ -1580,7 +1580,7 @@ bool CDArchiving::BuildK3bXMLprojectfile (TQString HTMLinterfaceFolder, TQString
d->action = KIPICDArchivingPlugin::Progress;
d->starting = true;
d->success = false;
- d->message = i18n("Adding Album '%1' into project...").tqarg( (*it).name() );
+ d->message = i18n("Adding Album '%1' into project...").arg( (*it).name() );
TQApplication::sendEvent(m_parent, new TQCustomEvent(TQEvent::User, d));
usleep(1000);
addCollectionToK3bXMLProjectFile( *it, &stream);
@@ -1889,7 +1889,7 @@ TQString CDArchiving::EscapeSgmlText(const TQTextCodec* codec,
{
if (!codec->canEncode(ch))
{
- strReturn += TQString("&#%1;").tqarg(ch.tqunicode());
+ strReturn += TQString("&#%1;").arg(ch.tqunicode());
break;
}
}
diff --git a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp
index 9d80807..e94baf7 100644
--- a/kipi-plugins/cdarchiving/cdarchivingdialog.cpp
+++ b/kipi-plugins/cdarchiving/cdarchivingdialog.cpp
@@ -621,8 +621,8 @@ void CDArchivingDialog::ShowMediaCapacity(void)
Color = "<font color=\"red\">";
m_mediaSize->setText( i18n("Total size: ") + Color +
- i18n("<b>%1</b></font> / <b>%2</b>").tqarg(KIO::convertSizeFromKB(TargetMediaSize))
- .tqarg(KIO::convertSizeFromKB (MaxMediaSize)) );
+ i18n("<b>%1</b></font> / <b>%2</b>").arg(KIO::convertSizeFromKB(TargetMediaSize))
+ .arg(KIO::convertSizeFromKB (MaxMediaSize)) );
}
void CDArchivingDialog::slotOk()
diff --git a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp
index 0bab4a2..5d70cc9 100644
--- a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp
+++ b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp
@@ -157,7 +157,7 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
case(KIPICDArchivingPlugin::BuildAlbumHTMLPage):
{
- text = i18n("Making HTML pages for Album '%1'...").tqarg(d->albumName);
+ text = i18n("Making HTML pages for Album '%1'...").arg(d->albumName);
break;
}
@@ -169,7 +169,7 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
case(KIPICDArchivingPlugin::ResizeImages):
{
- text = i18n("Creating thumbnail for '%1'...").tqarg(d->fileName);
+ text = i18n("Creating thumbnail for '%1'...").arg(d->fileName);
break;
}
@@ -211,14 +211,14 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
case(KIPICDArchivingPlugin::BuildAlbumHTMLPage):
{
++m_current;
- text = i18n("HTML page creation for Album '%1' completed.").tqarg(d->albumName);
+ text = i18n("HTML page creation for Album '%1' completed.").arg(d->albumName);
break;
}
case(KIPICDArchivingPlugin::ResizeImages):
{
++m_current;
- text = i18n("Creating thumbnail for '%1' done.").tqarg(d->fileName);
+ text = i18n("Creating thumbnail for '%1' done.").arg(d->fileName);
break;
}
@@ -250,7 +250,7 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
{
case(KIPICDArchivingPlugin::ResizeImages):
{
- text = i18n("Failed to create thumbnail for '%1'").tqarg(d->fileName);
+ text = i18n("Failed to create thumbnail for '%1'").arg(d->fileName);
m_progressDlg->addedAction(text, KIPI::WarningMessage);
m_progressDlg->setProgress(m_current, m_total);
break;
@@ -260,7 +260,7 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
{
++m_current;
text = i18n("Failed to create HTML interface: %1")
- .tqarg(d->message);
+ .arg(d->message);
m_progressDlg->addedAction(text, KIPI::ErrorMessage);
m_progressDlg->setProgress(m_current, m_total);
slotCancel();
@@ -271,7 +271,7 @@ void Plugin_CDArchiving::customEvent(TQCustomEvent *event)
case(KIPICDArchivingPlugin::BuildAlbumHTMLPage):
{
text = i18n("Failed to create HTML pages for Album '%1'")
- .tqarg(d->albumName);
+ .arg(d->albumName);
m_progressDlg->addedAction(text, KIPI::ErrorMessage);
m_progressDlg->setProgress(m_current, m_total);
slotCancel();