summaryrefslogtreecommitdiffstats
path: root/kiosktool/kioskdata.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:13 -0600
commit1970df5bb461eff586a2a099ae0c020bdcd550b7 (patch)
tree9ec8eea2b02f2476145046092e3cdafd51b4ee10 /kiosktool/kioskdata.cpp
parentf97153cfb212e0b3feb8c8f1c6376b89c747a9a9 (diff)
downloadkiosktool-1970df5bb461eff586a2a099ae0c020bdcd550b7.tar.gz
kiosktool-1970df5bb461eff586a2a099ae0c020bdcd550b7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f97153cfb212e0b3feb8c8f1c6376b89c747a9a9.
Diffstat (limited to 'kiosktool/kioskdata.cpp')
-rw-r--r--kiosktool/kioskdata.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiosktool/kioskdata.cpp b/kiosktool/kioskdata.cpp
index df6fdae..135c8f2 100644
--- a/kiosktool/kioskdata.cpp
+++ b/kiosktool/kioskdata.cpp
@@ -51,7 +51,7 @@ static TQDict<TQString> *readStdActionCaptions()
TQString caption = action->text();
caption.replace("&","");
- captions->insert(TQString::fromLatin1(action->name()), new TQString(caption));
+ captions->insert(TQString::tqfromLatin1(action->name()), new TQString(caption));
}
return captions;
}
@@ -267,7 +267,7 @@ bool KioskData::load()
TQFile file( filename );
if ( !file.open( IO_ReadOnly ) )
{
- m_errorMsg = i18n("<qt>Could not open <b>%1</b></qt>").arg(filename);
+ m_errorMsg = i18n("<qt>Could not open <b>%1</b></qt>").tqarg(filename);
return false;
}
@@ -276,7 +276,7 @@ bool KioskData::load()
int errorCol;
if ( !doc.setContent( &file, &errorMsg, &errorRow, &errorCol ) )
{
- m_errorMsg = i18n("<qt>Syntax error in <b>%1</b><br>Line %3, column %4: %2</qt>").arg(filename, errorMsg).arg(errorRow).arg(errorCol);
+ m_errorMsg = i18n("<qt>Syntax error in <b>%1</b><br>Line %3, column %4: %2</qt>").tqarg(filename, errorMsg).tqarg(errorRow).tqarg(errorCol);
file.close();
return false;
}