summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/cups/cupsaddsmb2.cpp2
-rw-r--r--tdeprint/cups/cupsdconf2/addressdialog.cpp4
-rw-r--r--tdeprint/cups/cupsdconf2/browsedialog.cpp6
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp12
-rw-r--r--tdeprint/cups/cupsdconf2/cupsddirpage.cpp14
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdfilterpage.cpp8
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdjobspage.cpp6
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdlogpage.cpp10
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdnetworkpage.cpp12
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp10
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdserverpage.cpp14
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdsplash.cpp4
-rw-r--r--tdeprint/cups/cupsdconf2/locationdialog.cpp16
-rw-r--r--tdeprint/cups/cupsdconf2/portdialog.cpp4
-rw-r--r--tdeprint/cups/imageposition.cpp8
-rw-r--r--tdeprint/cups/ippreportdlg.cpp2
-rw-r--r--tdeprint/cups/kmconfigcupsdir.cpp2
-rw-r--r--tdeprint/cups/kmcupsconfigwidget.cpp4
-rw-r--r--tdeprint/cups/kmcupsuimanager.cpp4
-rw-r--r--tdeprint/cups/kphpgl2page.cpp4
-rw-r--r--tdeprint/cups/kpimagepage.cpp20
-rw-r--r--tdeprint/cups/kpschedulepage.cpp2
-rw-r--r--tdeprint/cups/kptextpage.cpp16
-rw-r--r--tdeprint/driveritem.cpp8
-rw-r--r--tdeprint/driverview.cpp2
-rw-r--r--tdeprint/droptionview.cpp4
-rw-r--r--tdeprint/kpcopiespage.cpp8
-rw-r--r--tdeprint/kpgeneralpage.cpp20
-rw-r--r--tdeprint/kpmarginpage.cpp2
-rw-r--r--tdeprint/kpqtpage.cpp14
-rw-r--r--tdeprint/kprintdialog.cpp2
-rw-r--r--tdeprint/kprintpreview.cpp4
-rw-r--r--tdeprint/lpr/kmconfiglpr.cpp2
-rw-r--r--tdeprint/management/cjanuswidget.cpp2
-rw-r--r--tdeprint/management/kmconfigcommand.cpp2
-rw-r--r--tdeprint/management/kmconfigfilter.cpp2
-rw-r--r--tdeprint/management/kmconfigfonts.cpp4
-rw-r--r--tdeprint/management/kmconfiggeneral.cpp6
-rw-r--r--tdeprint/management/kmconfigjobs.cpp2
-rw-r--r--tdeprint/management/kmconfigpreview.cpp2
-rw-r--r--tdeprint/management/kminfopage.cpp16
-rw-r--r--tdeprint/management/kmjobviewer.cpp6
-rw-r--r--tdeprint/management/kmmainview.cpp6
-rw-r--r--tdeprint/management/kmpropdriver.cpp2
-rw-r--r--tdeprint/management/kmspecialprinterdlg.cpp6
-rw-r--r--tdeprint/management/kmwdrivertest.cpp2
-rw-r--r--tdeprint/management/kmwsocketutil.cpp2
-rw-r--r--tdeprint/management/kxmlcommanddlg.cpp24
-rw-r--r--tdeprint/management/kxmlcommandselector.cpp2
-rw-r--r--tdeprint/management/networkscanner.cpp2
-rw-r--r--tdeprint/marginpreview.cpp12
-rw-r--r--tdeprint/marginwidget.cpp8
-rw-r--r--tdeprint/posterpreview.cpp6
-rw-r--r--tdeprint/rlpr/kmproxywidget.cpp2
-rw-r--r--tdeprint/tests/drawdemo.cpp12
-rw-r--r--tdeprint/treecombobox.cpp2
56 files changed, 190 insertions, 190 deletions
diff --git a/tdeprint/cups/cupsaddsmb2.cpp b/tdeprint/cups/cupsaddsmb2.cpp
index 0fd5e8116..f5c7781c2 100644
--- a/tdeprint/cups/cupsaddsmb2.cpp
+++ b/tdeprint/cups/cupsaddsmb2.cpp
@@ -64,7 +64,7 @@ CupsAddSmb::CupsAddSmb(TQWidget *parent, const char *name)
TQFont f(m_title->font());
f.setBold(true);
m_title->setFont(f);
- KSeparator *m_sep = new KSeparator(Qt::Horizontal, this);
+ KSeparator *m_sep = new KSeparator(TQt::Horizontal, this);
m_textinfo = new TQLabel( this );
m_logined = new TQLineEdit( this );
m_passwded = new TQLineEdit( this );
diff --git a/tdeprint/cups/cupsdconf2/addressdialog.cpp b/tdeprint/cups/cupsdconf2/addressdialog.cpp
index 83b4d0813..d3a137527 100644
--- a/tdeprint/cups/cupsdconf2/addressdialog.cpp
+++ b/tdeprint/cups/cupsdconf2/addressdialog.cpp
@@ -41,8 +41,8 @@ AddressDialog::AddressDialog(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(w, 2, 2, 0, 5);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
m1->addWidget(type_, 0, 1);
m1->addWidget(address_, 1, 1);
diff --git a/tdeprint/cups/cupsdconf2/browsedialog.cpp b/tdeprint/cups/cupsdconf2/browsedialog.cpp
index 3268c72bc..a62e93ee9 100644
--- a/tdeprint/cups/cupsdconf2/browsedialog.cpp
+++ b/tdeprint/cups/cupsdconf2/browsedialog.cpp
@@ -49,9 +49,9 @@ BrowseDialog::BrowseDialog(TQWidget *parent, const char *name)
TQLabel *l3 = new TQLabel(i18n("To:"), dummy);
TQGridLayout *m1 = new TQGridLayout(dummy, 3, 2, 0, 5);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
m1->addWidget(type_, 0, 1);
m1->addWidget(from_, 1, 1);
m1->addWidget(to_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp b/tdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp
index e66048b73..0bd0e53ae 100644
--- a/tdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdbrowsingpage.cpp
@@ -79,12 +79,12 @@ CupsdBrowsingPage::CupsdBrowsingPage(TQWidget *parent, const char *name)
m2->addWidget(cups_);
m2->addWidget(slp_);
m2->addStretch(1);
- m1->addWidget(l1, 1, 0, Qt::AlignRight);
- m1->addWidget(l2, 2, 0, Qt::AlignRight);
- m1->addWidget(l3, 3, 0, Qt::AlignRight);
- m1->addWidget(l4, 4, 0, Qt::AlignRight|Qt::AlignTop);
- m1->addWidget(l5, 5, 0, Qt::AlignRight);
- m1->addWidget(l6, 6, 0, Qt::AlignRight|Qt::AlignTop);
+ m1->addWidget(l1, 1, 0, TQt::AlignRight);
+ m1->addWidget(l2, 2, 0, TQt::AlignRight);
+ m1->addWidget(l3, 3, 0, TQt::AlignRight);
+ m1->addWidget(l4, 4, 0, TQt::AlignRight|TQt::AlignTop);
+ m1->addWidget(l5, 5, 0, TQt::AlignRight);
+ m1->addWidget(l6, 6, 0, TQt::AlignRight|TQt::AlignTop);
m1->addWidget(browseport_, 1, 1);
m1->addWidget(browseinterval_, 2, 1);
m1->addWidget(browsetimeout_, 3, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsddirpage.cpp b/tdeprint/cups/cupsdconf2/cupsddirpage.cpp
index 282657255..82848d03e 100644
--- a/tdeprint/cups/cupsdconf2/cupsddirpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsddirpage.cpp
@@ -54,13 +54,13 @@ CupsdDirPage::CupsdDirPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 8, 2, 10, 7);
m1->setRowStretch(7, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight|Qt::AlignTop);
- m1->addWidget(l4, 3, 0, Qt::AlignRight);
- m1->addWidget(l5, 4, 0, Qt::AlignRight);
- m1->addWidget(l6, 5, 0, Qt::AlignRight);
- m1->addWidget(l7, 6, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight|TQt::AlignTop);
+ m1->addWidget(l4, 3, 0, TQt::AlignRight);
+ m1->addWidget(l5, 4, 0, TQt::AlignRight);
+ m1->addWidget(l6, 5, 0, TQt::AlignRight);
+ m1->addWidget(l7, 6, 0, TQt::AlignRight);
m1->addWidget(datadir_, 0, 1);
m1->addWidget(documentdir_, 1, 1);
m1->addWidget(fontpath_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdfilterpage.cpp b/tdeprint/cups/cupsdconf2/cupsdfilterpage.cpp
index e9cb1a0ad..8de8f429a 100644
--- a/tdeprint/cups/cupsdconf2/cupsdfilterpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdfilterpage.cpp
@@ -54,10 +54,10 @@ CupsdFilterPage::CupsdFilterPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 5, 2, 10, 7);
m1->setRowStretch(4, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
- m1->addWidget(l4, 3, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
+ m1->addWidget(l4, 3, 0, TQt::AlignRight);
m1->addWidget(user_, 0, 1);
m1->addWidget(group_, 1, 1);
m1->addWidget(ripcache_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp b/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp
index 4fe84d769..b277006b2 100644
--- a/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdjobspage.cpp
@@ -62,9 +62,9 @@ CupsdJobsPage::CupsdJobsPage(TQWidget *parent, const char *name)
m1->addWidget(keepjobhistory_, 0, 1);
m1->addWidget(keepjobfiles_, 1, 1);
m1->addWidget(autopurgejobs_, 2, 1);
- m1->addWidget(l1, 3, 0, Qt::AlignRight);
- m1->addWidget(l2, 4, 0, Qt::AlignRight);
- m1->addWidget(l3, 5, 0, Qt::AlignRight);
+ m1->addWidget(l1, 3, 0, TQt::AlignRight);
+ m1->addWidget(l2, 4, 0, TQt::AlignRight);
+ m1->addWidget(l3, 5, 0, TQt::AlignRight);
m1->addWidget(maxjobs_, 3, 1);
m1->addWidget(maxjobsperprinter_, 4, 1);
m1->addWidget(maxjobsperuser_, 5, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdlogpage.cpp b/tdeprint/cups/cupsdconf2/cupsdlogpage.cpp
index 22128b39c..2052ece24 100644
--- a/tdeprint/cups/cupsdconf2/cupsdlogpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdlogpage.cpp
@@ -66,11 +66,11 @@ CupsdLogPage::CupsdLogPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 6, 2, 10, 7);
m1->setRowStretch(5, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
- m1->addWidget(l4, 3, 0, Qt::AlignRight);
- m1->addWidget(l5, 4, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
+ m1->addWidget(l4, 3, 0, TQt::AlignRight);
+ m1->addWidget(l5, 4, 0, TQt::AlignRight);
m1->addWidget(accesslog_, 0, 1);
m1->addWidget(errorlog_, 1, 1);
m1->addWidget(pagelog_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdnetworkpage.cpp b/tdeprint/cups/cupsdconf2/cupsdnetworkpage.cpp
index e939c151f..a9341fcf2 100644
--- a/tdeprint/cups/cupsdconf2/cupsdnetworkpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdnetworkpage.cpp
@@ -74,12 +74,12 @@ CupsdNetworkPage::CupsdNetworkPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 8, 2, 10, 7);
m1->setRowStretch(7, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 2, 0, Qt::AlignRight);
- m1->addWidget(l3, 3, 0, Qt::AlignRight);
- m1->addWidget(l4, 4, 0, Qt::AlignRight);
- m1->addWidget(l5, 5, 0, Qt::AlignRight);
- m1->addWidget(l6, 6, 0, Qt::AlignTop|Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 2, 0, TQt::AlignRight);
+ m1->addWidget(l3, 3, 0, TQt::AlignRight);
+ m1->addWidget(l4, 4, 0, TQt::AlignRight);
+ m1->addWidget(l5, 5, 0, TQt::AlignRight);
+ m1->addWidget(l6, 6, 0, TQt::AlignTop|TQt::AlignRight);
m1->addWidget(keepalive_, 1, 1);
m1->addWidget(hostnamelookup_, 0, 1);
m1->addWidget(keepalivetimeout_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
index 6d6061264..c23a753dd 100644
--- a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
@@ -55,11 +55,11 @@ CupsdSecurityPage::CupsdSecurityPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 6, 2, 10, 7);
m1->setRowStretch(5, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
- m1->addWidget(l4, 3, 0, Qt::AlignRight);
- m1->addWidget(l5, 4, 0, Qt::AlignRight|Qt::AlignTop);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
+ m1->addWidget(l4, 3, 0, TQt::AlignRight);
+ m1->addWidget(l5, 4, 0, TQt::AlignRight|TQt::AlignTop);
m1->addWidget(remoteroot_, 0, 1);
m1->addWidget(systemgroup_, 1, 1);
m1->addWidget(encryptcert_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdserverpage.cpp b/tdeprint/cups/cupsdconf2/cupsdserverpage.cpp
index e89356af9..a2bb81972 100644
--- a/tdeprint/cups/cupsdconf2/cupsdserverpage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdserverpage.cpp
@@ -97,13 +97,13 @@ CupsdServerPage::CupsdServerPage(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(this, 9, 2, 10, 7);
m1->setRowStretch(8, 1);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
- m1->addWidget(l4, 4, 0, Qt::AlignRight);
- m1->addWidget(l5, 5, 0, Qt::AlignRight);
- m1->addWidget(l6, 6, 0, Qt::AlignRight);
- m1->addWidget(l7, 7, 0, Qt::AlignRight);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
+ m1->addWidget(l4, 4, 0, TQt::AlignRight);
+ m1->addWidget(l5, 5, 0, TQt::AlignRight);
+ m1->addWidget(l6, 6, 0, TQt::AlignRight);
+ m1->addWidget(l7, 7, 0, TQt::AlignRight);
m1->addWidget(servername_, 0, 1);
m1->addWidget(serveradmin_, 1, 1);
m1->addWidget(charset_, 4, 1);
diff --git a/tdeprint/cups/cupsdconf2/cupsdsplash.cpp b/tdeprint/cups/cupsdconf2/cupsdsplash.cpp
index c28329e67..52db651d3 100644
--- a/tdeprint/cups/cupsdconf2/cupsdsplash.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdsplash.cpp
@@ -39,11 +39,11 @@ CupsdSplash::CupsdSplash(TQWidget *parent, const char *name)
TQLabel *cupslogo_ = new TQLabel(this);
TQString logopath = locate("data", TQString("tdeprint/cups_logo.png"));
cupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
- cupslogo_->setAlignment(Qt::AlignCenter);
+ cupslogo_->setAlignment(TQt::AlignCenter);
TQLabel *kupslogo_ = new TQLabel(this);
logopath = locate("data", TQString("tdeprint/kde_logo.png"));
kupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
- kupslogo_->setAlignment(Qt::AlignCenter);
+ kupslogo_->setAlignment(TQt::AlignCenter);
TQLabel *helptxt_ = new TQLabel(this);
helptxt_->setText(i18n( "<p>This tool will help you to configure graphically the server of the CUPS printing system. "
diff --git a/tdeprint/cups/cupsdconf2/locationdialog.cpp b/tdeprint/cups/cupsdconf2/locationdialog.cpp
index 0754ae573..addd3eea4 100644
--- a/tdeprint/cups/cupsdconf2/locationdialog.cpp
+++ b/tdeprint/cups/cupsdconf2/locationdialog.cpp
@@ -80,14 +80,14 @@ LocationDialog::LocationDialog(TQWidget *parent, const char *name)
TQGridLayout *m1 = new TQGridLayout(dummy, 8, 2, 0, 5);
m1->setColStretch(1, 1);
- m1->addWidget(l1, 0, 0, Qt::AlignRight);
- m1->addWidget(l2, 1, 0, Qt::AlignRight);
- m1->addWidget(l3, 2, 0, Qt::AlignRight);
- m1->addWidget(l4, 3, 0, Qt::AlignRight);
- m1->addWidget(l5, 4, 0, Qt::AlignRight);
- m1->addWidget(l6, 5, 0, Qt::AlignRight);
- m1->addWidget(l7, 6, 0, Qt::AlignRight);
- m1->addWidget(l8, 7, 0, Qt::AlignRight|Qt::AlignTop);
+ m1->addWidget(l1, 0, 0, TQt::AlignRight);
+ m1->addWidget(l2, 1, 0, TQt::AlignRight);
+ m1->addWidget(l3, 2, 0, TQt::AlignRight);
+ m1->addWidget(l4, 3, 0, TQt::AlignRight);
+ m1->addWidget(l5, 4, 0, TQt::AlignRight);
+ m1->addWidget(l6, 5, 0, TQt::AlignRight);
+ m1->addWidget(l7, 6, 0, TQt::AlignRight);
+ m1->addWidget(l8, 7, 0, TQt::AlignRight|TQt::AlignTop);
m1->addWidget(resource_, 0, 1);
m1->addWidget(authtype_, 1, 1);
m1->addWidget(authclass_, 2, 1);
diff --git a/tdeprint/cups/cupsdconf2/portdialog.cpp b/tdeprint/cups/cupsdconf2/portdialog.cpp
index f758d5d1e..df2ea8793 100644
--- a/tdeprint/cups/cupsdconf2/portdialog.cpp
+++ b/tdeprint/cups/cupsdconf2/portdialog.cpp
@@ -46,8 +46,8 @@ PortDialog::PortDialog(TQWidget *parent, const char *name)
TQVBoxLayout *m1 = new TQVBoxLayout(dummy, 0, 10);
TQGridLayout *m2 = new TQGridLayout(0, 3, 2, 0, 5);
m1->addLayout(TQT_TQLAYOUT(m2));
- m2->addWidget(l1, 0, 0, Qt::AlignRight);
- m2->addWidget(l2, 1, 0, Qt::AlignRight);
+ m2->addWidget(l1, 0, 0, TQt::AlignRight);
+ m2->addWidget(l2, 1, 0, TQt::AlignRight);
m2->addMultiCellWidget(usessl_, 2, 2, 0, 1);
m2->addWidget(address_, 0, 1);
m2->addWidget(port_, 1, 1);
diff --git a/tdeprint/cups/imageposition.cpp b/tdeprint/cups/imageposition.cpp
index 8ff617665..436af9ac4 100644
--- a/tdeprint/cups/imageposition.cpp
+++ b/tdeprint/cups/imageposition.cpp
@@ -25,16 +25,16 @@
static void draw3DPage(TQPainter *p, TQRect r)
{
// draw white page
- p->fillRect(r,Qt::white);
+ p->fillRect(r,TQt::white);
// draw 3D border
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->moveTo(r.left(),r.bottom());
p->lineTo(r.right(),r.bottom());
p->lineTo(r.right(),r.top());
- p->setPen(Qt::darkGray);
+ p->setPen(TQt::darkGray);
p->lineTo(r.left(),r.top());
p->lineTo(r.left(),r.bottom());
- p->setPen(Qt::gray);
+ p->setPen(TQt::gray);
p->moveTo(r.left()+1,r.bottom()-1);
p->lineTo(r.right()-1,r.bottom()-1);
p->lineTo(r.right()-1,r.top()+1);
diff --git a/tdeprint/cups/ippreportdlg.cpp b/tdeprint/cups/ippreportdlg.cpp
index 63f0207dd..e16b38dd5 100644
--- a/tdeprint/cups/ippreportdlg.cpp
+++ b/tdeprint/cups/ippreportdlg.cpp
@@ -62,7 +62,7 @@ void IppReportDlg::slotUser1()
rich.draw(&painter, margin, margin, r, colorGroup());
TQString s = caption() + ": " + TQString::number(page);
TQRect br = painter.fontMetrics().boundingRect(s);
- painter.drawText(r.right()-br.width()-5, r.top()-br.height()-4, br.width()+5, br.height()+4, Qt::AlignRight|Qt::AlignTop, s);
+ painter.drawText(r.right()-br.width()-5, r.top()-br.height()-4, br.width()+5, br.height()+4, TQt::AlignRight|TQt::AlignTop, s);
r.moveBy(0, r.height()-10);
painter.translate(0, -(r.height()-10));
if (r.top() < hh)
diff --git a/tdeprint/cups/kmconfigcupsdir.cpp b/tdeprint/cups/kmconfigcupsdir.cpp
index ab82d290b..6cabe17b6 100644
--- a/tdeprint/cups/kmconfigcupsdir.cpp
+++ b/tdeprint/cups/kmconfigcupsdir.cpp
@@ -35,7 +35,7 @@ KMConfigCupsDir::KMConfigCupsDir(TQWidget *parent)
setPageHeader(i18n("CUPS Folder Settings"));
setPagePixmap("folder");
- TQGroupBox *m_dirbox = new TQGroupBox(0, Qt::Vertical, i18n("Installation Folder"), this);
+ TQGroupBox *m_dirbox = new TQGroupBox(0, TQt::Vertical, i18n("Installation Folder"), this);
m_installdir = new KURLRequester(m_dirbox);
m_installdir->setMode((KFile::Mode)(KFile::Directory|KFile::ExistingOnly|KFile::LocalOnly));
m_stddir = new TQCheckBox(i18n("Standard installation (/)"), m_dirbox);
diff --git a/tdeprint/cups/kmcupsconfigwidget.cpp b/tdeprint/cups/kmcupsconfigwidget.cpp
index f93c1a4b3..608940574 100644
--- a/tdeprint/cups/kmcupsconfigwidget.cpp
+++ b/tdeprint/cups/kmcupsconfigwidget.cpp
@@ -62,8 +62,8 @@ KMCupsConfigWidget::KMCupsConfigWidget(TQWidget *parent, const char *name)
: TQWidget(parent,name)
{
// widget creation
- TQGroupBox *m_hostbox = new TQGroupBox(0, Qt::Vertical, i18n("Server Information"), this);
- TQGroupBox *m_loginbox = new TQGroupBox(0, Qt::Vertical, i18n("Account Information"), this);
+ TQGroupBox *m_hostbox = new TQGroupBox(0, TQt::Vertical, i18n("Server Information"), this);
+ TQGroupBox *m_loginbox = new TQGroupBox(0, TQt::Vertical, i18n("Account Information"), this);
TQLabel *m_hostlabel = new TQLabel(i18n("&Host:"), m_hostbox);
TQLabel *m_portlabel = new TQLabel(i18n("&Port:"), m_hostbox);
m_host = new TQLineEdit(m_hostbox);
diff --git a/tdeprint/cups/kmcupsuimanager.cpp b/tdeprint/cups/kmcupsuimanager.cpp
index b1d4e60f6..8438a7c1b 100644
--- a/tdeprint/cups/kmcupsuimanager.cpp
+++ b/tdeprint/cups/kmcupsuimanager.cpp
@@ -234,7 +234,7 @@ void KMCupsUiManager::setupPrintDialogPages(TQPtrList<KPrintDialogPage>* pages)
void KMCupsUiManager::setupJobViewer(TQListView *lv)
{
lv->addColumn(i18n("Priority"));
- lv->setColumnAlignment(lv->columns()-1, Qt::AlignRight|Qt::AlignVCenter);
+ lv->setColumnAlignment(lv->columns()-1, TQt::AlignRight|TQt::AlignVCenter);
lv->addColumn(i18n("Billing Information"));
- lv->setColumnAlignment(lv->columns()-1, Qt::AlignRight|Qt::AlignVCenter);
+ lv->setColumnAlignment(lv->columns()-1, TQt::AlignRight|TQt::AlignVCenter);
}
diff --git a/tdeprint/cups/kphpgl2page.cpp b/tdeprint/cups/kphpgl2page.cpp
index f804b249d..42123375c 100644
--- a/tdeprint/cups/kphpgl2page.cpp
+++ b/tdeprint/cups/kphpgl2page.cpp
@@ -110,7 +110,7 @@ KPHpgl2Page::KPHpgl2Page(TQWidget *parent, const char *name)
setTitle("HP-GL/2");
- TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("HP-GL/2 Options"), this);
+ TQGroupBox *box = new TQGroupBox(0, TQt::Vertical, i18n("HP-GL/2 Options"), this);
m_blackplot = new TQCheckBox(i18n("&Use only black pen"), box);
TQWhatsThis::add(m_blackplot, whatsThisBlackplotHpgl2Page);
@@ -119,7 +119,7 @@ KPHpgl2Page::KPHpgl2Page(TQWidget *parent, const char *name)
TQWhatsThis::add(m_fitplot, whatsThisFitplotHpgl2Page);
m_penwidth = new KIntNumInput(1000, box);
- m_penwidth->setLabel(i18n("&Pen width:"), Qt::AlignLeft|Qt::AlignVCenter);
+ m_penwidth->setLabel(i18n("&Pen width:"), TQt::AlignLeft|TQt::AlignVCenter);
m_penwidth->setSuffix(" [um]");
m_penwidth->setRange(0, 10000, 100, true);
TQWhatsThis::add(m_penwidth, whatsThisPenwidthHpgl2Page);
diff --git a/tdeprint/cups/kpimagepage.cpp b/tdeprint/cups/kpimagepage.cpp
index 8d23fe3e0..ca21a1366 100644
--- a/tdeprint/cups/kpimagepage.cpp
+++ b/tdeprint/cups/kpimagepage.cpp
@@ -236,11 +236,11 @@ KPImagePage::KPImagePage(DrMain *driver, TQWidget *parent, const char *name)
setTitle(i18n("Image"));
- TQGroupBox *colorbox = new TQGroupBox(0, Qt::Vertical, i18n("Color Settings"), this);
+ TQGroupBox *colorbox = new TQGroupBox(0, TQt::Vertical, i18n("Color Settings"), this);
TQWhatsThis::add(this, whatsThisImagePage);
- TQGroupBox *sizebox = new TQGroupBox(0, Qt::Vertical, i18n("Image Size"), this);
+ TQGroupBox *sizebox = new TQGroupBox(0, TQt::Vertical, i18n("Image Size"), this);
TQWhatsThis::add(sizebox, whatsThisSizeImagePage);
- TQGroupBox *positionbox = new TQGroupBox(0, Qt::Vertical, i18n("Image Position"), this);
+ TQGroupBox *positionbox = new TQGroupBox(0, TQt::Vertical, i18n("Image Position"), this);
TQWhatsThis::add(positionbox, whatsThisPositionImagePage);
m_brightness = new KIntNumInput(100, colorbox);
@@ -278,7 +278,7 @@ KPImagePage::KPImagePage(DrMain *driver, TQWidget *parent, const char *name)
TQImage img(locate("data", "tdeprint/preview.png"));
m_preview->setImage(img);
- KSeparator *sep = new KSeparator(Qt::Horizontal, colorbox);
+ KSeparator *sep = new KSeparator(TQt::Horizontal, colorbox);
TQPushButton *defbtn = new TQPushButton(i18n("&Default Settings"), colorbox);
TQWhatsThis::add(defbtn, whatsThisResetButtonImagePage);
@@ -374,12 +374,12 @@ KPImagePage::KPImagePage(DrMain *driver, TQWidget *parent, const char *name)
l3->addLayout(l4, 0, 1);
l3->addLayout(l5, 1, 0);
l3->addWidget(m_position, 1, 1);
- l4->addWidget(left, Qt::AlignLeft);
- l4->addWidget(hcenter, Qt::AlignCenter);
- l4->addWidget(right, Qt::AlignRight);
- l5->addWidget(top, Qt::AlignTop);
- l5->addWidget(vcenter, Qt::AlignVCenter);
- l5->addWidget(bottom, Qt::AlignBottom);
+ l4->addWidget(left, TQt::AlignLeft);
+ l4->addWidget(hcenter, TQt::AlignCenter);
+ l4->addWidget(right, TQt::AlignRight);
+ l5->addWidget(top, TQt::AlignTop);
+ l5->addWidget(vcenter, TQt::AlignVCenter);
+ l5->addWidget(bottom, TQt::AlignBottom);
}
KPImagePage::~KPImagePage()
diff --git a/tdeprint/cups/kpschedulepage.cpp b/tdeprint/cups/kpschedulepage.cpp
index 8614a9c5f..e37400679 100644
--- a/tdeprint/cups/kpschedulepage.cpp
+++ b/tdeprint/cups/kpschedulepage.cpp
@@ -166,7 +166,7 @@ KPSchedulePage::KPSchedulePage(TQWidget *parent, const char *name)
TQLabel *lab2 = new TQLabel(i18n("T&op/Bottom page label:"), this);
TQWhatsThis::add(lab2, whatsThisPageLabel);
lab2->setBuddy(m_pagelabel);
- m_priority->setLabel(i18n("&Job priority:"), Qt::AlignVCenter|Qt::AlignLeft);
+ m_priority->setLabel(i18n("&Job priority:"), TQt::AlignVCenter|TQt::AlignLeft);
TQWhatsThis::add(m_priority, whatsThisJobPriority);
KSeparator *sep0 = new KSeparator(this);
diff --git a/tdeprint/cups/kptextpage.cpp b/tdeprint/cups/kptextpage.cpp
index 6fb0652ce..3fecdd88a 100644
--- a/tdeprint/cups/kptextpage.cpp
+++ b/tdeprint/cups/kptextpage.cpp
@@ -188,31 +188,31 @@ KPTextPage::KPTextPage(DrMain *driver, TQWidget *parent, const char *name)
setTitle(i18n("Text"));
m_block = false;
- TQGroupBox *formatbox = new TQGroupBox(0, Qt::Vertical, i18n("Text Format"), this);
+ TQGroupBox *formatbox = new TQGroupBox(0, TQt::Vertical, i18n("Text Format"), this);
TQWhatsThis::add(formatbox, whatsThisFormatTextPage);
- TQGroupBox *prettybox = new TQGroupBox(0, Qt::Vertical, i18n("Syntax Highlighting"), this);
+ TQGroupBox *prettybox = new TQGroupBox(0, TQt::Vertical, i18n("Syntax Highlighting"), this);
TQWhatsThis::add(prettybox, whatsThisPrettyprintFrameTextPage);
- TQGroupBox *marginbox = new TQGroupBox(0, Qt::Vertical, i18n("Margins"), this);
+ TQGroupBox *marginbox = new TQGroupBox(0, TQt::Vertical, i18n("Margins"), this);
TQWhatsThis::add(marginbox, whatsThisMarginsTextPage);
m_cpi = new KIntNumInput(10, formatbox);
TQWhatsThis::add(m_cpi, whatsThisCPITextPage);
- m_cpi->setLabel(i18n("&Chars per inch:"), Qt::AlignLeft|Qt::AlignVCenter);
+ m_cpi->setLabel(i18n("&Chars per inch:"), TQt::AlignLeft|TQt::AlignVCenter);
m_cpi->setRange(1, 999, 1, false);
m_lpi = new KIntNumInput(m_cpi, 6, formatbox);
TQWhatsThis::add(m_lpi, whatsThisLPITextPage);
- m_lpi->setLabel(i18n("&Lines per inch:"), Qt::AlignLeft|Qt::AlignVCenter);
+ m_lpi->setLabel(i18n("&Lines per inch:"), TQt::AlignLeft|TQt::AlignVCenter);
m_lpi->setRange(1, 999, 1, false);
m_columns = new KIntNumInput(m_lpi, 1, formatbox);
TQWhatsThis::add(m_columns, whatsThisColumnsTextPage);
- m_columns->setLabel(i18n("C&olumns:"), Qt::AlignLeft|Qt::AlignVCenter);
+ m_columns->setLabel(i18n("C&olumns:"), TQt::AlignLeft|TQt::AlignVCenter);
m_columns->setRange(1, 10, 1, false);
- KSeparator *sep = new KSeparator(Qt::Horizontal, formatbox);
+ KSeparator *sep = new KSeparator(TQt::Horizontal, formatbox);
connect(m_columns, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotColumnsChanged(int)));
m_prettypix = new TQLabel(prettybox);
TQWhatsThis::add(m_prettypix, whatsThisPrettyprintPreviewIconTextPage);
- m_prettypix->setAlignment(Qt::AlignCenter);
+ m_prettypix->setAlignment(TQt::AlignCenter);
TQRadioButton *off = new TQRadioButton(i18n("&Disabled"), prettybox);
TQWhatsThis::add(off, whatsThisPrettyprintButtonOffTextPage);
TQRadioButton *on = new TQRadioButton(i18n("&Enabled"), prettybox);
diff --git a/tdeprint/driveritem.cpp b/tdeprint/driveritem.cpp
index 9bf17565c..0b4266c11 100644
--- a/tdeprint/driveritem.cpp
+++ b/tdeprint/driveritem.cpp
@@ -91,7 +91,7 @@ void DriverItem::paintCell(TQPainter *p, const TQColorGroup& cg, int, int width,
if (!m_item || !m_item->isOption() || isSelected())
{
p->setPen((isSelected() ? cg.highlightedText() : (m_conflict ? red : cg.text())));
- p->drawText(w,0,width-w,height(),Qt::AlignLeft|Qt::AlignVCenter,text(0));
+ p->drawText(w,0,width-w,height(),TQt::AlignLeft|TQt::AlignVCenter,text(0));
}
else
{
@@ -99,17 +99,17 @@ void DriverItem::paintCell(TQPainter *p, const TQColorGroup& cg, int, int width,
TQString s(m_item->get("text") + ": <");
w1 = p->fontMetrics().width(s);
p->setPen(cg.text());
- p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
w += w1;
p->setPen((m_conflict ? red : darkGreen));
s = m_item->prettyText();
w1 = p->fontMetrics().width(s);
- p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
w += w1;
p->setPen(cg.text());
s = TQString::fromLatin1(">");
w1 = p->fontMetrics().width(s);
- p->drawText(w,0,w1,height(),Qt::AlignLeft|Qt::AlignVCenter,s);
+ p->drawText(w,0,w1,height(),TQt::AlignLeft|TQt::AlignVCenter,s);
}
}
diff --git a/tdeprint/driverview.cpp b/tdeprint/driverview.cpp
index fece6c40c..4b40ed190 100644
--- a/tdeprint/driverview.cpp
+++ b/tdeprint/driverview.cpp
@@ -95,7 +95,7 @@ DriverView::DriverView(TQWidget *parent, const char *name)
m_driver = 0;
TQSplitter *splitter = new TQSplitter(this);
- splitter->setOrientation(Qt::Vertical);
+ splitter->setOrientation(TQt::Vertical);
TQVBoxLayout *vbox = new TQVBoxLayout(this, 0, 10);
vbox->addWidget(splitter);
diff --git a/tdeprint/droptionview.cpp b/tdeprint/droptionview.cpp
index e6c0552f3..cb8057f66 100644
--- a/tdeprint/droptionview.cpp
+++ b/tdeprint/droptionview.cpp
@@ -56,7 +56,7 @@ OptionNumericView::OptionNumericView(TQWidget *parent, const char *name)
: OptionBaseView(parent,name)
{
m_edit = new TQLineEdit(this);
- m_slider = new TQSlider(Qt::Horizontal,this);
+ m_slider = new TQSlider(TQt::Horizontal,this);
m_slider->setTickmarks(TQSlider::Below);
TQLabel *lab = new TQLabel(i18n("Value:"),this);
m_minval = new TQLabel(this);
@@ -305,7 +305,7 @@ DrOptionView::DrOptionView(TQWidget *parent, const char *name)
m_stack->raiseWidget(w);
setTitle(i18n("No Option Selected"));
- setColumnLayout(0, Qt::Vertical );
+ setColumnLayout(0, TQt::Vertical );
layout()->setSpacing( KDialog::spacingHint() );
layout()->setMargin( KDialog::marginHint() );
TQVBoxLayout *main_ = new TQVBoxLayout(TQT_TQLAYOUT(layout()), KDialog::marginHint());
diff --git a/tdeprint/kpcopiespage.cpp b/tdeprint/kpcopiespage.cpp
index 27b647208..2ffb66cee 100644
--- a/tdeprint/kpcopiespage.cpp
+++ b/tdeprint/kpcopiespage.cpp
@@ -165,7 +165,7 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
setId(KPrinter::CopiesPage);
// widget creation
- TQButtonGroup *m_pagebox = new TQButtonGroup(0, Qt::Vertical, i18n("Page Selection"), this);
+ TQButtonGroup *m_pagebox = new TQButtonGroup(0, TQt::Vertical, i18n("Page Selection"), this);
TQWhatsThis::add(m_pagebox, whatsThisPageSelectionLabel);
m_all = new TQRadioButton(i18n("&All"), m_pagebox);
TQWhatsThis::add(m_all, whatsThisAllPagesLabel);
@@ -180,14 +180,14 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
// TQWhatsThis::add(m_rangeedit, i18n("<p>Enter pages or group of pages to print separated by commas (1,2-5,8).</p>"));
//TQLabel *m_rangeexpl = new TQLabel(m_pagebox);
//m_rangeexpl->setText(i18n("<p>Enter pages or group of pages to print separated by commas (1,2-5,8).</p>"));
- TQGroupBox *m_copybox = new TQGroupBox(0, Qt::Vertical, i18n("Output Settings"), this);
+ TQGroupBox *m_copybox = new TQGroupBox(0, TQt::Vertical, i18n("Output Settings"), this);
TQWhatsThis::add(m_copybox, whatsThisCopiesLabel);
m_collate = new TQCheckBox(i18n("Co&llate"), m_copybox);
TQWhatsThis::add(m_collate, whatsThisCollateLabel);
m_order = new TQCheckBox(i18n("Re&verse"), m_copybox);
TQWhatsThis::add(m_order, whatsThisReverseLabel);
m_collatepix = new TQLabel(m_copybox);
- m_collatepix->setAlignment(Qt::AlignCenter);
+ m_collatepix->setAlignment(TQt::AlignCenter);
m_collatepix->setMinimumHeight(70);
TQLabel *m_copieslabel = new TQLabel(i18n("Cop&ies:"), m_copybox);
m_copies = new TQSpinBox(m_copybox);
@@ -203,7 +203,7 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
TQLabel *m_pagesetlabel = new TQLabel(i18n("Page &set:"), m_pagebox);
m_pagesetlabel->setBuddy(m_pageset);
TQWhatsThis::add(m_pagesetlabel, whatsThisPageSetLabel);
- KSeparator *sepline = new KSeparator(Qt::Horizontal, m_pagebox);
+ KSeparator *sepline = new KSeparator(TQt::Horizontal, m_pagebox);
sepline->setMinimumHeight(10);
TQWidget::setTabOrder( m_all, m_current );
diff --git a/tdeprint/kpgeneralpage.cpp b/tdeprint/kpgeneralpage.cpp
index 821290704..16910b72a 100644
--- a/tdeprint/kpgeneralpage.cpp
+++ b/tdeprint/kpgeneralpage.cpp
@@ -262,15 +262,15 @@ KPGeneralPage::KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent, const
// widget creation
TQLabel *m_pagesizelabel = new TQLabel(i18n("Page s&ize:"), this);
- m_pagesizelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_pagesizelabel->setAlignment(TQt::AlignVCenter|TQt::AlignRight);
TQWhatsThis::add(m_pagesizelabel, whatsThisGeneralPageSizeLabel);
TQLabel *m_papertypelabel = new TQLabel(i18n("Paper t&ype:"), this);
- m_papertypelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_papertypelabel->setAlignment(TQt::AlignVCenter|TQt::AlignRight);
TQWhatsThis::add(m_papertypelabel, whatsThisGeneralPaperTypeLabel);
TQLabel *m_inputslotlabel = new TQLabel(i18n("Paper so&urce:"), this);
- m_inputslotlabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_inputslotlabel->setAlignment(TQt::AlignVCenter|TQt::AlignRight);
TQWhatsThis::add(m_inputslotlabel, whatsThisGeneralPaperSourceLabel);
m_pagesize = new TQComboBox(this);
@@ -286,16 +286,16 @@ KPGeneralPage::KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent, const
m_papertypelabel->setBuddy(m_papertype);
m_inputslotlabel->setBuddy(m_inputslot);
- m_orientbox = new TQButtonGroup(0, Qt::Vertical, i18n("Orientation"), this);
+ m_orientbox = new TQButtonGroup(0, TQt::Vertical, i18n("Orientation"), this);
TQWhatsThis::add(m_orientbox, whatsThisGeneralOrientationLabel);
- m_duplexbox = new TQButtonGroup(0, Qt::Vertical, i18n("Duplex Printing"), this);
+ m_duplexbox = new TQButtonGroup(0, TQt::Vertical, i18n("Duplex Printing"), this);
TQWhatsThis::add(m_duplexbox, whatsThisGeneralDuplexLabel);
- m_nupbox = new TQButtonGroup(0, Qt::Vertical, i18n("Pages per Sheet"), this);
+ m_nupbox = new TQButtonGroup(0, TQt::Vertical, i18n("Pages per Sheet"), this);
TQWhatsThis::add(m_nupbox, whatsThisGeneralPagesPerSheetLabel);
- m_bannerbox = new TQGroupBox(0, Qt::Vertical, i18n("Banners"), this);
+ m_bannerbox = new TQGroupBox(0, TQt::Vertical, i18n("Banners"), this);
TQWhatsThis::add(m_bannerbox, whatsThisGeneralBannersLabel);
TQRadioButton *m_portrait = new TQRadioButton(i18n("&Portrait"), m_orientbox);
@@ -305,19 +305,19 @@ KPGeneralPage::KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent, const
m_portrait->setChecked(true);
m_orientpix = new TQLabel(m_orientbox);
- m_orientpix->setAlignment(Qt::AlignCenter);
+ m_orientpix->setAlignment(TQt::AlignCenter);
TQRadioButton *m_dupnone = new TQRadioButton(i18n("duplex orientation", "&None"), m_duplexbox);
TQRadioButton *m_duplong = new TQRadioButton(i18n("duplex orientation", "Lon&g side"), m_duplexbox);
TQRadioButton *m_dupshort = new TQRadioButton(i18n("duplex orientation", "S&hort side"), m_duplexbox);
m_dupnone->setChecked(true);
m_duplexpix = new TQLabel(m_duplexbox);
- m_duplexpix->setAlignment(Qt::AlignCenter);
+ m_duplexpix->setAlignment(TQt::AlignCenter);
TQRadioButton *m_nup1 = new TQRadioButton("&1", m_nupbox);
TQRadioButton *m_nup2 = new TQRadioButton("&2", m_nupbox);
TQRadioButton *m_nup4 = new TQRadioButton("&4", m_nupbox);
m_nup1->setChecked(true);
m_nuppix = new TQLabel(m_nupbox);
- m_nuppix->setAlignment(Qt::AlignCenter);
+ m_nuppix->setAlignment(TQt::AlignCenter);
m_startbanner = new TQComboBox(m_bannerbox);
m_endbanner = new TQComboBox(m_bannerbox);
TQLabel *m_startbannerlabel = new TQLabel(i18n("S&tart:"), m_bannerbox);
diff --git a/tdeprint/kpmarginpage.cpp b/tdeprint/kpmarginpage.cpp
index 8e814a49b..d4b87994e 100644
--- a/tdeprint/kpmarginpage.cpp
+++ b/tdeprint/kpmarginpage.cpp
@@ -42,7 +42,7 @@ KPMarginPage::KPMarginPage(KPrinter *prt, DrMain *driver, TQWidget *parent, cons
setTitle(i18n("Margins"));
m_usedriver = true;
- TQGroupBox *box = new TQGroupBox(1, Qt::Vertical, i18n("Margins"), this);
+ TQGroupBox *box = new TQGroupBox(1, TQt::Vertical, i18n("Margins"), this);
m_margin = new MarginWidget(box, "MarginWidget", (m_printer != 0));
//m_margin->setSymetricMargins(true);
//if (m_printer)
diff --git a/tdeprint/kpqtpage.cpp b/tdeprint/kpqtpage.cpp
index 97e8ea3aa..be88508fd 100644
--- a/tdeprint/kpqtpage.cpp
+++ b/tdeprint/kpqtpage.cpp
@@ -116,11 +116,11 @@ void KPQtPage::init()
m_pagesize = new TQComboBox(this);
TQWhatsThis::add(m_pagesize, whatsThisPageSizeOtPageLabel);
TQLabel *m_pagesizelabel = new TQLabel(i18n("Page s&ize:"), this);
- m_pagesizelabel->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
+ m_pagesizelabel->setAlignment(TQt::AlignVCenter|TQt::AlignRight);
m_pagesizelabel->setBuddy(m_pagesize);
- m_orientbox = new TQButtonGroup(0, Qt::Vertical, i18n("Orientation"), this);
+ m_orientbox = new TQButtonGroup(0, TQt::Vertical, i18n("Orientation"), this);
TQWhatsThis::add(m_orientbox, whatsThisOrientationOtPageLabel);
- m_colorbox = new TQButtonGroup(0, Qt::Vertical, i18n("Color Mode"), this);
+ m_colorbox = new TQButtonGroup(0, TQt::Vertical, i18n("Color Mode"), this);
TQWhatsThis::add(m_colorbox, whatsThisColorModeOtPageLabel);
TQRadioButton *m_portrait = new TQRadioButton(i18n("&Portrait"), m_orientbox);
TQWhatsThis::add(m_portrait, whatsThisOrientationOtPageLabel);
@@ -129,7 +129,7 @@ void KPQtPage::init()
TQWhatsThis::add(m_landscape, whatsThisOrientationOtPageLabel);
m_orientpix = new TQLabel(m_orientbox);
- m_orientpix->setAlignment(Qt::AlignCenter);
+ m_orientpix->setAlignment(TQt::AlignCenter);
TQWhatsThis::add(m_orientpix, whatsThisOrientationOtPageLabel);
TQRadioButton *m_color = new TQRadioButton(i18n("Colo&r"), m_colorbox);
@@ -137,10 +137,10 @@ void KPQtPage::init()
TQRadioButton *m_grayscale = new TQRadioButton(i18n("&Grayscale"), m_colorbox);
m_colorpix = new TQLabel(m_colorbox);
- m_colorpix->setAlignment(Qt::AlignCenter);
+ m_colorpix->setAlignment(TQt::AlignCenter);
TQWhatsThis::add(m_colorpix, whatsThisColorModeOtPageLabel);
- m_nupbox = new TQButtonGroup(0, Qt::Vertical, i18n("Pages per Sheet"), this);
+ m_nupbox = new TQButtonGroup(0, TQt::Vertical, i18n("Pages per Sheet"), this);
// TQWhatsThis::add(m_nupbox, whatsThisPagesPerSheetOtPageLabel);
TQRadioButton *m_nup1 = new TQRadioButton("&1", m_nupbox);
TQWhatsThis::add(m_nup1, whatsThisPagesPerSheetOtPageLabel);
@@ -152,7 +152,7 @@ void KPQtPage::init()
TQWhatsThis::add(m_nupother, whatsThisPagesPerSheetOtPageLabel);
m_nuppix = new TQLabel(m_nupbox);
- m_nuppix->setAlignment(Qt::AlignCenter);
+ m_nuppix->setAlignment(TQt::AlignCenter);
TQWhatsThis::add(m_nuppix, whatsThisPagesPerSheetOtPageLabel);
// layout creation
diff --git a/tdeprint/kprintdialog.cpp b/tdeprint/kprintdialog.cpp
index fb1fbe812..849bd9f75 100644
--- a/tdeprint/kprintdialog.cpp
+++ b/tdeprint/kprintdialog.cpp
@@ -262,7 +262,7 @@ KPrintDialog::KPrintDialog(TQWidget *parent, const char *name)
setCaption(i18n("Print"));
// widget creation
- TQGroupBox *m_pbox = new TQGroupBox(0,Qt::Vertical,i18n("Printer"), this);
+ TQGroupBox *m_pbox = new TQGroupBox(0,TQt::Vertical,i18n("Printer"), this);
d->m_type = new TQLabel(m_pbox);
TQWhatsThis::add(d->m_type, whatsThisPrinterType);
d->m_state = new TQLabel(m_pbox);
diff --git a/tdeprint/kprintpreview.cpp b/tdeprint/kprintpreview.cpp
index 3882ecb6e..e7d8f5728 100644
--- a/tdeprint/kprintpreview.cpp
+++ b/tdeprint/kprintpreview.cpp
@@ -157,8 +157,8 @@ KPrintPreview::KPrintPreview(TQWidget *parent, bool previewOnly)
KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "close_print");
else
{
- new TDEAction(i18n("Print"), "document-print", Qt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(accept()), d->actions_, "continue_print");
- new TDEAction(i18n("Cancel"), "process-stop", Qt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "stop_print");
+ new TDEAction(i18n("Print"), "document-print", TQt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(accept()), d->actions_, "continue_print");
+ new TDEAction(i18n("Cancel"), "process-stop", TQt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "stop_print");
}
}
diff --git a/tdeprint/lpr/kmconfiglpr.cpp b/tdeprint/lpr/kmconfiglpr.cpp
index fed1dd17d..ffd8db77a 100644
--- a/tdeprint/lpr/kmconfiglpr.cpp
+++ b/tdeprint/lpr/kmconfiglpr.cpp
@@ -34,7 +34,7 @@ KMConfigLpr::KMConfigLpr(TQWidget *parent, const char *name)
setPageHeader(i18n("Spooler Settings"));
setPagePixmap("gear");
- TQGroupBox *m_modebox = new TQGroupBox(1, Qt::Vertical, i18n("Spooler"), this);
+ TQGroupBox *m_modebox = new TQGroupBox(1, TQt::Vertical, i18n("Spooler"), this);
m_mode = new TQComboBox(m_modebox);
m_mode->insertItem("LPR (BSD compatible)");
diff --git a/tdeprint/management/cjanuswidget.cpp b/tdeprint/management/cjanuswidget.cpp
index 5bddffe02..4d9820555 100644
--- a/tdeprint/management/cjanuswidget.cpp
+++ b/tdeprint/management/cjanuswidget.cpp
@@ -74,7 +74,7 @@ void CJanusWidget::CListBoxItem::paint(TQPainter *p)
int w1 = (listBox()->contentsWidth()-m_pix.width())/2;
p->drawPixmap(w1,5,m_pix);
- p->drawText(0,7+m_pix.height(),listBox()->contentsWidth(),p->fontMetrics().lineSpacing(),Qt::AlignHCenter,text());
+ p->drawText(0,7+m_pix.height(),listBox()->contentsWidth(),p->fontMetrics().lineSpacing(),TQt::AlignHCenter,text());
}
//***********************************************************************************
diff --git a/tdeprint/management/kmconfigcommand.cpp b/tdeprint/management/kmconfigcommand.cpp
index 971f8cce5..00607f755 100644
--- a/tdeprint/management/kmconfigcommand.cpp
+++ b/tdeprint/management/kmconfigcommand.cpp
@@ -34,7 +34,7 @@ KMConfigCommand::KMConfigCommand(TQWidget *parent, const char *name)
setPageHeader(i18n("Command Settings"));
setPagePixmap("application-x-executable");
- TQGroupBox *gb = new TQGroupBox(0, Qt::Horizontal, i18n("Edit/Create Commands"), this);
+ TQGroupBox *gb = new TQGroupBox(0, TQt::Horizontal, i18n("Edit/Create Commands"), this);
TQLabel *lab = new TQLabel(i18n(
"<p>Command objects perform a conversion from input to output.<br>"
"They are used as the basis to build both print filters "
diff --git a/tdeprint/management/kmconfigfilter.cpp b/tdeprint/management/kmconfigfilter.cpp
index b7be0a1e6..49c1e0dee 100644
--- a/tdeprint/management/kmconfigfilter.cpp
+++ b/tdeprint/management/kmconfigfilter.cpp
@@ -41,7 +41,7 @@ KMConfigFilter::KMConfigFilter(TQWidget *parent, const char *name)
setPageHeader(i18n("Printer Filtering Settings"));
setPagePixmap("filter");
- TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Printer Filter"), this);
+ TQGroupBox *box = new TQGroupBox(0, TQt::Vertical, i18n("Printer Filter"), this);
m_list1 = new TDEListBox(box);
m_list1->setSelectionMode(TDEListBox::Extended);
diff --git a/tdeprint/management/kmconfigfonts.cpp b/tdeprint/management/kmconfigfonts.cpp
index 4d9854774..e4e50da8f 100644
--- a/tdeprint/management/kmconfigfonts.cpp
+++ b/tdeprint/management/kmconfigfonts.cpp
@@ -43,8 +43,8 @@ KMConfigFonts::KMConfigFonts(TQWidget *parent, const char *name)
setPageHeader(i18n("Font Settings"));
setPagePixmap("fonts");
- TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Fonts Embedding"), this);
- TQGroupBox *box2 = new TQGroupBox(0, Qt::Vertical, i18n("Fonts Path"), this);
+ TQGroupBox *box = new TQGroupBox(0, TQt::Vertical, i18n("Fonts Embedding"), this);
+ TQGroupBox *box2 = new TQGroupBox(0, TQt::Vertical, i18n("Fonts Path"), this);
m_embedfonts = new TQCheckBox(i18n("&Embed fonts in PostScript data when printing"), box);
m_fontpath = new TDEListView(box2);
diff --git a/tdeprint/management/kmconfiggeneral.cpp b/tdeprint/management/kmconfiggeneral.cpp
index edf8902bf..f08bdfe73 100644
--- a/tdeprint/management/kmconfiggeneral.cpp
+++ b/tdeprint/management/kmconfiggeneral.cpp
@@ -45,7 +45,7 @@ KMConfigGeneral::KMConfigGeneral(TQWidget *parent)
setPageHeader(i18n("General Settings"));
setPagePixmap("document-print");
- TQGroupBox *m_timerbox = new TQGroupBox(0, Qt::Vertical, i18n("Refresh Interval"), this);
+ TQGroupBox *m_timerbox = new TQGroupBox(0, TQt::Vertical, i18n("Refresh Interval"), this);
m_timer = new KIntNumInput(m_timerbox,"Timer");
m_timer->setRange(0,30);
m_timer->setSuffix( i18n( " sec" ) );
@@ -54,7 +54,7 @@ KMConfigGeneral::KMConfigGeneral(TQWidget *parent)
"<b>TDE Print</b> components like the print manager "
"and the job viewer."));
- TQGroupBox *m_testpagebox = new TQGroupBox(0, Qt::Vertical, i18n("Test Page"), this);
+ TQGroupBox *m_testpagebox = new TQGroupBox(0, TQt::Vertical, i18n("Test Page"), this);
m_defaulttestpage = new TQCheckBox(i18n("&Specify personal test page"), m_testpagebox, "TestPageCheck");
m_testpage = new KURLRequester(m_testpagebox,"TestPage");
m_preview = new KPushButton(KGuiItem(i18n("Preview..."), "filefind"), m_testpagebox);
@@ -66,7 +66,7 @@ KMConfigGeneral::KMConfigGeneral(TQWidget *parent)
m_preview->setDisabled(true);
m_defaulttestpage->setCursor(KCursor::handCursor());
- TQGroupBox *m_statusbox = new TQGroupBox(0, Qt::Vertical, i18n("Miscellaneous"), this);
+ TQGroupBox *m_statusbox = new TQGroupBox(0, TQt::Vertical, i18n("Miscellaneous"), this);
m_statusmsg = new TQCheckBox(i18n("Sho&w printing status message box"), m_statusbox);
m_uselast = new TQCheckBox(i18n("De&faults to the last printer used in the application"), m_statusbox);
diff --git a/tdeprint/management/kmconfigjobs.cpp b/tdeprint/management/kmconfigjobs.cpp
index 1c712de3d..06915230a 100644
--- a/tdeprint/management/kmconfigjobs.cpp
+++ b/tdeprint/management/kmconfigjobs.cpp
@@ -34,7 +34,7 @@ KMConfigJobs::KMConfigJobs(TQWidget *parent, const char *name)
setPageHeader(i18n("Print Job Settings"));
setPagePixmap("application-x-executable");
- TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Jobs Shown"), this);
+ TQGroupBox *box = new TQGroupBox(0, TQt::Vertical, i18n("Jobs Shown"), this);
m_limit = new KIntNumInput(box);
m_limit->setRange(0, 9999, 1, true);
diff --git a/tdeprint/management/kmconfigpreview.cpp b/tdeprint/management/kmconfigpreview.cpp
index 2fdcbcb4b..d8a73b3e9 100644
--- a/tdeprint/management/kmconfigpreview.cpp
+++ b/tdeprint/management/kmconfigpreview.cpp
@@ -36,7 +36,7 @@ KMConfigPreview::KMConfigPreview(TQWidget *parent, const char *name)
setPageHeader(i18n("Preview Settings"));
setPagePixmap("filefind");
- TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Preview Program"), this);
+ TQGroupBox *box = new TQGroupBox(0, TQt::Vertical, i18n("Preview Program"), this);
m_useext = new TQCheckBox(i18n("&Use external preview program"), box);
m_program = new KURLRequester(box);
diff --git a/tdeprint/management/kminfopage.cpp b/tdeprint/management/kminfopage.cpp
index 8b4683a20..06b37713d 100644
--- a/tdeprint/management/kminfopage.cpp
+++ b/tdeprint/management/kminfopage.cpp
@@ -32,7 +32,7 @@ KMInfoPage::KMInfoPage(TQWidget *parent, const char *name)
{
m_title = new TQLabel(this);
m_titlepixmap = new TQLabel(this);
- m_titlepixmap->setAlignment(Qt::AlignCenter);
+ m_titlepixmap->setAlignment(TQt::AlignCenter);
KSeparator* sep = new KSeparator( KSeparator::HLine, this);
m_type = new TQLabel(this);
m_description = new TQLabel(this);
@@ -42,19 +42,19 @@ KMInfoPage::KMInfoPage(TQWidget *parent, const char *name)
m_uri = new TQLabel(this);
m_device = new TQLabel(this);
TQLabel *m_loclabel = new TQLabel(i18n("Physical Location", "Location:"), this);
- m_loclabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_loclabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQLabel *m_desclabel = new TQLabel(i18n("Description:"), this);
- m_desclabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_desclabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQLabel *m_typelabel = new TQLabel(i18n("Type:"), this);
- m_typelabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_typelabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQLabel *m_statelabel = new TQLabel(i18n("Status", "State:"), this);
- m_statelabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_statelabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQLabel *m_urilabel = new TQLabel(i18n("URI:"), this);
- m_urilabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_urilabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
m_devlabel = new TQLabel(i18n("Device:"), this);
- m_devlabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_devlabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQLabel *m_modellabel = new TQLabel(i18n("Model:"), this);
- m_modellabel->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
+ m_modellabel->setAlignment(TQt::AlignRight|TQt::AlignVCenter);
TQGridLayout *lay0 = new TQGridLayout(this, 11, 2, 0, 5);
TQHBoxLayout *lay1 = new TQHBoxLayout(0, 0, 10);
diff --git a/tdeprint/management/kmjobviewer.cpp b/tdeprint/management/kmjobviewer.cpp
index 70a6c6e85..6511a8d61 100644
--- a/tdeprint/management/kmjobviewer.cpp
+++ b/tdeprint/management/kmjobviewer.cpp
@@ -240,10 +240,10 @@ void KMJobViewer::init()
m_view->addColumn(i18n("Status", "State"));
m_view->addColumn(i18n("Size (KB)"));
m_view->addColumn(i18n("Page(s)"));
- m_view->setColumnAlignment(5,Qt::AlignRight|Qt::AlignVCenter);
+ m_view->setColumnAlignment(5,TQt::AlignRight|TQt::AlignVCenter);
connect( m_view, TQT_SIGNAL( dropped( TQDropEvent*, TQListViewItem* ) ), TQT_SLOT( slotDropped( TQDropEvent*, TQListViewItem* ) ) );
//m_view->addColumn(i18n("Printer"));
- //m_view->setColumnAlignment(6,Qt::AlignRight|Qt::AlignVCenter);
+ //m_view->setColumnAlignment(6,TQt::AlignRight|TQt::AlignVCenter);
KMFactory::self()->uiManager()->setupJobViewer(m_view);
m_view->setFrameStyle(TQFrame::WinPanel|TQFrame::Sunken);
m_view->setLineWidth(1);
@@ -263,7 +263,7 @@ void KMJobViewer::initActions()
// job actions
TDEAction *hact = new TDEAction(i18n("&Hold"),"process-stop",0,TQT_TQOBJECT(this),TQT_SLOT(slotHold()),actionCollection(),"job_hold");
TDEAction *ract = new TDEAction(i18n("&Resume"),"system-run",0,TQT_TQOBJECT(this),TQT_SLOT(slotResume()),actionCollection(),"job_resume");
- TDEAction *dact = new TDEAction(i18n("Remo&ve"),"edittrash",Qt::Key_Delete,TQT_TQOBJECT(this),TQT_SLOT(slotRemove()),actionCollection(),"job_remove");
+ TDEAction *dact = new TDEAction(i18n("Remo&ve"),"edittrash",TQt::Key_Delete,TQT_TQOBJECT(this),TQT_SLOT(slotRemove()),actionCollection(),"job_remove");
TDEAction *sact = new TDEAction(i18n("Res&tart"),"edit-redo",0,TQT_TQOBJECT(this),TQT_SLOT(slotRestart()),actionCollection(),"job_restart");
TDEActionMenu *mact = new TDEActionMenu(i18n("&Move to Printer"),"document-print",actionCollection(),"job_move");
mact->setDelayed(false);
diff --git a/tdeprint/management/kmmainview.cpp b/tdeprint/management/kmmainview.cpp
index c4b35bc6f..6b75edba6 100644
--- a/tdeprint/management/kmmainview.cpp
+++ b/tdeprint/management/kmmainview.cpp
@@ -148,7 +148,7 @@ void KMMainView::restoreSettings()
TDEConfig *conf = KMFactory::self()->printConfig();
conf->setGroup("General");
setViewType((KMPrinterView::ViewType)conf->readNumEntry("ViewType",KMPrinterView::Icons));
- setOrientation(conf->readNumEntry("Orientation", Qt::Vertical));
+ setOrientation(conf->readNumEntry("Orientation", TQt::Vertical));
bool view = conf->readBoolEntry("ViewToolBar",false);
slotToggleToolBar(view);
((TDEToggleAction*)m_actions->action("view_toolbar"))->setChecked(view);
@@ -608,13 +608,13 @@ void KMMainView::slotSoftDefault()
void KMMainView::setOrientation(int o)
{
- int ID = (o == Qt::Horizontal ? 1 : 0);
+ int ID = (o == TQt::Horizontal ? 1 : 0);
((TDESelectAction*)m_actions->action("orientation_change"))->setCurrentItem(ID);
slotChangeDirection(ID);
}
int KMMainView::orientation() const
-{ return (m_boxlayout->direction() == TQBoxLayout::LeftToRight ? Qt::Horizontal : Qt::Vertical); }
+{ return (m_boxlayout->direction() == TQBoxLayout::LeftToRight ? TQt::Horizontal : TQt::Vertical); }
void KMMainView::slotChangeDirection(int d)
{
diff --git a/tdeprint/management/kmpropdriver.cpp b/tdeprint/management/kmpropdriver.cpp
index 6f20494fc..7fc31d977 100644
--- a/tdeprint/management/kmpropdriver.cpp
+++ b/tdeprint/management/kmpropdriver.cpp
@@ -44,7 +44,7 @@ KMPropDriver::KMPropDriver(TQWidget *parent, const char *name)
main_->setRowStretch(3,1);
main_->addWidget(l1,0,0);
main_->addWidget(l2,1,0);
- main_->addWidget(l3,2,0,Qt::AlignTop|Qt::AlignLeft);
+ main_->addWidget(l3,2,0,TQt::AlignTop|TQt::AlignLeft);
main_->addWidget(m_manufacturer,0,1);
main_->addWidget(m_model,1,1);
main_->addWidget(m_driverinfo,2,1);
diff --git a/tdeprint/management/kmspecialprinterdlg.cpp b/tdeprint/management/kmspecialprinterdlg.cpp
index db6dc1486..5db68ad42 100644
--- a/tdeprint/management/kmspecialprinterdlg.cpp
+++ b/tdeprint/management/kmspecialprinterdlg.cpp
@@ -63,10 +63,10 @@ KMSpecialPrinterDlg::KMSpecialPrinterDlg(TQWidget *parent, const char *name)
KSeparator* sep = new KSeparator( KSeparator::HLine, dummy);
sep->setFixedHeight(10);
- TQGroupBox *m_gb = new TQGroupBox(1, Qt::Horizontal, i18n("Command &Settings"), dummy);
+ TQGroupBox *m_gb = new TQGroupBox(1, TQt::Horizontal, i18n("Command &Settings"), dummy);
m_command = new KXmlCommandSelector(true, m_gb, "CommandSelector", this);
- TQGroupBox *m_outfile_gb = new TQGroupBox( 0, Qt::Horizontal, i18n( "Outp&ut File" ), dummy );
+ TQGroupBox *m_outfile_gb = new TQGroupBox( 0, TQt::Horizontal, i18n( "Outp&ut File" ), dummy );
m_usefile = new TQCheckBox( i18n("&Enable output file"), m_outfile_gb);
@@ -128,7 +128,7 @@ KMSpecialPrinterDlg::KMSpecialPrinterDlg(TQWidget *parent, const char *name)
l0->addLayout(TQT_TQLAYOUT(l1));
l1->setColStretch(2,1);
l1->addColSpacing(0,60);
- l1->addMultiCellWidget(m_icon, 0, 2, 0, 0, Qt::AlignCenter);
+ l1->addMultiCellWidget(m_icon, 0, 2, 0, 0, TQt::AlignCenter);
l1->addWidget(m_namelabel, 0, 1);
l1->addWidget(m_desclabel, 1, 1);
l1->addWidget(m_loclabel, 2, 1);
diff --git a/tdeprint/management/kmwdrivertest.cpp b/tdeprint/management/kmwdrivertest.cpp
index 73871988a..00409c97f 100644
--- a/tdeprint/management/kmwdrivertest.cpp
+++ b/tdeprint/management/kmwdrivertest.cpp
@@ -72,7 +72,7 @@ KMWDriverTest::KMWDriverTest(TQWidget *parent, const char *name)
lay2->addColSpacing(1,10);
lay2->addWidget(l1,0,0);
lay2->addWidget(l2,1,0);
- lay2->addWidget(l3,2,0,Qt::AlignLeft|Qt::AlignTop);
+ lay2->addWidget(l3,2,0,TQt::AlignLeft|TQt::AlignTop);
lay2->addWidget(m_manufacturer,0,2);
lay2->addWidget(m_model,1,2);
lay2->addWidget(m_driverinfo,2,2);
diff --git a/tdeprint/management/kmwsocketutil.cpp b/tdeprint/management/kmwsocketutil.cpp
index 02b0a6b69..27c7bba47 100644
--- a/tdeprint/management/kmwsocketutil.cpp
+++ b/tdeprint/management/kmwsocketutil.cpp
@@ -58,7 +58,7 @@ SocketConfig::SocketConfig(KMWSocketUtil *util, TQWidget *parent, const char *na
mm->setFixedWidth(fontMetrics().width(mm->text())+10);
mask_ = new TQLineEdit(dummy);
- mask_->setAlignment(Qt::AlignRight);
+ mask_->setAlignment(TQt::AlignRight);
port_ = new TQComboBox(true,dummy);
if ( port_->lineEdit() )
port_->lineEdit()->setValidator( val );
diff --git a/tdeprint/management/kxmlcommanddlg.cpp b/tdeprint/management/kxmlcommanddlg.cpp
index 1fe9a51f2..5f6b6032d 100644
--- a/tdeprint/management/kxmlcommanddlg.cpp
+++ b/tdeprint/management/kxmlcommanddlg.cpp
@@ -125,7 +125,7 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam
m_commandlab->setBuddy(m_command);
m_persistent = new TQCheckBox( i18n( "&Persistent option" ), m_dummy );
- TQGroupBox *gb = new TQGroupBox(0, Qt::Horizontal, i18n("Va&lues"), m_dummy);
+ TQGroupBox *gb = new TQGroupBox(0, TQt::Horizontal, i18n("Va&lues"), m_dummy);
m_stack = new TQWidgetStack(gb);
TQWidget *w1 = new TQWidget(m_stack), *w2 = new TQWidget(m_stack), *w3 = new TQWidget(m_stack);
m_stack->addWidget(w1, 1);
@@ -159,8 +159,8 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam
KSeparator *sep1 = new KSeparator(KSeparator::HLine, m_dummy);
- TQGroupBox *gb_input = new TQGroupBox(0, Qt::Horizontal, i18n("&Input From"), this);
- TQGroupBox *gb_output = new TQGroupBox(0, Qt::Horizontal, i18n("O&utput To"), this);
+ TQGroupBox *gb_input = new TQGroupBox(0, TQt::Horizontal, i18n("&Input From"), this);
+ TQGroupBox *gb_output = new TQGroupBox(0, TQt::Horizontal, i18n("O&utput To"), this);
TQLabel *m_inputfilelab = new TQLabel(i18n("File:"), gb_input);
TQLabel *m_inputpipelab = new TQLabel(i18n("Pipe:"), gb_input);
TQLabel *m_outputfilelab = new TQLabel(i18n("File:"), gb_output);
@@ -201,16 +201,16 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam
l7->addStretch(1);
l0->addWidget(m_dummy, 1);
TQGridLayout *l1 = new TQGridLayout(m_dummy, 9, 2, 0, KDialog::spacingHint());
- l1->addWidget(m_desclab, 0, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l1->addWidget(m_desclab, 0, 0, TQt::AlignRight|TQt::AlignVCenter);
l1->addWidget(m_desc, 0, 1);
l1->addMultiCellWidget(sep1, 1, 1, 0, 1);
- l1->addWidget(m_namelab, 2, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l1->addWidget(m_namelab, 2, 0, TQt::AlignRight|TQt::AlignVCenter);
l1->addWidget(m_name, 2, 1);
- l1->addWidget(m_typelab, 3, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l1->addWidget(m_typelab, 3, 0, TQt::AlignRight|TQt::AlignVCenter);
l1->addWidget(m_type, 3, 1);
- l1->addWidget(m_formatlab, 4, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l1->addWidget(m_formatlab, 4, 0, TQt::AlignRight|TQt::AlignVCenter);
l1->addWidget(m_format, 4, 1);
- l1->addWidget(m_defaultlab, 5, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l1->addWidget(m_defaultlab, 5, 0, TQt::AlignRight|TQt::AlignVCenter);
l1->addWidget(m_default, 5, 1);
l1->addWidget( m_persistent, 6, 1 );
l1->addMultiCellWidget(gb, 7, 7, 0, 1);
@@ -225,8 +225,8 @@ KXmlCommandAdvancedDlg::KXmlCommandAdvancedDlg(TQWidget *parent, const char *nam
l6->addStretch(1);
TQGridLayout *l5 = new TQGridLayout(w1, 3, 2, 0, KDialog::spacingHint());
l5->setRowStretch(2, 1);
- l5->addWidget(m_editlab1, 0, 0, Qt::AlignRight|Qt::AlignVCenter);
- l5->addWidget(m_editlab2, 1, 0, Qt::AlignRight|Qt::AlignVCenter);
+ l5->addWidget(m_editlab1, 0, 0, TQt::AlignRight|TQt::AlignVCenter);
+ l5->addWidget(m_editlab2, 1, 0, TQt::AlignRight|TQt::AlignVCenter);
l5->addWidget(m_edit1, 0, 1);
l5->addWidget(m_edit2, 1, 1);
@@ -836,8 +836,8 @@ KXmlCommandDlg::KXmlCommandDlg(TQWidget *parent, const char *name)
TQWidget *dummy = new TQWidget(this, "TopDetail");
TQWidget *topmain = new TQWidget(this, "TopMain");
- TQGroupBox *m_gb1 = new TQGroupBox(0, Qt::Horizontal, i18n("Supported &Input Formats"), dummy);
- TQGroupBox *m_gb2 = new TQGroupBox(0, Qt::Horizontal, i18n("Requirements"), topmain);
+ TQGroupBox *m_gb1 = new TQGroupBox(0, TQt::Horizontal, i18n("Supported &Input Formats"), dummy);
+ TQGroupBox *m_gb2 = new TQGroupBox(0, TQt::Horizontal, i18n("Requirements"), topmain);
m_description = new TQLineEdit(topmain);
m_idname = new TQLabel(topmain);
diff --git a/tdeprint/management/kxmlcommandselector.cpp b/tdeprint/management/kxmlcommandselector.cpp
index 95f2b94a7..135904231 100644
--- a/tdeprint/management/kxmlcommandselector.cpp
+++ b/tdeprint/management/kxmlcommandselector.cpp
@@ -91,7 +91,7 @@ KXmlCommandSelector::KXmlCommandSelector(bool canBeNull, TQWidget *parent, const
l1->addWidget(m_line);
l1->addWidget(m_browse);
- KSeparator *sep = new KSeparator(Qt::Horizontal, this);
+ KSeparator *sep = new KSeparator(TQt::Horizontal, this);
l0->addWidget(sep);
}
else
diff --git a/tdeprint/management/networkscanner.cpp b/tdeprint/management/networkscanner.cpp
index ec859dc63..aa0648e6b 100644
--- a/tdeprint/management/networkscanner.cpp
+++ b/tdeprint/management/networkscanner.cpp
@@ -344,7 +344,7 @@ NetworkScannerConfig::NetworkScannerConfig(NetworkScanner *scanner, const char *
mm->setFixedWidth(fontMetrics().width(mm->text())+10);
mask_ = new TQLineEdit(dummy);
- mask_->setAlignment(Qt::AlignRight);
+ mask_->setAlignment(TQt::AlignRight);
port_ = new TQComboBox(true,dummy);
if ( port_->lineEdit() )
port_->lineEdit()->setValidator( val );
diff --git a/tdeprint/marginpreview.cpp b/tdeprint/marginpreview.cpp
index 45f70b7f1..20fa3574b 100644
--- a/tdeprint/marginpreview.cpp
+++ b/tdeprint/marginpreview.cpp
@@ -37,16 +37,16 @@
static void draw3DPage(TQPainter *p, TQRect r)
{
// draw white page
- p->fillRect(r,Qt::white);
+ p->fillRect(r,TQt::white);
// draw 3D border
- p->setPen(Qt::black);
+ p->setPen(TQt::black);
p->moveTo(r.left(),r.bottom());
p->lineTo(r.right(),r.bottom());
p->lineTo(r.right(),r.top());
- p->setPen(Qt::darkGray);
+ p->setPen(TQt::darkGray);
p->lineTo(r.left(),r.top());
p->lineTo(r.left(),r.bottom());
- p->setPen(Qt::gray);
+ p->setPen(TQt::gray);
p->moveTo(r.left()+1,r.bottom()-1);
p->lineTo(r.right()-1,r.bottom()-1);
p->lineTo(r.right()-1,r.top()+1);
@@ -189,7 +189,7 @@ void MarginPreview::mouseMoveEvent(TQMouseEvent *e)
if (nopreview_ || state_ == Fixed)
return;
int pos = locateMouse(e->pos());
- if (state_ == None && e->button() == Qt::NoButton)
+ if (state_ == None && e->button() == TQt::NoButton)
{
switch (pos)
{
@@ -262,7 +262,7 @@ void MarginPreview::drawTempLine(TQPainter *p)
void MarginPreview::mousePressEvent(TQMouseEvent *e)
{
- if (e->button() != Qt::LeftButton || state_ != None)
+ if (e->button() != TQt::LeftButton || state_ != None)
return;
int mpos = locateMouse(e->pos());
if (mpos)
diff --git a/tdeprint/marginwidget.cpp b/tdeprint/marginwidget.cpp
index c483be123..f00b37b10 100644
--- a/tdeprint/marginwidget.cpp
+++ b/tdeprint/marginwidget.cpp
@@ -155,10 +155,10 @@ MarginWidget::MarginWidget(TQWidget *parent, const char* name, bool allowMetricU
TQWhatsThis::add(m_left, whatsThisLeftMarginWidget);
m_right = new MarginValueWidget(m_left, 0.0, this);
TQWhatsThis::add(m_right, whatsThisRightMarginWidget);
- m_top->setLabel(i18n("&Top:"), Qt::AlignLeft|Qt::AlignVCenter);
- m_bottom->setLabel(i18n("&Bottom:"), Qt::AlignLeft|Qt::AlignVCenter);
- m_left->setLabel(i18n("Le&ft:"), Qt::AlignLeft|Qt::AlignVCenter);
- m_right->setLabel(i18n("&Right:"), Qt::AlignLeft|Qt::AlignVCenter);
+ m_top->setLabel(i18n("&Top:"), TQt::AlignLeft|TQt::AlignVCenter);
+ m_bottom->setLabel(i18n("&Bottom:"), TQt::AlignLeft|TQt::AlignVCenter);
+ m_left->setLabel(i18n("Le&ft:"), TQt::AlignLeft|TQt::AlignVCenter);
+ m_right->setLabel(i18n("&Right:"), TQt::AlignLeft|TQt::AlignVCenter);
m_units = new TQComboBox(this);
TQWhatsThis::add(m_units, whatsThisMeasurementUnitMarginWidget);
m_units->insertItem(i18n("Pixels (1/72nd in)"));
diff --git a/tdeprint/posterpreview.cpp b/tdeprint/posterpreview.cpp
index 80f9b1f81..99f2e6a2b 100644
--- a/tdeprint/posterpreview.cpp
+++ b/tdeprint/posterpreview.cpp
@@ -144,9 +144,9 @@ void PosterPreview::drawContents( TQPainter *painter )
if ( pw > 0 && ph > 0 )
p->fillRect( x+m_mw+px, y+m_mh+py, TQMIN( pw, m_pw-2*m_mw-px ), TQMIN( ph, m_ph-2*m_mh-py ),
( selected ? TQColor(TDEGlobalSettings::highlightColor().dark( 160 )) : lightGray ) );
- p->setPen( Qt::DotLine );
+ p->setPen( TQt::DotLine );
p->drawRect( x+m_mw, y+m_mh, m_pw-2*m_mw, m_ph-2*m_mh );
- p->setPen( Qt::SolidLine );
+ p->setPen( TQt::SolidLine );
pw -= m_pw-2*m_mw-px;
px = 0;
@@ -177,7 +177,7 @@ void PosterPreview::mouseMoveEvent( TQMouseEvent *e )
void PosterPreview::mousePressEvent( TQMouseEvent *e )
{
- if ( e->button() == Qt::LeftButton && m_boundingrect.isValid() )
+ if ( e->button() == TQt::LeftButton && m_boundingrect.isValid() )
{
if ( m_boundingrect.contains( e->pos() ) )
{
diff --git a/tdeprint/rlpr/kmproxywidget.cpp b/tdeprint/rlpr/kmproxywidget.cpp
index 870da43c4..984880190 100644
--- a/tdeprint/rlpr/kmproxywidget.cpp
+++ b/tdeprint/rlpr/kmproxywidget.cpp
@@ -29,7 +29,7 @@
#include <kcursor.h>
KMProxyWidget::KMProxyWidget(TQWidget *parent, const char *name)
-: TQGroupBox(0, Qt::Vertical, i18n("Proxy Settings"), parent, name)
+: TQGroupBox(0, TQt::Vertical, i18n("Proxy Settings"), parent, name)
{
TQLabel *m_hostlabel = new TQLabel(i18n("&Host:"), this);
TQLabel *m_portlabel = new TQLabel(i18n("&Port:"), this);
diff --git a/tdeprint/tests/drawdemo.cpp b/tdeprint/tests/drawdemo.cpp
index e60aae845..3dce8cacc 100644
--- a/tdeprint/tests/drawdemo.cpp
+++ b/tdeprint/tests/drawdemo.cpp
@@ -28,7 +28,7 @@ void drawColorWheel( TQPainter *p )
{
TQFont f( "times", 18, TQFont::Bold );
p->setFont( f );
- p->setPen( Qt::black );
+ p->setPen( TQt::black );
p->setWindow( 0, 0, 500, 500 ); // defines coordinate system
for ( int i=0; i<36; i++ ) { // draws 36 rotated rectangles
@@ -83,12 +83,12 @@ void drawFonts( TQPainter *p )
void drawShapes( TQPainter *p )
{
- TQBrush b1( Qt::blue );
- TQBrush b2( Qt::green, Qt::Dense6Pattern ); // green 12% fill
- TQBrush b3( Qt::NoBrush ); // void brush
- TQBrush b4( Qt::CrossPattern ); // black cross pattern
+ TQBrush b1( TQt::blue );
+ TQBrush b2( TQt::green, TQt::Dense6Pattern ); // green 12% fill
+ TQBrush b3( TQt::NoBrush ); // void brush
+ TQBrush b4( TQt::CrossPattern ); // black cross pattern
- p->setPen( Qt::red );
+ p->setPen( TQt::red );
p->setBrush( b1 );
p->drawRect( 10, 10, 200, 100 );
p->setBrush( b2 );
diff --git a/tdeprint/treecombobox.cpp b/tdeprint/treecombobox.cpp
index 5cee0cacc..1cbbb0c72 100644
--- a/tdeprint/treecombobox.cpp
+++ b/tdeprint/treecombobox.cpp
@@ -123,7 +123,7 @@ void TreeListBoxItem::paint(TQPainter *p)
p->drawPixmap(xo, yo, *pix);
xo += (pix->width() + 2);
}
- p->drawText(xo, 0, r.width()-xo, height(listBox()), Qt::AlignLeft, m_path[m_depth]);
+ p->drawText(xo, 0, r.width()-xo, height(listBox()), TQt::AlignLeft, m_path[m_depth]);
}
//-----------------------------------------------------------------------------------------