From 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:58:08 -0600 Subject: Remove additional unneeded tq method conversions --- kopete/plugins/history/converter.cpp | 4 ++-- kopete/plugins/history/historydialog.cpp | 4 ++-- kopete/plugins/history/historylogger.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kopete/plugins/history') diff --git a/kopete/plugins/history/converter.cpp b/kopete/plugins/history/converter.cpp index 64af8c81..677ed1d2 100644 --- a/kopete/plugins/history/converter.cpp +++ b/kopete/plugins/history/converter.cpp @@ -112,7 +112,7 @@ void HistoryPlugin::convertOldHistory() progressDlg->progressBar()->reset(); progressDlg->progressBar()->setTotalSteps(d2.count()); - progressDlg->setLabel(i18n("Parsing old history in %1").tqarg(fi->fileName())); + progressDlg->setLabel(i18n("Parsing old history in %1").arg(fi->fileName())); progressDlg->show(); //if it was not already showed... while ( (fi2 = it2.current()) != 0 ) @@ -122,7 +122,7 @@ void HistoryPlugin::convertOldHistory() if(!contactId.isEmpty() ) { - progressDlg->setLabel(i18n("Parsing old history in %1:\n%2").tqarg(fi->fileName()).tqarg(contactId)); + progressDlg->setLabel(i18n("Parsing old history in %1:\n%2").arg(fi->fileName()).arg(contactId)); kapp->processEvents(0); //make sure the text is updated in the progressDlg int month=0; diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp index 45c639a7..b31118ec 100644 --- a/kopete/plugins/history/historydialog.cpp +++ b/kopete/plugins/history/historydialog.cpp @@ -95,7 +95,7 @@ int KListViewDateItem::compare(TQListViewItem *i, int col, bool ascending) const HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent, const char* name) : KDialogBase(parent, name, false, - i18n("History for %1").tqarg(mc->displayName()), 0), mSearching(false) + i18n("History for %1").arg(mc->displayName()), 0), mSearching(false) { TQString fontSize; TQString htmlCode; @@ -553,7 +553,7 @@ void HistoryDialog::slotContactChanged(int index) else { mMetaContact = mMetaContactList.at(index-1); - setCaption(i18n("History for %1").tqarg(mMetaContact->displayName())); + setCaption(i18n("History for %1").arg(mMetaContact->displayName())); init(); } } diff --git a/kopete/plugins/history/historylogger.cpp b/kopete/plugins/history/historylogger.cpp index c79c11c0..f03d165b 100644 --- a/kopete/plugins/history/historylogger.cpp +++ b/kopete/plugins/history/historylogger.cpp @@ -377,7 +377,7 @@ TQValueList HistoryLogger::readMessages(TQDate date) Kopete::Message msg(dt, from, to, msgElem2.text(), dir); msg.setBody( TQString::fromLatin1("%2") - .tqarg( dt.toString(Qt::LocalDate), msg.escapedBody() ), + .arg( dt.toString(Qt::LocalDate), msg.escapedBody() ), Kopete::Message::RichText); @@ -595,7 +595,7 @@ TQValueList HistoryLogger::readMessages(unsigned int lines, if (colorize) { msg.setBody( TQString::fromLatin1("%3") - .tqarg( fgColor.name(), timestamp.toString(Qt::LocalDate), msg.escapedBody() ), + .arg( fgColor.name(), timestamp.toString(Qt::LocalDate), msg.escapedBody() ), Kopete::Message::RichText ); msg.setFg( fgColor ); @@ -603,7 +603,7 @@ TQValueList HistoryLogger::readMessages(unsigned int lines, else { msg.setBody( TQString::fromLatin1("%2") - .tqarg( timestamp.toString(Qt::LocalDate), msg.escapedBody() ), + .arg( timestamp.toString(Qt::LocalDate), msg.escapedBody() ), Kopete::Message::RichText ); } -- cgit v1.2.1