diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-28 23:09:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-28 23:09:09 +0900 |
commit | 04a12485219f38e113932e8aa20b6bc12d8fa715 (patch) | |
tree | 68ee6acef9dfadc11fe8bd4d94f52d020cd8b7a1 /kexi/formeditor/widgetpropertyset.cpp | |
parent | 03eee956313fe6172f719669a1bd3d5739e023ba (diff) | |
download | koffice-04a12485.tar.gz koffice-04a12485.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/widgetpropertyset.cpp')
-rw-r--r-- | kexi/formeditor/widgetpropertyset.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/widgetpropertyset.cpp b/kexi/formeditor/widgetpropertyset.cpp index 74b1a4f62..64c611124 100644 --- a/kexi/formeditor/widgetpropertyset.cpp +++ b/kexi/formeditor/widgetpropertyset.cpp @@ -378,7 +378,7 @@ WidgetPropertySet::createPropertiesForWidget(TQWidget *w) } (*this)["name"].setAutoSync(false); // name should be updated only when pressing Enter - (*this)["enabled"].setValue( TQVariant(tree->isEnabled(), 3)); + (*this)["enabled"].setValue( TQVariant(tree->isEnabled())); if (winfo) { form->library()->setPropertyOptions(*this, *winfo, w); @@ -664,7 +664,7 @@ WidgetPropertySet::saveEnabledProperty(bool value) (*it)->setPalette(p); tree->setEnabled(value); - emit widgetPropertyChanged((*it), "enabled", TQVariant(value, 3)); + emit widgetPropertyChanged((*it), "enabled", TQVariant(value)); } } @@ -837,7 +837,7 @@ WidgetPropertySet::createAlignProperty(const TQMetaProperty *meta, TQWidget *wid ) { // Create the wordbreak property KoProperty::Property *p = new KoProperty::Property("wordbreak", - TQVariant(alignment & TQt::WordBreak, 3), i18n("Word Break"), i18n("Word Break") ); + TQVariant(alignment & TQt::WordBreak), i18n("Word Break"), i18n("Word Break") ); d->set.addProperty(p); updatePropertyValue(tree, "wordbreak"); if (!KFormDesigner::FormManager::self()->activeForm()->library()->isPropertyVisible( |