summaryrefslogtreecommitdiffstats
path: root/tdeprint/kmspecialmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 17:50:49 +0900
commit04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch)
tree3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /tdeprint/kmspecialmanager.cpp
parentb0f1961286230520573e2433b0ed4562718ce7a3 (diff)
downloadtdelibs-04d35323.tar.gz
tdelibs-04d35323.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
Diffstat (limited to 'tdeprint/kmspecialmanager.cpp')
-rw-r--r--tdeprint/kmspecialmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/kmspecialmanager.cpp b/tdeprint/kmspecialmanager.cpp
index 16a0ab616..84da26fe9 100644
--- a/tdeprint/kmspecialmanager.cpp
+++ b/tdeprint/kmspecialmanager.cpp
@@ -43,7 +43,7 @@ KMSpecialManager::KMSpecialManager(KMManager *parent, const char *name)
bool KMSpecialManager::savePrinters()
{
// for root, use a global location.
- QString confname;
+ TQString confname;
if (getuid() == 0)
{
confname = locate("data", "tdeprint/specials.desktop");
@@ -139,7 +139,7 @@ bool KMSpecialManager::loadDesktopFile(const TQString& filename)
int n = conf.readNumEntry("Number",0);
for (int i=0;i<n;i++)
{
- QString grpname = TQString::fromLatin1("Printer %1").arg(i);
+ TQString grpname = TQString::fromLatin1("Printer %1").arg(i);
if (!conf.hasGroup(grpname)) continue;
conf.setGroup(grpname);
KMPrinter *printer = new KMPrinter;
@@ -213,7 +213,7 @@ DrMain* KMSpecialManager::loadDriver(KMPrinter *pr)
TQString KMSpecialManager::setupCommand(const TQString& cmd, const TQMap<TQString,TQString>& opts)
{
- QString s(cmd);
+ TQString s(cmd);
if (!s.isEmpty())
{
KXmlCommand *xmlCmd = loadCommand(cmd);