summaryrefslogtreecommitdiffstats
path: root/kdeprint/kdeprintfax/kdeprintfax.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kdeprint/kdeprintfax/kdeprintfax.cpp
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kdeprintfax/kdeprintfax.cpp')
-rw-r--r--kdeprint/kdeprintfax/kdeprintfax.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/kdeprintfax/kdeprintfax.cpp b/kdeprint/kdeprintfax/kdeprintfax.cpp
index e8daf8c89..0b0e59b6b 100644
--- a/kdeprint/kdeprintfax/kdeprintfax.cpp
+++ b/kdeprint/kdeprintfax/kdeprintfax.cpp
@@ -425,10 +425,10 @@ void KdeprintFax::slotConfigure()
void KdeprintFax::updateState()
{
TQString cmd = m_faxctrl->faxCommand();
- m_cover->setEnabled(cmd.tqfind("%cover") != -1);
+ m_cover->setEnabled(cmd.find("%cover") != -1);
if ( !m_cover->isEnabled() )
m_cover->setChecked(false);
- m_comment->setEnabled(cmd.tqfind("%comment") != -1 && m_cover->isChecked());
+ m_comment->setEnabled(cmd.find("%comment") != -1 && m_cover->isChecked());
//m_comment->setPaper(m_comment->isEnabled() ? tqcolorGroup().brush(TQColorGroup::Base) : tqcolorGroup().brush(TQColorGroup::Background));
if (!m_comment->isEnabled())
{
@@ -438,11 +438,11 @@ void KdeprintFax::updateState()
else
m_comment->setPaper( tqcolorGroup().base() );
/*
- m_enterprise->setEnabled(cmd.tqfind("%enterprise") != -1);
+ m_enterprise->setEnabled(cmd.find("%enterprise") != -1);
if (!m_enterprise->isEnabled())
m_enterprise->setText("");
*/
- if (cmd.tqfind("%time") == -1)
+ if (cmd.find("%time") == -1)
{
m_timecombo->setCurrentItem(0);
m_timecombo->setEnabled(false);
@@ -450,8 +450,8 @@ void KdeprintFax::updateState()
}
else
m_timecombo->setEnabled( true );
- /*m_name->setEnabled( cmd.tqfind( "%name" ) != -1 );*/
- m_subject->setEnabled( cmd.tqfind( "%subject" ) != -1 && m_cover->isChecked() );
+ /*m_name->setEnabled( cmd.find( "%name" ) != -1 );*/
+ m_subject->setEnabled( cmd.find( "%subject" ) != -1 && m_cover->isChecked() );
statusBar()->changeItem(m_faxctrl->faxSystem(), 2);
}