Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/forms/kexidatasourcepage.cpp
1 | /* This file is part of the KDE project | 1 | /* This file is part of the KDE project | ||
---|---|---|---|---|---|
2 | Copyright (C) 2005-2009 Jarosław Staniek <staniek@kde.org> | 2 | Copyright (C) 2005-2017 Jarosław Staniek <staniek@kde.org> | ||
3 | 3 | | |||
4 | This library is free software; you can redistribute it and/or | 4 | This library is free software; you can redistribute it and/or | ||
5 | modify it under the terms of the GNU Library General Public | 5 | modify it under the terms of the GNU Library General Public | ||
6 | License as published by the Free Software Foundation; either | 6 | License as published by the Free Software Foundation; either | ||
7 | version 2 of the License, or (at your option) any later version. | 7 | version 2 of the License, or (at your option) any later version. | ||
8 | 8 | | |||
9 | This library is distributed in the hope that it will be useful, | 9 | This library is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
▲ Show 20 Lines • Show All 436 Lines • ▼ Show 20 Line(s) | |||||
447 | #ifdef KEXI_AUTOFIELD_FORM_WIDGET_SUPPORT | 447 | #ifdef KEXI_AUTOFIELD_FORM_WIDGET_SUPPORT | ||
448 | m_fieldListView->setEnabled(hasDataSource); | 448 | m_fieldListView->setEnabled(hasDataSource); | ||
449 | m_availableFieldsLabel->setEnabled(hasDataSource); | 449 | m_availableFieldsLabel->setEnabled(hasDataSource); | ||
450 | m_mousePointerLabel->setEnabled(hasDataSource); | 450 | m_mousePointerLabel->setEnabled(hasDataSource); | ||
451 | m_availableFieldsDescriptionLabel->setEnabled(hasDataSource); | 451 | m_availableFieldsDescriptionLabel->setEnabled(hasDataSource); | ||
452 | #endif | 452 | #endif | ||
453 | } | 453 | } | ||
454 | 454 | | |||
455 | QString KexiDataSourcePage::selectedPluginId() const | ||||
456 | { | ||||
457 | return m_formDataSourceCombo->selectedPluginId(); | ||||
458 | } | ||||
459 | | ||||
460 | QString KexiDataSourcePage::selectedName() const | ||||
461 | { | ||||
462 | return m_formDataSourceCombo->selectedName(); | ||||
463 | } |