diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:45 -0600 |
commit | f97153cfb212e0b3feb8c8f1c6376b89c747a9a9 (patch) | |
tree | a1532a1cc1328b9911ab4f4925c539bc63028cfe /kiosktool/kioskdata.cpp | |
parent | db44472ee6bea78988dafabfa58fec32894af0a9 (diff) | |
download | kiosktool-f97153cfb212e0b3feb8c8f1c6376b89c747a9a9.tar.gz kiosktool-f97153cfb212e0b3feb8c8f1c6376b89c747a9a9.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kiosktool/kioskdata.cpp')
-rw-r--r-- | kiosktool/kioskdata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kiosktool/kioskdata.cpp b/kiosktool/kioskdata.cpp index 135c8f2..df6fdae 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::tqfromLatin1(action->name()), new TQString(caption)); + captions->insert(TQString::fromLatin1(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>").tqarg(filename); + m_errorMsg = i18n("<qt>Could not open <b>%1</b></qt>").arg(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>").tqarg(filename, errorMsg).tqarg(errorRow).tqarg(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); file.close(); return false; } |