summaryrefslogtreecommitdiffstats
path: root/kcontrol/kio/useragentdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kcontrol/kio/useragentdlg.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kio/useragentdlg.cpp')
-rw-r--r--kcontrol/kio/useragentdlg.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/kio/useragentdlg.cpp b/kcontrol/kio/useragentdlg.cpp
index c34d5cadc..26476d9a8 100644
--- a/kcontrol/kio/useragentdlg.cpp
+++ b/kcontrol/kio/useragentdlg.cpp
@@ -111,12 +111,12 @@ void UserAgentDlg::load()
dlg->cbSendUAString->setChecked( b );
m_ua_keys = m_config->readEntry("UserAgentKeys", DEFAULT_USER_AGENT_KEYS).lower();
dlg->leDefaultId->setSqueezedText( KProtocolManager::defaultUserAgent( m_ua_keys ) );
- dlg->cbOS->setChecked( m_ua_keys.contains('o') );
- dlg->cbOSVersion->setChecked( m_ua_keys.contains('v') );
- dlg->cbOSVersion->setEnabled( m_ua_keys.contains('o') );
- dlg->cbPlatform->setChecked( m_ua_keys.contains('p') );
- dlg->cbProcessorType->setChecked( m_ua_keys.contains('m') );
- dlg->cbLanguage->setChecked( m_ua_keys.contains('l') );
+ dlg->cbOS->setChecked( m_ua_keys.tqcontains('o') );
+ dlg->cbOSVersion->setChecked( m_ua_keys.tqcontains('v') );
+ dlg->cbOSVersion->setEnabled( m_ua_keys.tqcontains('o') );
+ dlg->cbPlatform->setChecked( m_ua_keys.tqcontains('p') );
+ dlg->cbProcessorType->setChecked( m_ua_keys.tqcontains('m') );
+ dlg->cbLanguage->setChecked( m_ua_keys.tqcontains('l') );
updateButtons();
emit changed( false );
}
@@ -135,12 +135,12 @@ void UserAgentDlg::defaults()
dlg->lvDomainPolicyList->clear();
m_ua_keys = DEFAULT_USER_AGENT_KEYS;
dlg->leDefaultId->setSqueezedText( KProtocolManager::defaultUserAgent(m_ua_keys) );
- dlg->cbOS->setChecked( m_ua_keys.contains('o') );
- dlg->cbOSVersion->setChecked( m_ua_keys.contains('v') );
- dlg->cbOSVersion->setEnabled( m_ua_keys.contains('o') );
- dlg->cbPlatform->setChecked( m_ua_keys.contains('p') );
- dlg->cbProcessorType->setChecked( m_ua_keys.contains('m') );
- dlg->cbLanguage->setChecked( m_ua_keys.contains('l') );
+ dlg->cbOS->setChecked( m_ua_keys.tqcontains('o') );
+ dlg->cbOSVersion->setChecked( m_ua_keys.tqcontains('v') );
+ dlg->cbOSVersion->setEnabled( m_ua_keys.tqcontains('o') );
+ dlg->cbPlatform->setChecked( m_ua_keys.tqcontains('p') );
+ dlg->cbProcessorType->setChecked( m_ua_keys.tqcontains('m') );
+ dlg->cbLanguage->setChecked( m_ua_keys.tqcontains('l') );
dlg->cbSendUAString->setChecked( true );
updateButtons();
configChanged();
@@ -351,7 +351,7 @@ void UserAgentDlg::changeDefaultUAModifiers( int )
if ( dlg->cbLanguage->isChecked() )
m_ua_keys += 'l';
- dlg->cbOSVersion->setEnabled(m_ua_keys.contains('o'));
+ dlg->cbOSVersion->setEnabled(m_ua_keys.tqcontains('o'));
TQString modVal = KProtocolManager::defaultUserAgent( m_ua_keys );
if ( dlg->leDefaultId->text() != modVal )