summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kiviooptionsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/kiviooptionsdialog.cpp')
-rw-r--r--kivio/kiviopart/ui/kiviooptionsdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kivio/kiviopart/ui/kiviooptionsdialog.cpp b/kivio/kiviopart/ui/kiviooptionsdialog.cpp
index 4bd6fd62..23900894 100644
--- a/kivio/kiviopart/ui/kiviooptionsdialog.cpp
+++ b/kivio/kiviopart/ui/kiviooptionsdialog.cpp
@@ -45,7 +45,7 @@
#include <tqcombobox.h>
#include <tqcheckbox.h>
#include <tqradiobutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtabwidget.h>
// GuidesListViewItem::GuidesListViewItem(TQListView* parent, KivioGuideLineData *gd, KoUnit::Unit u)
@@ -111,23 +111,23 @@ void KivioOptionsDialog::initPage()
m_unitCombo->insertStringList(KoUnit::listOfUnitName());
m_unitCombo->setCurrentItem(unit);
unitLbl->setBuddy(m_unitCombo);
- TQLabel* layoutLbl = new TQLabel(i18n("Default layout:"), page);
+ TQLabel* layoutLbl = new TQLabel(i18n("Default tqlayout:"), page);
m_layoutTxtLbl = new TQLabel(page);
m_layoutTxtLbl->setFrameStyle(TQFrame::LineEditPanel | TQFrame::Sunken);
- m_layoutTxtLbl->setSizePolicy(TQSizePolicy(
+ m_layoutTxtLbl->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Minimum, TQSizePolicy::Fixed));
setLayoutText(m_layout);
KPushButton* layoutBtn = new KPushButton(i18n("Change..."), page);
- layoutBtn->setSizePolicy(TQSizePolicy(
+ layoutBtn->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Fixed, TQSizePolicy::Fixed));
TQLabel* fontLbl = new TQLabel(i18n("Default font:"), page);
m_fontTxtLbl = new TQLabel(page);
m_fontTxtLbl->setFrameStyle(TQFrame::LineEditPanel | TQFrame::Sunken);
- m_fontTxtLbl->setSizePolicy(TQSizePolicy(
+ m_fontTxtLbl->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Minimum, TQSizePolicy::Fixed));
setFontText(m_font);
KPushButton* fontBtn = new KPushButton(i18n("Change..."), page);
- layoutBtn->setSizePolicy(TQSizePolicy(
+ layoutBtn->tqsetSizePolicy(TQSizePolicy(
TQSizePolicy::Fixed, TQSizePolicy::Fixed));
m_marginsChBox = new TQCheckBox(i18n("Show page &margins"), page);
m_marginsChBox->setChecked(view->isShowPageMargins());
@@ -260,9 +260,9 @@ void KivioOptionsDialog::defaultGrid()
void KivioOptionsDialog::setLayoutText(const KoPageLayout& l)
{
KoUnit::Unit unit = static_cast<KoUnit::Unit>(m_unitCombo->currentItem());
- TQString txt = i18n("Format: %1, Width: %2 %4, Height: %3 %5").arg(
- KoPageFormat::formatString(l.format)).arg(KoUnit::toUserValue(l.ptWidth, unit))
- .arg(KoUnit::toUserValue(l.ptHeight, unit)).arg(KoUnit::unitName(unit)).arg(
+ TQString txt = i18n("Format: %1, Width: %2 %4, Height: %3 %5").tqarg(
+ KoPageFormat::formatString(l.format)).tqarg(KoUnit::toUserValue(l.ptWidth, unit))
+ .tqarg(KoUnit::toUserValue(l.ptHeight, unit)).tqarg(KoUnit::unitName(unit)).tqarg(
KoUnit::unitName(unit));
m_layoutTxtLbl->setText(txt);
}