summaryrefslogtreecommitdiffstats
path: root/src/gui/general/PresetGroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/PresetGroup.cpp')
-rw-r--r--src/gui/general/PresetGroup.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/general/PresetGroup.cpp b/src/gui/general/PresetGroup.cpp
index bd5974f..050c487 100644
--- a/src/gui/general/PresetGroup.cpp
+++ b/src/gui/general/PresetGroup.cpp
@@ -70,22 +70,22 @@ PresetGroup::PresetGroup() :
TQString language = KGlobal::locale()->language();
TQString presetFileName = TQString("%1/presets-%2.xml")
- .arg(m_presetDirectory).arg(language);
+ .tqarg(m_presetDirectory).tqarg(language);
if (!TQFileInfo(presetFileName).isReadable()) {
RG_DEBUG << "Failed to open " << presetFileName << endl;
- language.replace(TQRegExp("_.*$"), "");
+ language.tqreplace(TQRegExp("_.*$"), "");
presetFileName = TQString("%1/presets-%2.xml")
- .arg(m_presetDirectory).arg(language);
+ .tqarg(m_presetDirectory).tqarg(language);
if (!TQFileInfo(presetFileName).isReadable()) {
RG_DEBUG << "Failed to open " << presetFileName << endl;
presetFileName = TQString("%1/presets.xml")
- .arg(m_presetDirectory);
+ .tqarg(m_presetDirectory);
if (!TQFileInfo(presetFileName).isReadable()) {
@@ -247,10 +247,10 @@ PresetGroup::error(const TQXmlParseException& exception)
RG_DEBUG << "PresetGroup::error(): jubilation and glee, we have an error, whee!" << endl;
m_errorString = TQString("%1 at line %2, column %3: %4")
- .arg(exception.message())
- .arg(exception.lineNumber())
- .arg(exception.columnNumber())
- .arg(m_errorString);
+ .tqarg(exception.message())
+ .tqarg(exception.lineNumber())
+ .tqarg(exception.columnNumber())
+ .tqarg(m_errorString);
return TQXmlDefaultHandler::error(exception);
}
@@ -259,10 +259,10 @@ PresetGroup::fatalError(const TQXmlParseException& exception)
{
RG_DEBUG << "PresetGroup::fatalError(): double your jubilation, and triple your glee, a fatal error doth it be!" << endl;
m_errorString = TQString("%1 at line %2, column %3: %4")
- .arg(exception.message())
- .arg(exception.lineNumber())
- .arg(exception.columnNumber())
- .arg(m_errorString);
+ .tqarg(exception.message())
+ .tqarg(exception.lineNumber())
+ .tqarg(exception.columnNumber())
+ .tqarg(m_errorString);
return TQXmlDefaultHandler::fatalError(exception);
}