diff options
Diffstat (limited to 'kword/KWStartupWidget.cpp')
-rw-r--r-- | kword/KWStartupWidget.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kword/KWStartupWidget.cpp b/kword/KWStartupWidget.cpp index fe22f534..644eca2b 100644 --- a/kword/KWStartupWidget.cpp +++ b/kword/KWStartupWidget.cpp @@ -23,41 +23,41 @@ #include <KoPageLayoutColumns.h> #include <kdebug.h> -#include <qpushbutton.h> -#include <qcheckbox.h> -#include <qlayout.h> +#include <tqpushbutton.h> +#include <tqcheckbox.h> +#include <tqlayout.h> -KWStartupWidget::KWStartupWidget(QWidget *parent, KWDocument *doc, const KoColumns &columns) - : KWStartupWidgetBase(parent) { +KWStartupWidget::KWStartupWidget(TQWidget *tqparent, KWDocument *doc, const KoColumns &columns) + : KWStartupWidgetBase(tqparent) { m_columns = columns; m_layout = KoPageLayout::standardLayout(); m_doc = doc; setFocusProxy(m_createButton); - QVBoxLayout *lay = new QVBoxLayout(m_sizeTab, KDialog::marginHint()); + TQVBoxLayout *lay = new TQVBoxLayout(m_sizeTab, KDialog::marginHint()); m_sizeWidget = new KoPageLayoutSize(m_sizeTab, m_layout, m_doc->unit(), m_columns , true, true); lay->addWidget(m_sizeWidget); - lay = new QVBoxLayout(m_columnsTab, KDialog::marginHint()); + lay = new TQVBoxLayout(m_columnsTab, KDialog::marginHint()); m_columnsWidget = new KoPageLayoutColumns(m_columnsTab, m_columns, m_doc->unit(), m_layout); lay->addWidget(m_columnsWidget); - connect (m_columnsWidget, SIGNAL( propertyChange(KoColumns&)), - this, SLOT (columnsUpdated( KoColumns&))); + connect (m_columnsWidget, TQT_SIGNAL( propertyChange(KoColumns&)), + this, TQT_SLOT (columnsUpdated( KoColumns&))); - connect (m_sizeWidget, SIGNAL( propertyChange(KoPageLayout&)), - this, SLOT (sizeUpdated( KoPageLayout&))); + connect (m_sizeWidget, TQT_SIGNAL( propertyChange(KoPageLayout&)), + this, TQT_SLOT (sizeUpdated( KoPageLayout&))); - connect (m_createButton, SIGNAL( clicked() ), this, SLOT (buttonClicked()) ); + connect (m_createButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT (buttonClicked()) ); - connect (m_WpStyleCheckbox, SIGNAL(toggled(bool)), m_sizeWidget, SLOT(setEnableBorders(bool))); - connect (m_WpStyleCheckbox, SIGNAL(toggled(bool)), m_columnsWidget, SLOT(setEnableColumns(bool))); + connect (m_WpStyleCheckbox, TQT_SIGNAL(toggled(bool)), m_sizeWidget, TQT_SLOT(setEnableBorders(bool))); + connect (m_WpStyleCheckbox, TQT_SIGNAL(toggled(bool)), m_columnsWidget, TQT_SLOT(setEnableColumns(bool))); } -void KWStartupWidget::sizeUpdated(KoPageLayout &layout) { - m_layout = layout; - m_columnsWidget->setLayout(layout); +void KWStartupWidget::sizeUpdated(KoPageLayout &tqlayout) { + m_layout = tqlayout; + m_columnsWidget->setLayout(tqlayout); } void KWStartupWidget::columnsUpdated(KoColumns &columns) { |