summaryrefslogtreecommitdiffstats
path: root/tdeprint/management
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 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeprint/management
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/management')
-rw-r--r--tdeprint/management/jobitem.h2
-rw-r--r--tdeprint/management/kmconfigpage.h6
-rw-r--r--tdeprint/management/kmiconview.h2
-rw-r--r--tdeprint/management/kminfopage.cpp2
-rw-r--r--tdeprint/management/kmlistview.cpp2
-rw-r--r--tdeprint/management/kmprinterview.cpp2
-rw-r--r--tdeprint/management/kmprinterview.h2
-rw-r--r--tdeprint/management/kmpropwidget.h6
-rw-r--r--tdeprint/management/kmwizardpage.h2
-rw-r--r--tdeprint/management/kmwlpd.cpp2
-rw-r--r--tdeprint/management/kmwname.cpp2
-rw-r--r--tdeprint/management/kmwsocketutil.h4
12 files changed, 17 insertions, 17 deletions
diff --git a/tdeprint/management/jobitem.h b/tdeprint/management/jobitem.h
index 580a1b84f..66beeb7d2 100644
--- a/tdeprint/management/jobitem.h
+++ b/tdeprint/management/jobitem.h
@@ -40,7 +40,7 @@ public:
private:
KMJob *m_job;
int m_ID;
- QString m_uri;
+ TQString m_uri;
};
inline int JobItem::jobID() const
diff --git a/tdeprint/management/kmconfigpage.h b/tdeprint/management/kmconfigpage.h
index da1cad014..533ff80f4 100644
--- a/tdeprint/management/kmconfigpage.h
+++ b/tdeprint/management/kmconfigpage.h
@@ -45,9 +45,9 @@ protected:
void setPagePixmap(const TQString& s) { m_pixmap = s; }
protected:
- QString m_name;
- QString m_header;
- QString m_pixmap;
+ TQString m_name;
+ TQString m_header;
+ TQString m_pixmap;
};
#endif
diff --git a/tdeprint/management/kmiconview.h b/tdeprint/management/kmiconview.h
index 888ae9ad9..ba56cabb1 100644
--- a/tdeprint/management/kmiconview.h
+++ b/tdeprint/management/kmiconview.h
@@ -40,7 +40,7 @@ protected:
private:
int m_mode;
- QString m_pixmap;
+ TQString m_pixmap;
char m_state;
bool m_isclass;
};
diff --git a/tdeprint/management/kminfopage.cpp b/tdeprint/management/kminfopage.cpp
index bae2b6ad6..8b4683a20 100644
--- a/tdeprint/management/kminfopage.cpp
+++ b/tdeprint/management/kminfopage.cpp
@@ -125,7 +125,7 @@ void KMInfoPage::setPrinter(KMPrinter *p)
m_uri->setText(p->uri().prettyURL());
if (p->isClass(false))
{
- QString s;
+ TQString s;
for (TQStringList::ConstIterator it=p->members().begin(); it!=p->members().end(); ++it)
s.append(KURL(*it).prettyURL() + ", ");
s.truncate(s.length()-2);
diff --git a/tdeprint/management/kmlistview.cpp b/tdeprint/management/kmlistview.cpp
index 806cc0d9f..046112502 100644
--- a/tdeprint/management/kmlistview.cpp
+++ b/tdeprint/management/kmlistview.cpp
@@ -81,7 +81,7 @@ void KMListViewItem::updatePrinter(KMPrinter *p)
int st(p->isValid() ? (int)TDEIcon::DefaultState : (int)TDEIcon::LockOverlay);
m_state = ((p->isHardDefault() ? 0x1 : 0x0) | (p->ownSoftDefault() ? 0x2 : 0x0) | (p->isValid() ? 0x4 : 0x0));
update = (oldstate != m_state);
- QString name = (p->isVirtual() ? p->instanceName() : p->name());
+ TQString name = (p->isVirtual() ? p->instanceName() : p->name());
if (name != text(0))
setText(0, name);
setPixmap(0, SmallIcon(p->pixmap(), 0, st));
diff --git a/tdeprint/management/kmprinterview.cpp b/tdeprint/management/kmprinterview.cpp
index d311f75c3..ddd0ff631 100644
--- a/tdeprint/management/kmprinterview.cpp
+++ b/tdeprint/management/kmprinterview.cpp
@@ -85,7 +85,7 @@ void KMPrinterView::setViewType(ViewType t)
default:
break;
}
- QString oldcurrent = m_current;
+ TQString oldcurrent = m_current;
if ( m_listset )
setPrinterList(KMManager::self()->printerList(false));
if (m_type == KMPrinterView::Tree)
diff --git a/tdeprint/management/kmprinterview.h b/tdeprint/management/kmprinterview.h
index e9ce4aa9f..b73bc46da 100644
--- a/tdeprint/management/kmprinterview.h
+++ b/tdeprint/management/kmprinterview.h
@@ -55,7 +55,7 @@ private:
KMIconView *m_iconview;
KMListView *m_listview;
ViewType m_type;
- QString m_current;
+ TQString m_current;
bool m_listset;
};
diff --git a/tdeprint/management/kmpropwidget.h b/tdeprint/management/kmpropwidget.h
index 6e7a78d8d..3c8d0050d 100644
--- a/tdeprint/management/kmpropwidget.h
+++ b/tdeprint/management/kmpropwidget.h
@@ -53,9 +53,9 @@ protected:
virtual void configureWizard(KMWizard*);
protected:
- QString m_pixmap;
- QString m_title;
- QString m_header;
+ TQString m_pixmap;
+ TQString m_title;
+ TQString m_header;
KMPrinter *m_printer;
bool m_canchange;
};
diff --git a/tdeprint/management/kmwizardpage.h b/tdeprint/management/kmwizardpage.h
index e7568c847..f2a2565d6 100644
--- a/tdeprint/management/kmwizardpage.h
+++ b/tdeprint/management/kmwizardpage.h
@@ -43,7 +43,7 @@ public:
bool needsInitOnBack() { return m_needsinitonback; }
protected:
- QString m_title;
+ TQString m_title;
int m_ID;
int m_nextpage;
bool m_needsinitonback;
diff --git a/tdeprint/management/kmwlpd.cpp b/tdeprint/management/kmwlpd.cpp
index 3c4794ad1..be14d0aa5 100644
--- a/tdeprint/management/kmwlpd.cpp
+++ b/tdeprint/management/kmwlpd.cpp
@@ -66,7 +66,7 @@ bool KMWLpd::isValid(TQString& msg)
void KMWLpd::updatePrinter(KMPrinter *p)
{
- QString dev = TQString::fromLatin1("lpd://%1/%2").arg(text(0)).arg(text(1));
+ TQString dev = TQString::fromLatin1("lpd://%1/%2").arg(text(0)).arg(text(1));
p->setDevice(dev);
}
diff --git a/tdeprint/management/kmwname.cpp b/tdeprint/management/kmwname.cpp
index e8378371a..88f8fb416 100644
--- a/tdeprint/management/kmwname.cpp
+++ b/tdeprint/management/kmwname.cpp
@@ -50,7 +50,7 @@ bool KMWName::isValid(TQString& msg)
}
else if (text(0).find(TQRegExp("\\s")) != -1)
{
- QString conv = text(0);
+ TQString conv = text(0);
conv.replace(TQRegExp("\\s"), "");
int result = KMessageBox::warningYesNoCancel(this,
i18n("It is usually not a good idea to include spaces "
diff --git a/tdeprint/management/kmwsocketutil.h b/tdeprint/management/kmwsocketutil.h
index 643ff67d5..a0194e5c9 100644
--- a/tdeprint/management/kmwsocketutil.h
+++ b/tdeprint/management/kmwsocketutil.h
@@ -26,8 +26,8 @@
struct SocketInfo
{
- QString IP;
- QString Name;
+ TQString IP;
+ TQString Name;
int Port;
};