From 44b195a5922fe83a0769b971e8805cd2d3b5450e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:24:43 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit b0f531735b0175ba112ceb87d01731a7b2334772) --- klinkstatus/src/ui/resultssearchbar.cpp | 20 ++++++++++---------- klinkstatus/src/ui/sessionwidgetbase.ui | 18 +++++++++--------- klinkstatus/src/ui/settings/configsearchdialog.ui | 4 ++-- klinkstatus/src/ui/treeview.cpp | 6 +++--- 4 files changed, 24 insertions(+), 24 deletions(-) (limited to 'klinkstatus/src/ui') diff --git a/klinkstatus/src/ui/resultssearchbar.cpp b/klinkstatus/src/ui/resultssearchbar.cpp index 1376f5e2..11ec6134 100644 --- a/klinkstatus/src/ui/resultssearchbar.cpp +++ b/klinkstatus/src/ui/resultssearchbar.cpp @@ -42,12 +42,12 @@ class ResultsSearchBar::ResultsSearchBarPrivate { public: ResultsSearchBarPrivate() - : tqlayout(0), searchLine(0), searchCombo(0), delay(400), m_lastComboIndex(0) + : layout(0), searchLine(0), searchCombo(0), delay(400), m_lastComboIndex(0) {} TQString searchText; TQTimer timer; - TQHBoxLayout* tqlayout; + TQHBoxLayout* layout; KLineEdit* searchLine; KComboBox* searchCombo; int delay; @@ -59,29 +59,29 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name) { setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Fixed)); - d->tqlayout = new TQHBoxLayout(this); - d->tqlayout->setMargin(2); - d->tqlayout->setSpacing(5); + d->layout = new TQHBoxLayout(this); + d->layout->setMargin(2); + d->layout->setSpacing(5); TQToolButton* clearButton = new TQToolButton(this); clearButton->setIconSet(SmallIconSet(TQApplication::reverseLayout() ? "clear_left" : "locationbar_erase")); clearButton->setAutoRaise(true); - d->tqlayout->addWidget(clearButton); + d->layout->addWidget(clearButton); TQLabel* searchLabel = new TQLabel(this); searchLabel->setText(i18n("S&earch:")); - d->tqlayout->addWidget(searchLabel); + d->layout->addWidget(searchLabel); d->searchLine = new KLineEdit(this, "searchline"); connect(d->searchLine, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotSearchStringChanged(const TQString &))); searchLabel->setBuddy(d->searchLine); - d->tqlayout->addWidget(d->searchLine); + d->layout->addWidget(d->searchLine); TQLabel* statusLabel = new TQLabel(this); statusLabel->setText( i18n("Status:") ); - d->tqlayout->addWidget(statusLabel); + d->layout->addWidget(statusLabel); d->searchCombo = new KComboBox(this, "searchcombo"); TQPixmap iconAll = KGlobal::iconLoader()->loadIcon("exec", KIcon::Small); @@ -95,7 +95,7 @@ ResultsSearchBar::ResultsSearchBar(TQWidget* parent, const char* name) d->searchCombo->insertItem(iconBroken, i18n("Broken Links")); d->searchCombo->insertItem(iconMalformed, i18n("Malformed Links")); d->searchCombo->insertItem(iconUndetermined, i18n("Undetermined Links")); - d->tqlayout->addWidget(d->searchCombo); + d->layout->addWidget(d->searchCombo); TQToolTip::add(clearButton, i18n("Clear filter")); TQToolTip::add( d->searchLine, i18n("Enter the terms to filter the result link list")); diff --git a/klinkstatus/src/ui/sessionwidgetbase.ui b/klinkstatus/src/ui/sessionwidgetbase.ui index 355d3bb1..53cdd510 100644 --- a/klinkstatus/src/ui/sessionwidgetbase.ui +++ b/klinkstatus/src/ui/sessionwidgetbase.ui @@ -41,7 +41,7 @@ - tqlayout15 + layout15 @@ -49,7 +49,7 @@ - tqlayout14 + layout14 @@ -57,7 +57,7 @@ - tqlayout13 + layout13 @@ -161,7 +161,7 @@ - tqlayout10 + layout10 @@ -236,7 +236,7 @@ - tqlayout11 + layout11 @@ -277,7 +277,7 @@ - tqlayout11 + layout11 @@ -347,7 +347,7 @@ - tqlayout10 + layout10 @@ -385,7 +385,7 @@ - tqlayout11 + layout11 @@ -432,7 +432,7 @@ - tqlayout12_2 + layout12_2 diff --git a/klinkstatus/src/ui/settings/configsearchdialog.ui b/klinkstatus/src/ui/settings/configsearchdialog.ui index 6c305531..72c420ca 100644 --- a/klinkstatus/src/ui/settings/configsearchdialog.ui +++ b/klinkstatus/src/ui/settings/configsearchdialog.ui @@ -184,7 +184,7 @@ - tqlayout21 + layout21 @@ -220,7 +220,7 @@ - tqlayout20 + layout20 diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp index edf339eb..9ab9bfab 100644 --- a/klinkstatus/src/ui/treeview.cpp +++ b/klinkstatus/src/ui/treeview.cpp @@ -219,7 +219,7 @@ void TreeView::slotCopyUrlToClipboard() const { TreeViewItem* _item = myItem(currentItem()); TQString content(_item->linkStatus()->absoluteUrl().prettyURL()); - TQClipboard* cb = kapp->tqclipboard(); + TQClipboard* cb = kapp->clipboard(); cb->setText(content); } @@ -227,7 +227,7 @@ void TreeView::slotCopyParentUrlToClipboard() const { TreeViewItem* _item = myItem(currentItem()); TQString content(_item->linkStatus()->parent()->absoluteUrl().prettyURL()); - TQClipboard* cb = kapp->tqclipboard(); + TQClipboard* cb = kapp->clipboard(); cb->setText(content); } @@ -235,7 +235,7 @@ void TreeView::slotCopyCellTextToClipboard() const { TreeViewItem* _item = myItem(currentItem()); TQString cell_text(_item->text(current_column_)); - TQClipboard* cb = kapp->tqclipboard(); + TQClipboard* cb = kapp->clipboard(); cb->setText(cell_text); } -- cgit v1.2.1