From b45817ccac7985d286c754b95f40eda5e105efda Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:55:43 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 59d9dbf810de71334e1173fa7dda59209c10032c. --- src/iconsviewsettingspage.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/iconsviewsettingspage.cpp') diff --git a/src/iconsviewsettingspage.cpp b/src/iconsviewsettingspage.cpp index 570b961..9271bbb 100644 --- a/src/iconsviewsettingspage.cpp +++ b/src/iconsviewsettingspage.cpp @@ -63,11 +63,11 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode, TQHBox* sizesLayout = new TQHBox(this); sizesLayout->setSpacing(spacing); - sizesLayout->setSizePolicy(sizePolicy); + sizesLayout->tqsetSizePolicy(sizePolicy); // create 'Icon Size' group including slider and preview TQGroupBox* iconSizeGroup = new TQGroupBox(2, Qt::Vertical, i18n("Icon Size"), sizesLayout); - iconSizeGroup->setSizePolicy(sizePolicy); + iconSizeGroup->tqsetSizePolicy(sizePolicy); iconSizeGroup->setMargin(margin); const TQColor iconBackgroundColor(KGlobalSettings::baseColor()); @@ -91,7 +91,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode, if (m_mode == DolphinIconsView::Previews) { // create 'Preview Size' group including slider and preview TQGroupBox* previewSizeGroup = new TQGroupBox(2, Qt::Vertical, i18n("Preview Size"), sizesLayout); - previewSizeGroup->setSizePolicy(sizePolicy); + previewSizeGroup->tqsetSizePolicy(sizePolicy); previewSizeGroup->setMargin(margin); TQHBox* previewSizeVBox = new TQHBox(previewSizeGroup); @@ -113,7 +113,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode, } TQGroupBox* textGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Text"), this); - textGroup->setSizePolicy(sizePolicy); + textGroup->tqsetSizePolicy(sizePolicy); textGroup->setMargin(margin); new TQLabel(i18n("Font family:"), textGroup); @@ -135,7 +135,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode, m_textWidthBox->insertItem(i18n("Large")); TQGroupBox* gridGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Grid"), this); - gridGroup->setSizePolicy(sizePolicy); + gridGroup->tqsetSizePolicy(sizePolicy); gridGroup->setMargin(margin); const bool leftToRightArrangement = (settings->arrangement() == TQIconView::LeftToRight); @@ -153,7 +153,7 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode, m_gridSpacingBox->setCurrentItem((settings->gridSpacing() - GRID_SPACING_BASE) / GRID_SPACING_INC); // Add a dummy widget with no restriction regarding - // a vertical resizing. This assures that the dialog layout + // a vertical resizing. This assures that the dialog tqlayout // is not stretched vertically. new TQWidget(this); -- cgit v1.2.1