diff options
Diffstat (limited to 'src/generalsettingspage.cpp')
-rw-r--r-- | src/generalsettingspage.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/generalsettingspage.cpp b/src/generalsettingspage.cpp index f3fbebb..3af0268 100644 --- a/src/generalsettingspage.cpp +++ b/src/generalsettingspage.cpp @@ -20,7 +20,7 @@ #include "generalsettingspage.h" -#include <tqlayout.h> +#include <layout.h> #include <kdialog.h> #include <tqlabel.h> #include <tqlineedit.h> @@ -53,18 +53,18 @@ GeneralSettingsPage::GeneralSettingsPage(TQWidget* parent) : DolphinSettings& settings = DolphinSettings::instance(); TQVBox* vBox = new TQVBox(parent); - vBox->tqsetSizePolicy(sizePolicy); + vBox->setSizePolicy(sizePolicy); vBox->setSpacing(spacing); vBox->setMargin(margin); - vBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Ignored); + vBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Ignored); // create 'Home URL' editor TQGroupBox* homeGroup = new TQGroupBox(1, Qt::Horizontal, i18n("Home URL"), vBox); - homeGroup->tqsetSizePolicy(sizePolicy); + homeGroup->setSizePolicy(sizePolicy); homeGroup->setMargin(margin); TQHBox* homeURLBox = new TQHBox(homeGroup); - homeURLBox->tqsetSizePolicy(sizePolicy); + homeURLBox->setSizePolicy(sizePolicy); homeURLBox->setSpacing(spacing); new TQLabel(i18n("Location:"), homeURLBox); @@ -75,7 +75,7 @@ GeneralSettingsPage::GeneralSettingsPage(TQWidget* parent) : this, TQT_SLOT(selectHomeURL())); TQHBox* buttonBox = new TQHBox(homeGroup); - buttonBox->tqsetSizePolicy(sizePolicy); + buttonBox->setSizePolicy(sizePolicy); buttonBox->setSpacing(spacing); TQPushButton* useCurrentButton = new TQPushButton(i18n("Use current location"), buttonBox); connect(useCurrentButton, TQT_SIGNAL(clicked()), @@ -86,7 +86,7 @@ GeneralSettingsPage::GeneralSettingsPage(TQWidget* parent) : // create 'Default View Mode' group TQButtonGroup* buttonGroup = new TQButtonGroup(3, Qt::Vertical, i18n("Default View Mode"), vBox); - buttonGroup->tqsetSizePolicy(sizePolicy); + buttonGroup->setSizePolicy(sizePolicy); buttonGroup->setMargin(margin); m_iconsView = new TQRadioButton(i18n("Icons"), buttonGroup); @@ -112,7 +112,7 @@ GeneralSettingsPage::GeneralSettingsPage(TQWidget* parent) : m_saveView->setChecked(settings.isSaveView()); // 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(vBox); |