From 522c7294f06d294c77bc1ea7d0dec4b371c43373 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:35:00 -0600 Subject: Remove additional unneeded tq method conversions --- src/tag.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/tag.cpp') diff --git a/src/tag.cpp b/src/tag.cpp index 7af9db1..700b88e 100644 --- a/src/tag.cpp +++ b/src/tag.cpp @@ -77,7 +77,7 @@ TQString State::fullName() { if (!parentTag() || parentTag()->states().count() == 1) return (name().isEmpty() && parentTag() ? parentTag()->name() : name()); - return TQString(i18n("%1: %2")).tqarg(parentTag()->name(), name()); + return TQString(i18n("%1: %2")).arg(parentTag()->name(), name()); } TQFont State::font(TQFont base) @@ -541,9 +541,9 @@ void Tag::createDefaultTagsSet(const TQString &fullPath) " \n" " \n" "\n") - .tqarg( i18n("To Do"), i18n("Unchecked"), i18n("Done") ) // %1 %2 %3 - .tqarg( i18n("Progress"), i18n("0 %"), i18n("25 %") ) // %4 %5 %6 - .tqarg( i18n("50 %"), i18n("75 %"), i18n("100 %") ) // %7 %8 %9 + .arg( i18n("To Do"), i18n("Unchecked"), i18n("Done") ) // %1 %2 %3 + .arg( i18n("Progress"), i18n("0 %"), i18n("25 %") ) // %4 %5 %6 + .arg( i18n("50 %"), i18n("75 %"), i18n("100 %") ) // %7 %8 %9 + TQString( " \n" " %1\n" // "Priority" @@ -596,9 +596,9 @@ void Tag::createDefaultTagsSet(const TQString &fullPath) " \n" " \n" "\n") - .tqarg( i18n("Priority"), i18n("Low"), i18n("Medium") ) // %1 %2 %3 - .tqarg( i18n("High"), i18n("Preference"), i18n("Bad") ) // %4 %5 %6 - .tqarg( i18n("Good"), i18n("Excellent"), i18n("Highlight") ) // %7 %8 %9 + .arg( i18n("Priority"), i18n("Low"), i18n("Medium") ) // %1 %2 %3 + .arg( i18n("High"), i18n("Preference"), i18n("Bad") ) // %4 %5 %6 + .arg( i18n("Good"), i18n("Excellent"), i18n("Highlight") ) // %7 %8 %9 + TQString( " \n" " %1\n" // "Important" @@ -664,9 +664,9 @@ void Tag::createDefaultTagsSet(const TQString &fullPath) " \n" " ""\n" "\n") - .tqarg( i18n("Important"), i18n("Very Important"), i18n("Information") ) // %1 %2 %3 - .tqarg( i18n("Idea"), i18n("The initial of 'Idea'", "I."), i18n("Title") ) // %4 %5 %6 - .tqarg( i18n("Code"), i18n("Work"), i18n("The initial of 'Work'", "W.") ) // %7 %8 %9 + .arg( i18n("Important"), i18n("Very Important"), i18n("Information") ) // %1 %2 %3 + .arg( i18n("Idea"), i18n("The initial of 'Idea'", "I."), i18n("Title") ) // %4 %5 %6 + .arg( i18n("Code"), i18n("Work"), i18n("The initial of 'Work'", "W.") ) // %7 %8 %9 + TQString( " \n" " \n" @@ -684,7 +684,7 @@ void Tag::createDefaultTagsSet(const TQString &fullPath) " \n" "\n" "") - .tqarg( i18n("Personal"), i18n("The initial of 'Personal'", "P."), i18n("Funny") ); // %1 %2 %3 + .arg( i18n("Personal"), i18n("The initial of 'Personal'", "P."), i18n("Funny") ); // %1 %2 %3 // Write to Disk: TQFile file(fullPath); -- cgit v1.2.3