summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:23 -0600
commitff5b07d9659291ac8172cd35f0821bcd30ce25c9 (patch)
treee235f4ed83008c9d730c46b17997103f10a2ae3b /konq-plugins/sidebar/metabar/src
parent75112ed8e227f656f98523b7ffdad5422d9a6f11 (diff)
downloadtdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.tar.gz
tdeaddons-ff5b07d9659291ac8172cd35f0821bcd30ce25c9.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'konq-plugins/sidebar/metabar/src')
-rw-r--r--konq-plugins/sidebar/metabar/src/configdialog.cpp30
-rw-r--r--konq-plugins/sidebar/metabar/src/metabarwidget.cpp4
2 files changed, 17 insertions, 17 deletions
diff --git a/konq-plugins/sidebar/metabar/src/configdialog.cpp b/konq-plugins/sidebar/metabar/src/configdialog.cpp
index 63a62a6..d2cd8c0 100644
--- a/konq-plugins/sidebar/metabar/src/configdialog.cpp
+++ b/konq-plugins/sidebar/metabar/src/configdialog.cpp
@@ -161,7 +161,7 @@ ConfigDialog::ConfigDialog(TQWidget *parent, const char *name) : TQDialog(parent
tab->addTab(actionPage, i18n("Actions"));
tab->addTab(links, i18n("Links"));
- //tqlayout
+ //layout
TQGridLayout *general_layout = new TQGridLayout(general, 2, 2, 5, 5);
general_layout->addWidget(entries_group, 0, 0);
general_layout->addWidget(appearance_group, 0, 1);
@@ -330,15 +330,15 @@ void ConfigDialog::createLink()
bottom_layout->addWidget(ok);
bottom_layout->addWidget(cancel);
- TQGridLayout *tqlayout = new TQGridLayout(0, 2, 3, 0, 5);
- tqlayout->addMultiCellWidget(icon, 0, 1, 0, 0);
- tqlayout->addWidget(new TQLabel(i18n("Name:"), main), 0, 1);
- tqlayout->addWidget(name, 0, 2);
- tqlayout->addWidget(new TQLabel(i18n("URL:"), main), 1, 1);
- tqlayout->addWidget(url, 1, 2);
+ TQGridLayout *layout = new TQGridLayout(0, 2, 3, 0, 5);
+ layout->addMultiCellWidget(icon, 0, 1, 0, 0);
+ layout->addWidget(new TQLabel(i18n("Name:"), main), 0, 1);
+ layout->addWidget(name, 0, 2);
+ layout->addWidget(new TQLabel(i18n("URL:"), main), 1, 1);
+ layout->addWidget(url, 1, 2);
TQVBoxLayout *main_layout = new TQVBoxLayout(main, 5, 5);
- main_layout->addLayout(tqlayout);
+ main_layout->addLayout(layout);
main_layout->addItem(new TQSpacerItem(10, 10, TQSizePolicy::Minimum, TQSizePolicy::Expanding));
main_layout->addLayout(bottom_layout);
@@ -413,15 +413,15 @@ void ConfigDialog::editLink(TQListViewItem *item)
bottom_layout->addWidget(ok);
bottom_layout->addWidget(cancel);
- TQGridLayout *tqlayout = new TQGridLayout(0, 2, 3, 0, 5);
- tqlayout->addMultiCellWidget(icon, 0, 1, 0, 0);
- tqlayout->addWidget(new TQLabel(i18n("Name:"), main), 0, 1);
- tqlayout->addWidget(name, 0, 2);
- tqlayout->addWidget(new TQLabel(i18n("URL:"), main), 1, 1);
- tqlayout->addWidget(url, 1, 2);
+ TQGridLayout *layout = new TQGridLayout(0, 2, 3, 0, 5);
+ layout->addMultiCellWidget(icon, 0, 1, 0, 0);
+ layout->addWidget(new TQLabel(i18n("Name:"), main), 0, 1);
+ layout->addWidget(name, 0, 2);
+ layout->addWidget(new TQLabel(i18n("URL:"), main), 1, 1);
+ layout->addWidget(url, 1, 2);
TQVBoxLayout *main_layout = new TQVBoxLayout(main, 5, 5);
- main_layout->addLayout(tqlayout);
+ main_layout->addLayout(layout);
main_layout->addItem(new TQSpacerItem(10, 10, TQSizePolicy::Minimum, TQSizePolicy::Expanding));
main_layout->addLayout(bottom_layout);
diff --git a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
index 05ce39a..eeaf53c 100644
--- a/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
+++ b/konq-plugins/sidebar/metabar/src/metabarwidget.cpp
@@ -114,8 +114,8 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare
plugins.insert("http", httpPlugin);
plugins.insert("https", httpPlugin);
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
- tqlayout->addWidget(html->view());
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
+ layout->addWidget(html->view());
popup = new KPopupMenu(0);
KAction *configAction = new KAction(i18n("Configure %1...").arg("Metabar"), "configure", KShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotShowConfig()), html->actionCollection(), "configure");