diff options
author | Michele Calgaro <[email protected]> | 2019-05-28 23:09:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-05-28 23:09:09 +0900 |
commit | 04a12485219f38e113932e8aa20b6bc12d8fa715 (patch) | |
tree | 68ee6acef9dfadc11fe8bd4d94f52d020cd8b7a1 /kexi/formeditor/editlistviewdialog.cpp | |
parent | 03eee956313fe6172f719669a1bd3d5739e023ba (diff) | |
download | koffice-04a12485219f38e113932e8aa20b6bc12d8fa715.tar.gz koffice-04a12485219f38e113932e8aa20b6bc12d8fa715.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/formeditor/editlistviewdialog.cpp')
-rw-r--r-- | kexi/formeditor/editlistviewdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/editlistviewdialog.cpp b/kexi/formeditor/editlistviewdialog.cpp index 44bc8096..5dfc176a 100644 --- a/kexi/formeditor/editlistviewdialog.cpp +++ b/kexi/formeditor/editlistviewdialog.cpp @@ -109,9 +109,9 @@ EditListViewDialog::EditListViewDialog(TQWidget *parent) m_propSet = new KoProperty::Set(TQT_TQOBJECT(this), "columns"); m_propSet->addProperty(new KoProperty::Property("caption", "Caption", i18n("Caption"),i18n("Caption"))); m_propSet->addProperty(new KoProperty::Property("width", 100, i18n("Width"), i18n("Width"))); - m_propSet->addProperty(new KoProperty::Property("clickable", TQVariant(true, 3), i18n("Clickable"), i18n("Clickable") )); - m_propSet->addProperty(new KoProperty::Property("resizable", TQVariant(true, 3), i18n("Resizable"), i18n("Resizable") )); - m_propSet->addProperty(new KoProperty::Property("fullwidth", TQVariant(false, 3), i18n("Full Width"), i18n("Full Width") )); + m_propSet->addProperty(new KoProperty::Property("clickable", TQVariant(true), i18n("Clickable"), i18n("Clickable") )); + m_propSet->addProperty(new KoProperty::Property("resizable", TQVariant(true), i18n("Resizable"), i18n("Resizable") )); + m_propSet->addProperty(new KoProperty::Property("fullwidth", TQVariant(false), i18n("Full Width"), i18n("Full Width") )); m_editor->changeSet(m_propSet); connect(m_propSet, TQT_SIGNAL(propertyChanged(KoProperty::Set & KoProperty::Property&)), this, TQT_SLOT(changeProperty(KoProperty::Set & KoProperty::Property&))); @@ -256,9 +256,9 @@ EditListViewDialog::updateItemProperties(TQListBoxItem *item) m_propSet->blockSignals(true); // we don't want changeProperty to be called (*m_propSet)["caption"].setValue(m_listview->columnText(id), false); (*m_propSet)["width"].setValue(m_listview->columnWidth(id), false); - (*m_propSet)["clickable"].setValue(TQVariant(m_listview->header()->isClickEnabled(id), 4), false); - (*m_propSet)["resizable"].setValue(TQVariant(m_listview->header()->isResizeEnabled(id), 4), false); - (*m_propSet)["fullwidth"].setValue(TQVariant(m_listview->header()->isStretchEnabled(id), 4), false); + (*m_propSet)["clickable"].setValue(TQVariant(m_listview->header()->isClickEnabled(id)), false); + (*m_propSet)["resizable"].setValue(TQVariant(m_listview->header()->isResizeEnabled(id)), false); + (*m_propSet)["fullwidth"].setValue(TQVariant(m_listview->header()->isStretchEnabled(id)), false); m_propSet->blockSignals(false); m_editor->changeSet(m_propSet); } |