Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/forms/widgets/kexidbcombobox.cpp
Show First 20 Lines • Show All 459 Lines • ▼ Show 20 Line(s) | |||||
460 | void KexiDBComboBox::setPaletteBackgroundColor(const QColor & color) | 460 | void KexiDBComboBox::setPaletteBackgroundColor(const QColor & color) | ||
461 | { | 461 | { | ||
462 | KexiDBAutoField::setPaletteBackgroundColor(color); | 462 | KexiDBAutoField::setPaletteBackgroundColor(color); | ||
463 | update(); | 463 | update(); | ||
464 | } | 464 | } | ||
465 | 465 | | |||
466 | bool KexiDBComboBox::valueChanged() | 466 | bool KexiDBComboBox::valueChanged() | ||
467 | { | 467 | { | ||
468 | //qDebug() << KexiDataItemInterface::originalValue().toString() << " ? " << value().toString(); | 468 | //qDebug() << KexiDataItemInterface::originalValue().toString() << "?" << value().toString(); | ||
469 | return KexiDataItemInterface::originalValue() != value(); | 469 | return KexiDataItemInterface::originalValue() != value(); | ||
470 | } | 470 | } | ||
471 | 471 | | |||
472 | void KexiDBComboBox::setColumnInfo(KDbConnection *conn, KDbQueryColumnInfo* cinfo) | 472 | void KexiDBComboBox::setColumnInfo(KDbConnection *conn, KDbQueryColumnInfo* cinfo) | ||
473 | { | 473 | { | ||
474 | d->connection = conn; | 474 | d->connection = conn; | ||
475 | KexiFormDataItemInterface::setColumnInfo(conn, cinfo); | 475 | KexiFormDataItemInterface::setColumnInfo(conn, cinfo); | ||
476 | } | 476 | } | ||
▲ Show 20 Lines • Show All 138 Lines • Show Last 20 Lines |