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.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/general/PresetGroup.cpp b/src/gui/general/PresetGroup.cpp
index cb8efca..2c39256 100644
--- a/src/gui/general/PresetGroup.cpp
+++ b/src/gui/general/PresetGroup.cpp
@@ -70,7 +70,7 @@ PresetGroup::PresetGroup() :
TQString language = KGlobal::locale()->language();
TQString presetFileName = TQString("%1/presets-%2.xml")
- .tqarg(m_presetDirectory).tqarg(language);
+ .arg(m_presetDirectory).arg(language);
if (!TQFileInfo(presetFileName).isReadable()) {
@@ -78,14 +78,14 @@ PresetGroup::PresetGroup() :
language.replace(TQRegExp("_.*$"), "");
presetFileName = TQString("%1/presets-%2.xml")
- .tqarg(m_presetDirectory).tqarg(language);
+ .arg(m_presetDirectory).arg(language);
if (!TQFileInfo(presetFileName).isReadable()) {
RG_DEBUG << "Failed to open " << presetFileName << endl;
presetFileName = TQString("%1/presets.xml")
- .tqarg(m_presetDirectory);
+ .arg(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")
- .tqarg(exception.message())
- .tqarg(exception.lineNumber())
- .tqarg(exception.columnNumber())
- .tqarg(m_errorString);
+ .arg(exception.message())
+ .arg(exception.lineNumber())
+ .arg(exception.columnNumber())
+ .arg(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")
- .tqarg(exception.message())
- .tqarg(exception.lineNumber())
- .tqarg(exception.columnNumber())
- .tqarg(m_errorString);
+ .arg(exception.message())
+ .arg(exception.lineNumber())
+ .arg(exception.columnNumber())
+ .arg(m_errorString);
return TQXmlDefaultHandler::fatalError(exception);
}