summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/oscarencodingselectiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/oscarencodingselectiondialog.cpp')
-rw-r--r--kopete/protocols/oscar/oscarencodingselectiondialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/protocols/oscar/oscarencodingselectiondialog.cpp b/kopete/protocols/oscar/oscarencodingselectiondialog.cpp
index 10f6edb3..d5136a7e 100644
--- a/kopete/protocols/oscar/oscarencodingselectiondialog.cpp
+++ b/kopete/protocols/oscar/oscarencodingselectiondialog.cpp
@@ -81,7 +81,7 @@ OscarEncodingSelectionDialog::OscarEncodingSelectionDialog( TQWidget* tqparent,
m_encodings.insert(1015, i18n("UTF-16 Unicode"));
m_encodingUI->encodingCombo->insertStringList( m_encodings.values() );
- if( (initialEncodingIndex = m_encodings.keys().tqfindIndex(initialEncoding)) == -1 )
+ if( (initialEncodingIndex = m_encodings.keys().findIndex(initialEncoding)) == -1 )
{
kdWarning() << k_funcinfo << "Requested encoding mib " << initialEncoding
<< " not in encoding list - defaulting to first encoding item"
@@ -100,7 +100,7 @@ OscarEncodingSelectionDialog::OscarEncodingSelectionDialog( TQWidget* tqparent,
int OscarEncodingSelectionDialog::selectedEncoding() const
{
TQString encoding = m_encodingUI->encodingCombo->currentText();
- int mib = m_encodings.keys()[ m_encodings.values().tqfindIndex(encoding) ];
+ int mib = m_encodings.keys()[ m_encodings.values().findIndex(encoding) ];
if( mib == -1 )
return 0;