summaryrefslogtreecommitdiffstats
path: root/tdeprint/foomatic/kmfoomaticmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/foomatic/kmfoomaticmanager.cpp')
-rw-r--r--tdeprint/foomatic/kmfoomaticmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/foomatic/kmfoomaticmanager.cpp b/tdeprint/foomatic/kmfoomaticmanager.cpp
index e1e741003..6953be7cc 100644
--- a/tdeprint/foomatic/kmfoomaticmanager.cpp
+++ b/tdeprint/foomatic/kmfoomaticmanager.cpp
@@ -76,7 +76,7 @@ DrMain* KMFoomaticManager::loadPrinterDriver(KMPrinter *printer, bool)
return NULL;
}
- QString cmd = "foomatic-combo-xml -p ";
+ TQString cmd = "foomatic-combo-xml -p ";
cmd += TDEProcess::quote(printer->option("printer"));
cmd += " -d ";
cmd += TDEProcess::quote(printer->option("driver"));
@@ -99,7 +99,7 @@ KMPrinter* KMFoomaticManager::createPrinterFromElement(TQDomElement *elem)
printer->setState(KMPrinter::Idle);
/*if (printer->name().find('/') != -1)
{
- QString s(printer->name());
+ TQString s(printer->name());
int p = s.find('/');
printer->setPrinterName(s.left(p));
printer->setInstanceName(s.mid(p+1));
@@ -136,7 +136,7 @@ DrMain* KMFoomaticManager::createDriverFromXML(TQDomElement *elem)
{
driver->set("manufacturer", pelem.namedItem("make").toElement().text());
driver->set("model", pelem.namedItem("model").toElement().text());
- QString s = TQString::fromLatin1("%1 %2 (%3)").arg(driver->get("manufacturer")).arg(driver->get("model")).arg(delem.namedItem("name").toElement().text());
+ TQString s = TQString::fromLatin1("%1 %2 (%3)").arg(driver->get("manufacturer")).arg(driver->get("model")).arg(delem.namedItem("name").toElement().text());
driver->set("description", s);
driver->set("text", s);
@@ -148,14 +148,14 @@ DrMain* KMFoomaticManager::createDriverFromXML(TQDomElement *elem)
{
if (o.tagName() == "option")
{
- QString type = o.attribute("type");
+ TQString type = o.attribute("type");
DrBase *dropt(0);
if (type == "bool" || type == "enum")
{
if (type == "bool") dropt = new DrBooleanOption();
else dropt = new DrListOption();
- QString defval = o.namedItem("arg_defval").toElement().text(), valuetext;
+ TQString defval = o.namedItem("arg_defval").toElement().text(), valuetext;
QDomNode val = o.namedItem("enum_vals").firstChild();
while (!val.isNull())
{
@@ -177,7 +177,7 @@ DrMain* KMFoomaticManager::createDriverFromXML(TQDomElement *elem)
else dropt = new DrFloatOption();
dropt->set("minval", o.namedItem("arg_min").toElement().text());
dropt->set("maxval", o.namedItem("arg_max").toElement().text());
- QString defval = o.namedItem("arg_defval").toElement().text();
+ TQString defval = o.namedItem("arg_defval").toElement().text();
dropt->set("default", defval);
dropt->setValueText(defval);
}