summaryrefslogtreecommitdiffstats
path: root/src/generalsettingspage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:29:36 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:29:36 -0600
commit59d9dbf810de71334e1173fa7dda59209c10032c (patch)
tree9091f90565a6b444b49d6624fb9a833930b818fc /src/generalsettingspage.cpp
parent6f9ad886fd16b883bed1f6fa731bd709de0afb9c (diff)
downloaddolphin-59d9dbf810de71334e1173fa7dda59209c10032c.tar.gz
dolphin-59d9dbf810de71334e1173fa7dda59209c10032c.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/generalsettingspage.cpp')
-rw-r--r--src/generalsettingspage.cpp16
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);