summaryrefslogtreecommitdiffstats
path: root/kexi/widget/kexicharencodingcombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/kexicharencodingcombobox.cpp')
-rw-r--r--kexi/widget/kexicharencodingcombobox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/kexicharencodingcombobox.cpp b/kexi/widget/kexicharencodingcombobox.cpp
index ff277e7d..de6254b7 100644
--- a/kexi/widget/kexicharencodingcombobox.cpp
+++ b/kexi/widget/kexicharencodingcombobox.cpp
@@ -31,12 +31,12 @@ KexiCharacterEncodingComboBox::KexiCharacterEncodingComboBox(
: KComboBox( parent, "KexiCharacterEncodingComboBox" )
, m_defaultEncodingAdded(false)
{
- TQString defaultEncoding(TQString::tqfromLatin1(KGlobal::locale()->encoding()));
+ TQString defaultEncoding(TQString::fromLatin1(KGlobal::locale()->encoding()));
TQString defaultEncodingDescriptiveName;
TQString _selectedEncoding = selectedEncoding;
if (_selectedEncoding.isEmpty())
- _selectedEncoding = TQString::tqfromLatin1(KGlobal::locale()->encoding());
+ _selectedEncoding = TQString::fromLatin1(KGlobal::locale()->encoding());
TQStringList descEncodings(KGlobal::charsets()->descriptiveEncodingNames());
TQStringList::ConstIterator it = descEncodings.constBegin();
@@ -84,7 +84,7 @@ KexiCharacterEncodingComboBox::~KexiCharacterEncodingComboBox()
TQString KexiCharacterEncodingComboBox::selectedEncoding() const
{
if (defaultEncodingSelected()) {
- return TQString::tqfromLatin1(KGlobal::locale()->encoding());
+ return TQString::fromLatin1(KGlobal::locale()->encoding());
}
else {
return KGlobal::charsets()->encodingForName( currentText() );