summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTemplateCreateDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:05:41 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /lib/kofficeui/KoTemplateCreateDia.cpp
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'lib/kofficeui/KoTemplateCreateDia.cpp')
-rw-r--r--lib/kofficeui/KoTemplateCreateDia.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficeui/KoTemplateCreateDia.cpp b/lib/kofficeui/KoTemplateCreateDia.cpp
index 4e8c4d0c..d2dc25f0 100644
--- a/lib/kofficeui/KoTemplateCreateDia.cpp
+++ b/lib/kofficeui/KoTemplateCreateDia.cpp
@@ -142,15 +142,15 @@ KoTemplateCreateDia::KoTemplateCreateDia( const TQCString &templateType, KInstan
TQVBoxLayout *rightbox=new TQVBoxLayout(mbox);
TQGroupBox *pixbox=new TQGroupBox(i18n("Picture"), mainwidget);
rightbox->addWidget(pixbox);
- TQVBoxLayout *pixtqlayout=new TQVBoxLayout(pixbox, KDialogBase::marginHint(),
+ TQVBoxLayout *pixlayout=new TQVBoxLayout(pixbox, KDialogBase::marginHint(),
KDialogBase::spacingHint());
pixtqlayout->addSpacing(pixbox->fontMetrics().height()/2);
- pixtqlayout->addStretch(1);
+ pixlayout->addStretch(1);
d->m_default=new TQRadioButton(i18n("&Default"), pixbox);
d->m_default->setChecked(true);
connect(d->m_default, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDefault()));
- pixtqlayout->addWidget(d->m_default);
- TQHBoxLayout *custombox=new TQHBoxLayout(pixtqlayout);
+ pixlayout->addWidget(d->m_default);
+ TQHBoxLayout *custombox=new TQHBoxLayout(pixlayout);
d->m_custom=new TQRadioButton(i18n("Custom"), pixbox);
d->m_custom->setChecked(false);
connect(d->m_custom, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCustom()));
@@ -159,15 +159,15 @@ KoTemplateCreateDia::KoTemplateCreateDia( const TQCString &templateType, KInstan
connect(d->m_select, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelect()));
custombox->addWidget(d->m_select, 1);
custombox->addStretch(1);
- pixtqlayout->addStretch(1);
+ pixlayout->addStretch(1);
label=new TQLabel(i18n("Preview:"), pixbox);
- pixtqlayout->addWidget(label);
- TQHBoxLayout *previewbox=new TQHBoxLayout(pixtqlayout);
+ pixlayout->addWidget(label);
+ TQHBoxLayout *previewbox=new TQHBoxLayout(pixlayout);
previewbox->addStretch(10);
d->m_preview=new TQLabel(pixbox); // setPixmap() -> auto resize?
previewbox->addWidget(d->m_preview);
previewbox->addStretch(10);
- pixtqlayout->addStretch(8);
+ pixlayout->addStretch(8);
d->m_defaultTemplate = new TQCheckBox( i18n("Use the new template as default"), mainwidget );
d->m_defaultTemplate->setChecked( true );