diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-05-20 15:21:41 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-05-20 15:21:41 +0000 |
commit | cbed2c1000e6d6dc25ad9db4cb393595055ad3bd (patch) | |
tree | 44a2879ec96a1552dee5d31b95dbc7e782f6cc8c /app-office/kexi/files | |
parent | Re-added ~alpha keyword. (diff) | |
download | gentoo-2-cbed2c1000e6d6dc25ad9db4cb393595055ad3bd.tar.gz gentoo-2-cbed2c1000e6d6dc25ad9db4cb393595055ad3bd.tar.bz2 gentoo-2-cbed2c1000e6d6dc25ad9db4cb393595055ad3bd.zip |
Version bump.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'app-office/kexi/files')
-rw-r--r-- | app-office/kexi/files/digest-kexi-1.5.1 | 1 | ||||
-rw-r--r-- | app-office/kexi/files/kexi-1.5.1-form_plugins.patch | 56 | ||||
-rw-r--r-- | app-office/kexi/files/kexi-1.5.1-kexi_checkbox_data_saving.patch | 65 |
3 files changed, 122 insertions, 0 deletions
diff --git a/app-office/kexi/files/digest-kexi-1.5.1 b/app-office/kexi/files/digest-kexi-1.5.1 new file mode 100644 index 000000000000..9a1f91a3503c --- /dev/null +++ b/app-office/kexi/files/digest-kexi-1.5.1 @@ -0,0 +1 @@ +MD5 50897bd5dfd4eba8a0d78a02003a6ec9 koffice-1.5.1.tar.bz2 36010120 diff --git a/app-office/kexi/files/kexi-1.5.1-form_plugins.patch b/app-office/kexi/files/kexi-1.5.1-form_plugins.patch new file mode 100644 index 000000000000..a387fbef2ef1 --- /dev/null +++ b/app-office/kexi/files/kexi-1.5.1-form_plugins.patch @@ -0,0 +1,56 @@ +Index: kexi/plugins/forms/Makefile.am +=================================================================== +--- kexi/plugins/forms/Makefile.am (wersja 541836) ++++ kexi/plugins/forms/Makefile.am (kopia robocza) +@@ -23,9 +23,10 @@ + kexidataprovider.cpp kexiformscrollview.cpp kexiformeventhandler.cpp \ + kexidbtextwidgetinterface.cpp kexiactionselectiondialog.cpp kexiformmanager.cpp \ + kexidatasourcepage.cpp kexiformpart.cpp kexiformview.cpp +-libkexiformutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) -Wnounresolved ++libkexiformutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) + libkexiformutils_la_LIBADD = $(top_builddir)/kexi/core/libkexicore.la \ + $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ ++ $(top_builddir)/kexi/formeditor/libkformdesigner.la \ + $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la + + kformdesignerservicesdir=$(kde_servicesdir)/kformdesigner +Index: kexi/plugins/reports/Makefile.am +=================================================================== +--- kexi/plugins/reports/Makefile.am (wersja 541836) ++++ kexi/plugins/reports/Makefile.am (kopia robocza) +@@ -5,24 +5,29 @@ + kexihandler_report_la_SOURCES = kexireports.cpp + kexihandler_report_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module -no-undefined + kexihandler_report_la_LIBADD = ../../core/libkexicore.la \ +- ../../widget/utils/libkexiguiutils.la \ +- ../../widget/libkexiextendedwidgets.la \ +- ../../formeditor/libkformdesigner.la \ +- ../forms/libkexiformutils.la \ ++ $(top_builddir)/kexi/widget/utils/libkexiguiutils.la \ ++ $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ ++ $(top_builddir)/kexi/formeditor/libkformdesigner.la \ ++ $(top_builddir)/kexi/plugins/forms/libkexiformutils.la \ + ./libkexireportutils.la + + kexireportwidgets_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(VER_INFO) -module + kexireportwidgets_la_SOURCES = reportwidgets.cpp kexireportfactory.cpp + kexireportwidgets_la_LIBADD = $(top_builddir)/kexi/formeditor/libkformdesigner.la \ ++ $(top_builddir)/kexi/plugins/forms/libkexiformutils.la \ ++ $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la \ ++ $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ + ./libkexireportutils.la + + lib_LTLIBRARIES = libkexireportutils.la + libkexireportutils_la_SOURCES = \ + kexireportpart.cpp kexireportview.cpp kexireportform.cpp +-libkexireportutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) -Wnounresolved ++libkexireportutils_la_LDFLAGS = $(all_libraries) $(VER_INFO) + libkexireportutils_la_LIBADD = $(top_builddir)/kexi/core/libkexicore.la \ ++ $(top_builddir)/kexi/formeditor/libkformdesigner.la \ ++ $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la \ + $(top_builddir)/kexi/widget/libkexiextendedwidgets.la \ +- $(top_builddir)/kexi/plugins/forms/widgets/libkexiformutilswidgets.la ++ $(top_builddir)/kexi/plugins/forms/libkexiformutils.la + + kformdesignerservicesdir=$(kde_servicesdir)/kformdesigner + kformdesignerservices_DATA = kformdesigner_kexireportfactory.desktop diff --git a/app-office/kexi/files/kexi-1.5.1-kexi_checkbox_data_saving.patch b/app-office/kexi/files/kexi-1.5.1-kexi_checkbox_data_saving.patch new file mode 100644 index 000000000000..798a3a872111 --- /dev/null +++ b/app-office/kexi/files/kexi-1.5.1-kexi_checkbox_data_saving.patch @@ -0,0 +1,65 @@ +Index: kexi/plugins/forms/kexidataprovider.cpp +=================================================================== +--- kexi/plugins/forms/kexidataprovider.cpp (revision 542130) ++++ kexi/plugins/forms/kexidataprovider.cpp (revision 542131) +@@ -92,7 +92,8 @@ + for (KexiFormDataItemInterfaceToIntMap::ConstIterator it = m_fieldNumbersForDataItems.constBegin(); + it!=m_fieldNumbersForDataItems.constEnd(); ++it) + { +- kexipluginsdbg << "fill data of '" << it.key()->dataSource() << "' at idx=" << it.data() << endl; ++ kexipluginsdbg << "fill data of '" << it.key()->dataSource() << "' at idx=" << it.data() ++ << " data=" << row.at(it.data()) << endl; + it.key()->setValue( row.at(it.data()) ); + } + } +Index: kexi/plugins/forms/widgets/kexidbautofield.cpp +=================================================================== +--- kexi/plugins/forms/widgets/kexidbautofield.cpp (revision 542130) ++++ kexi/plugins/forms/widgets/kexidbautofield.cpp (revision 542131) +@@ -446,8 +446,11 @@ + @todo look at makeFirstCharacterUpperCaseInAutoLabels setting [bool] + (see doc/dev/settings.txt) */ + if (!text.isEmpty()) { +- realText = text[0].upper(); +- realText += (text.mid(1) + ": "); ++ realText = text[0].upper() + text.mid(1); ++ if (m_widgetType!=Boolean) { ++//! @todo ":" suffix looks weird for checkbox; remove this condition when [x] is displayed _after_ label ++ realText += ": "; ++ } + } + } + else +Index: kexi/plugins/forms/widgets/kexidbcheckbox.cpp +=================================================================== +--- kexi/plugins/forms/widgets/kexidbcheckbox.cpp (revision 542130) ++++ kexi/plugins/forms/widgets/kexidbcheckbox.cpp (revision 542131) +@@ -27,7 +27,9 @@ + : QCheckBox(text, parent, name), KexiFormDataItemInterface() + { + m_invalidState = false; ++//! todo: tristate + setTristate(true); ++ setFocusPolicy(QWidget::StrongFocus); + connect(this, SIGNAL(stateChanged(int)), this, SLOT(slotStateChanged(int))); + } + +@@ -56,13 +58,16 @@ + + void KexiDBCheckBox::setValueInternal(const QVariant &add, bool ) + { +- setState( add.isNull() ? NoChange : (add.toBool() ? On : Off) ); ++// setState( add.isNull() ? NoChange : (add.toBool() ? On : Off) ); ++ setState( m_origValue.isNull() ? NoChange : (m_origValue.toBool() ? On : Off) ); + } + + QVariant + KexiDBCheckBox::value() + { +- return QVariant( isChecked(), 3 ); ++ if (state()==NoChange) ++ return QVariant(); ++ return QVariant(state()==On, 1); + } + + void KexiDBCheckBox::slotStateChanged(int ) |