diff options
Diffstat (limited to 'kexi/plugins/tables')
-rw-r--r-- | kexi/plugins/tables/kexilookupcolumnpage.cpp | 6 | ||||
-rw-r--r-- | kexi/plugins/tables/kexitabledesignerview.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kexi/plugins/tables/kexilookupcolumnpage.cpp b/kexi/plugins/tables/kexilookupcolumnpage.cpp index 1ed65ddc..143a0392 100644 --- a/kexi/plugins/tables/kexilookupcolumnpage.cpp +++ b/kexi/plugins/tables/kexilookupcolumnpage.cpp @@ -144,7 +144,7 @@ KexiLookupColumnPage::KexiLookupColumnPage(TQWidget *parent) d->rowSourceLabel = new TQLabel(i18n("Row source:"), contents); d->rowSourceLabel->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed); d->rowSourceLabel->setMargin(2); - d->rowSourceLabel->setMinimumHeight(IconSize(KIcon::Small)+4); + d->rowSourceLabel->setMinimumHeight(IconSize(TDEIcon::Small)+4); d->rowSourceLabel->setAlignment(TQt::AlignLeft|TQt::AlignBottom); hlyr->addWidget(d->rowSourceLabel); @@ -172,7 +172,7 @@ KexiLookupColumnPage::KexiLookupColumnPage(TQWidget *parent) d->boundColumnLabel = new TQLabel(i18n("Bound column:"), contents); d->boundColumnLabel->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed); d->boundColumnLabel->setMargin(2); - d->boundColumnLabel->setMinimumHeight(IconSize(KIcon::Small)+4); + d->boundColumnLabel->setMinimumHeight(IconSize(TDEIcon::Small)+4); d->boundColumnLabel->setAlignment(TQt::AlignLeft|TQt::AlignBottom); hlyr->addWidget(d->boundColumnLabel); @@ -194,7 +194,7 @@ KexiLookupColumnPage::KexiLookupColumnPage(TQWidget *parent) d->visibleColumnLabel = new TQLabel(i18n("Visible column:"), contents); d->visibleColumnLabel->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed); d->visibleColumnLabel->setMargin(2); - d->visibleColumnLabel->setMinimumHeight(IconSize(KIcon::Small)+4); + d->visibleColumnLabel->setMinimumHeight(IconSize(TDEIcon::Small)+4); d->visibleColumnLabel->setAlignment(TQt::AlignLeft|TQt::AlignBottom); hlyr->addWidget(d->visibleColumnLabel); diff --git a/kexi/plugins/tables/kexitabledesignerview.cpp b/kexi/plugins/tables/kexitabledesignerview.cpp index 7fa1c3b3..514be26a 100644 --- a/kexi/plugins/tables/kexitabledesignerview.cpp +++ b/kexi/plugins/tables/kexitabledesignerview.cpp @@ -124,7 +124,7 @@ KexiTableDesignerView::KexiTableDesignerView(KexiMainWindow *win, TQWidget *pare i18n("Additional information about the field")); col->setIcon( KexiUtils::colorizeIconToTextColor( SmallIcon("info"), d->view->palette() ) ); col->setHeaderTextVisible(false); - col->field()->setSubType("KIcon"); + col->field()->setSubType("TDEIcon"); col->setReadOnly(true); d->data->addColumn( col ); @@ -268,7 +268,7 @@ void KexiTableDesignerView::initData() } //column widths - d->view->setColumnWidth(COLUMN_ID_ICON, IconSize( KIcon::Small ) + 10); + d->view->setColumnWidth(COLUMN_ID_ICON, IconSize( TDEIcon::Small ) + 10); d->view->adjustColumnWidthToContents(COLUMN_ID_CAPTION); //adjust column width d->view->setColumnWidth(COLUMN_ID_TYPE, d->maxTypeNameTextWidth + 2 * d->view->rowHeight()); d->view->setColumnStretchEnabled( true, COLUMN_ID_DESC ); //last column occupies the rest of the area |