summaryrefslogtreecommitdiffstats
path: root/tools/kfile-plugins
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /tools/kfile-plugins
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tools/kfile-plugins')
-rw-r--r--tools/kfile-plugins/ooo/kfile_ooo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/kfile-plugins/ooo/kfile_ooo.cpp b/tools/kfile-plugins/ooo/kfile_ooo.cpp
index fc6ca9c3..b5c3d5d0 100644
--- a/tools/kfile-plugins/ooo/kfile_ooo.cpp
+++ b/tools/kfile-plugins/ooo/kfile_ooo.cpp
@@ -241,7 +241,7 @@ void KOfficePlugin::getEditingTime(KFileMetaInfoGroup group1,
int res = getNumber(txt, &pos);
if (pos >= len)
return;
- switch (txt.tqat(pos).latin1()) {
+ switch (txt.at(pos).latin1()) {
case 'H':
hours = res;
break;
@@ -259,7 +259,7 @@ void KOfficePlugin::getEditingTime(KFileMetaInfoGroup group1,
}
hours += days * 24;
appendItem(group1, labelid,
- i18n("%1:%2.%3").tqarg(hours).tqarg(minutes, 2).tqarg(seconds,2 ));
+ i18n("%1:%2.%3").arg(hours).arg(minutes, 2).arg(seconds,2 ));
}
void KOfficePlugin::getDateTime(KFileMetaInfoGroup group1,
@@ -336,7 +336,7 @@ bool KOfficePlugin::readInfo( KFileMetaInfo& info, uint /*what*/)
if (node.isElement()){
appendItem(groupuser,
node.toElement().attribute(metaname,
- TQString("User %1").tqarg(i)),
+ TQString("User %1").arg(i)),
node.toElement().text());
}
}