diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:29:36 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:29:36 -0600 |
commit | 59d9dbf810de71334e1173fa7dda59209c10032c (patch) | |
tree | 9091f90565a6b444b49d6624fb9a833930b818fc /src/iconsviewsettingspage.cpp | |
parent | 6f9ad886fd16b883bed1f6fa731bd709de0afb9c (diff) | |
download | dolphin-59d9dbf810de71334e1173fa7dda59209c10032c.tar.gz dolphin-59d9dbf810de71334e1173fa7dda59209c10032c.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/iconsviewsettingspage.cpp')
-rw-r--r-- | src/iconsviewsettingspage.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/iconsviewsettingspage.cpp b/src/iconsviewsettingspage.cpp index 9271bbb..570b961 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->tqsetSizePolicy(sizePolicy); + sizesLayout->setSizePolicy(sizePolicy); // create 'Icon Size' group including slider and preview TQGroupBox* iconSizeGroup = new TQGroupBox(2, Qt::Vertical, i18n("Icon Size"), sizesLayout); - iconSizeGroup->tqsetSizePolicy(sizePolicy); + iconSizeGroup->setSizePolicy(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->tqsetSizePolicy(sizePolicy); + previewSizeGroup->setSizePolicy(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->tqsetSizePolicy(sizePolicy); + textGroup->setSizePolicy(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->tqsetSizePolicy(sizePolicy); + gridGroup->setSizePolicy(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 tqlayout + // a vertical resizing. This assures that the dialog layout // is not stretched vertically. new TQWidget(this); |