summaryrefslogtreecommitdiffstats
path: root/tdeprint/kpcopiespage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kpcopiespage.cpp')
-rw-r--r--tdeprint/kpcopiespage.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeprint/kpcopiespage.cpp b/tdeprint/kpcopiespage.cpp
index 27b647208..7a305345c 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);
@@ -175,19 +175,19 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
TQWhatsThis::add(m_range, whatsThisPageRangeLabel);
m_rangeedit = new TQLineEdit(m_pagebox);
TQWhatsThis::add(m_rangeedit, whatsThisPageRangeLabel);
- connect(m_range, TQT_SIGNAL(clicked()), m_rangeedit, TQT_SLOT(setFocus()));
+ connect(m_range, TQ_SIGNAL(clicked()), m_rangeedit, TQ_SLOT(setFocus()));
TQToolTip::add(m_rangeedit, i18n("<p>Enter pages or group of pages to print separated by commas (1,2-5,8).</p>"));
// 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 );
@@ -221,7 +221,7 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
l1->setColStretch(1,1);
l1->addWidget(m_pagebox,0,0);
l1->addWidget(m_copybox,0,1);
- TQVBoxLayout *l3 = new TQVBoxLayout(TQT_TQLAYOUT(m_pagebox->layout()), 5);
+ TQVBoxLayout *l3 = new TQVBoxLayout(m_pagebox->layout(), 5);
l3->addWidget(m_all);
l3->addWidget(m_current);
TQHBoxLayout *l4 = new TQHBoxLayout(0, 0, 5);
@@ -249,11 +249,11 @@ KPCopiesPage::KPCopiesPage(KPrinter *prt, TQWidget *parent, const char *name)
slotCollateClicked();
// connections
- connect(m_rangeedit,TQT_SIGNAL(textChanged(const TQString&)),TQT_SLOT(slotRangeEntered()));
- connect(m_collate,TQT_SIGNAL(clicked()),TQT_SLOT(slotCollateClicked()));
- connect(m_order,TQT_SIGNAL(clicked()),TQT_SLOT(slotCollateClicked()));
+ connect(m_rangeedit,TQ_SIGNAL(textChanged(const TQString&)),TQ_SLOT(slotRangeEntered()));
+ connect(m_collate,TQ_SIGNAL(clicked()),TQ_SLOT(slotCollateClicked()));
+ connect(m_order,TQ_SIGNAL(clicked()),TQ_SLOT(slotCollateClicked()));
- if (!kapp->authorize("print/copies"))
+ if (!tdeApp->authorize("print/copies"))
{
setTitle(i18n("Pages"));
m_copybox->hide();