summaryrefslogtreecommitdiffstats
path: root/krename/encodingplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krename/encodingplugin.cpp')
-rw-r--r--krename/encodingplugin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/krename/encodingplugin.cpp b/krename/encodingplugin.cpp
index 7e6a3f9..0b160bb 100644
--- a/krename/encodingplugin.cpp
+++ b/krename/encodingplugin.cpp
@@ -20,8 +20,8 @@
// QT includes
#include <tqcheckbox.h>
#include <tqlabel.h>
-#include <layout.h>
-#include <textcodec.h>
+#include <tqlayout.h>
+#include <tqtextcodec.h>
#include <tqvgroupbox.h>
@@ -67,12 +67,12 @@ void EncodingPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( label );
TQVGroupBox* groupInput = new TQVGroupBox( i18n("Encoding of Input Files:"), w );
- checkInput = new TQCheckBox( i18n("&Use local encoding: %1").arg( m_locale_codec), groupInput );
+ checkInput = new TQCheckBox( i18n("&Use local encoding: %1").tqarg( m_locale_codec), groupInput );
comboInput = new KComboBox( false, groupInput );
comboInput->insertStringList( codecs );
TQVGroupBox* groupOutput = new TQVGroupBox( i18n("Encoding of Output Files:"), w );
- checkOutput = new TQCheckBox( i18n("&Use local encoding: %1").arg( m_locale_codec), groupOutput );
+ checkOutput = new TQCheckBox( i18n("&Use local encoding: %1").tqarg( m_locale_codec), groupOutput );
checkOutput->setChecked( true );
comboOutput = new KComboBox( false, groupOutput );
comboOutput->insertStringList( codecs );
@@ -106,13 +106,13 @@ bool EncodingPlugin::checkError()
TQString EncodingPlugin::processFile( BatchRenamer*, int, TQString token, int )
{
TQString input = token;
- TQString unicode = TQString();
+ TQString tqunicode = TQString();
TQTextCodec* toUnicode = TQTextCodec::codecForName(m_input_codec); // get the codec for KOI8-R
TQTextCodec* fromUnicode = TQTextCodec::codecForName(m_output_codec);
- unicode = toUnicode->toUnicode( input );
- return fromUnicode->fromUnicode( unicode );
+ tqunicode = toUnicode->toUnicode( input );
+ return fromUnicode->fromUnicode( tqunicode );
}
void EncodingPlugin::finished()