From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001
From: tpearson The \'blackplot\' option specifies that all pens should plot in black-only:"
" The default is to use the colors defined in the plot file, or the standard "
@@ -45,7 +45,7 @@ KPHpgl2Page::KPHpgl2Page(QWidget *parent, const char *name)
" The 'fitplot' option specifies that the HP-GL image should be scaled to fill "
" exactly the page with the (elsewhere selected) media size.
The pen width value can be set here in case the original HP-GL file does not have it " " set. The pen width specifies the value in micrometers. The default value of 1000 produces " @@ -82,7 +82,7 @@ KPHpgl2Page::KPHpgl2Page(QWidget *parent, const char *name) "
" "All options on this page are only applicable if you use KDEPrint to send HP-GL and " " HP-GL/2 files to one of your printers.
" @@ -110,36 +110,36 @@ KPHpgl2Page::KPHpgl2Page(QWidget *parent, const char *name) setTitle("HP-GL/2"); - QGroupBox *box = new QGroupBox(0, Qt::Vertical, i18n("HP-GL/2 Options"), this); + QGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("HP-GL/2 Options"), this); - m_blackplot = new QCheckBox(i18n("&Use only black pen"), box); - QWhatsThis::add(m_blackplot, whatsThisBlackplotHpgl2Page); + m_blackplot = new TQCheckBox(i18n("&Use only black pen"), box); + TQWhatsThis::add(m_blackplot, whatsThisBlackplotHpgl2Page); - m_fitplot = new QCheckBox(i18n("&Fit plot to page"), box); - QWhatsThis::add(m_fitplot, whatsThisFitplotHpgl2Page); + m_fitplot = new TQCheckBox(i18n("&Fit plot to page"), box); + TQWhatsThis::add(m_fitplot, whatsThisFitplotHpgl2Page); m_penwidth = new KIntNumInput(1000, box); m_penwidth->setLabel(i18n("&Pen width:"), Qt::AlignLeft|Qt::AlignVCenter); m_penwidth->setSuffix(" [um]"); m_penwidth->setRange(0, 10000, 100, true); - QWhatsThis::add(m_penwidth, whatsThisPenwidthHpgl2Page); + TQWhatsThis::add(m_penwidth, whatsThisPenwidthHpgl2Page); - QVBoxLayout *l0 = new QVBoxLayout(this, 0, 10); + QVBoxLayout *l0 = new TQVBoxLayout(this, 0, 10); l0->addWidget(box); l0->addStretch(1); - QVBoxLayout *l1 = new QVBoxLayout(box->layout(), 10); + QVBoxLayout *l1 = new TQVBoxLayout(box->layout(), 10); l1->addWidget(m_blackplot); l1->addWidget(m_fitplot); l1->addWidget(m_penwidth); - QWhatsThis::add(this, whatsThisAllOptionsHpgl2Page); + TQWhatsThis::add(this, whatsThisAllOptionsHpgl2Page); } KPHpgl2Page::~KPHpgl2Page() { } -void KPHpgl2Page::setOptions(const QMap