summaryrefslogtreecommitdiffstats
path: root/src/bookmarkssettingspage.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/bookmarkssettingspage.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/bookmarkssettingspage.cpp')
-rw-r--r--src/bookmarkssettingspage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bookmarkssettingspage.cpp b/src/bookmarkssettingspage.cpp
index adcb467..57e4721 100644
--- a/src/bookmarkssettingspage.cpp
+++ b/src/bookmarkssettingspage.cpp
@@ -22,7 +22,7 @@
#include <assert.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqvbox.h>
@@ -49,9 +49,9 @@ BookmarksSettingsPage::BookmarksSettingsPage(TQWidget*parent) :
const int spacing = KDialog::spacingHint();
TQHBox* hBox = new TQHBox(parent);
- hBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
+ hBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed);
hBox->setSpacing(spacing);
- hBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Ignored);
+ hBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Ignored);
m_listView = new KListView(hBox);
m_listView->addColumn(i18n("Icon"));
@@ -76,27 +76,27 @@ BookmarksSettingsPage::BookmarksSettingsPage(TQWidget*parent) :
m_addButton = new KPushButton(i18n("Add..."), buttonBox);
connect(m_addButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotAddButtonClicked()));
- m_addButton->tqsetSizePolicy(buttonSizePolicy);
+ m_addButton->setSizePolicy(buttonSizePolicy);
m_editButton = new KPushButton(i18n("Edit..."), buttonBox);
connect(m_editButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotEditButtonClicked()));
- m_editButton->tqsetSizePolicy(buttonSizePolicy);
+ m_editButton->setSizePolicy(buttonSizePolicy);
m_removeButton = new KPushButton(i18n("Remove"), buttonBox);
connect(m_removeButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotRemoveButtonClicked()));
- m_removeButton->tqsetSizePolicy(buttonSizePolicy);
+ m_removeButton->setSizePolicy(buttonSizePolicy);
m_moveUpButton = new KPushButton(i18n("Move Up"), buttonBox);
connect(m_moveUpButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMoveUpButtonClicked()));
- m_moveUpButton->tqsetSizePolicy(buttonSizePolicy);
+ m_moveUpButton->setSizePolicy(buttonSizePolicy);
m_moveDownButton = new KPushButton(i18n("Move Down"), buttonBox);
connect(m_moveDownButton, TQT_SIGNAL(clicked()),
this, TQT_SLOT(slotMoveDownButtonClicked()));
- m_moveDownButton->tqsetSizePolicy(buttonSizePolicy);
+ m_moveDownButton->setSizePolicy(buttonSizePolicy);
// Add a dummy widget with no restriction regarding a vertical resizing.
// This assures that the spacing between the buttons is not increased.