diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/oscar/oscarencodingselectiondialog.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/oscarencodingselectiondialog.cpp')
-rw-r--r-- | kopete/protocols/oscar/oscarencodingselectiondialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/oscar/oscarencodingselectiondialog.cpp b/kopete/protocols/oscar/oscarencodingselectiondialog.cpp index 7a1826cb..10f6edb3 100644 --- a/kopete/protocols/oscar/oscarencodingselectiondialog.cpp +++ b/kopete/protocols/oscar/oscarencodingselectiondialog.cpp @@ -24,8 +24,8 @@ #include <tqcombobox.h> #include <klocale.h> -OscarEncodingSelectionDialog::OscarEncodingSelectionDialog( TQWidget* parent, int initialEncoding ) - : KDialogBase( parent, 0, false, i18n( "Select Encoding" ), Ok | Cancel ) +OscarEncodingSelectionDialog::OscarEncodingSelectionDialog( TQWidget* tqparent, int initialEncoding ) + : KDialogBase( tqparent, 0, false, i18n( "Select Encoding" ), Ok | Cancel ) { int initialEncodingIndex; @@ -81,7 +81,7 @@ OscarEncodingSelectionDialog::OscarEncodingSelectionDialog( TQWidget* parent, in m_encodings.insert(1015, i18n("UTF-16 Unicode")); m_encodingUI->encodingCombo->insertStringList( m_encodings.values() ); - if( (initialEncodingIndex = m_encodings.keys().findIndex(initialEncoding)) == -1 ) + if( (initialEncodingIndex = m_encodings.keys().tqfindIndex(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* parent, in int OscarEncodingSelectionDialog::selectedEncoding() const { TQString encoding = m_encodingUI->encodingCombo->currentText(); - int mib = m_encodings.keys()[ m_encodings.values().findIndex(encoding) ]; + int mib = m_encodings.keys()[ m_encodings.values().tqfindIndex(encoding) ]; if( mib == -1 ) return 0; |