summaryrefslogtreecommitdiffstats
path: root/tdeprint/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/driver.cpp')
-rw-r--r--tdeprint/driver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/driver.cpp b/tdeprint/driver.cpp
index 92eb7fc84..f4a07aa88 100644
--- a/tdeprint/driver.cpp
+++ b/tdeprint/driver.cpp
@@ -66,7 +66,7 @@ void DrBase::setOptions(const TQMap<TQString,TQString>& opts)
void DrBase::getOptions(TQMap<TQString,TQString>& opts, bool incldef)
{
- QString val = valueText();
+ TQString val = valueText();
if ( incldef || get( "persistent" ) == "1" || get("default") != val )
opts[name()] = val;
}
@@ -455,7 +455,7 @@ DrIntegerOption::~DrIntegerOption()
TQString DrIntegerOption::valueText()
{
- QString s = TQString::number(m_value);
+ TQString s = TQString::number(m_value);
return s;
}
@@ -505,7 +505,7 @@ DrFloatOption::~DrFloatOption()
TQString DrFloatOption::valueText()
{
- QString s = TQString::number(m_value,'f',3);
+ TQString s = TQString::number(m_value,'f',3);
return s;
}
@@ -555,7 +555,7 @@ DrListOption::~DrListOption()
TQString DrListOption::valueText()
{
- QString s = (m_current ? m_current->name() : TQString::null);
+ TQString s = (m_current ? m_current->name() : TQString::null);
return s;
}
@@ -654,7 +654,7 @@ bool DrConstraint::check(DrMain *driver)
if (m_option1 && m_option2 && m_option1->currentChoice() && m_option2->currentChoice())
{
bool f1(false), f2(false);
- QString c1(m_option1->currentChoice()->name()), c2(m_option2->currentChoice()->name());
+ TQString c1(m_option1->currentChoice()->name()), c2(m_option2->currentChoice()->name());
// check choices
if (m_choice1.isEmpty())
f1 = (c1 != "None" && c1 != "Off" && c1 != "False");
@@ -665,7 +665,7 @@ bool DrConstraint::check(DrMain *driver)
else
f2 = (c2 == m_choice2);
// tag options
- QString s((f1 && f2 ? "1" : "0"));
+ TQString s((f1 && f2 ? "1" : "0"));
if (!m_option1->conflict()) m_option1->setConflict(f1 && f2);
if (!m_option2->conflict()) m_option2->setConflict(f1 && f2);
// return value