summaryrefslogtreecommitdiffstats
path: root/kdict/queryview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
commit8a143ab9f846e910c583ea8e770cd05495e0c58d (patch)
tree06462d431eeef66349e54facb75e75a09261eba8 /kdict/queryview.cpp
parent1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (diff)
downloadtdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.tar.gz
tdenetwork-8a143ab9f846e910c583ea8e770cd05495e0c58d.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kdict/queryview.cpp')
-rw-r--r--kdict/queryview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp
index 81761e2e..0569e499 100644
--- a/kdict/queryview.cpp
+++ b/kdict/queryview.cpp
@@ -276,7 +276,7 @@ void QueryView::selectAll()
void QueryView::copySelection()
{
- kapp->tqclipboard()->setText(part->selectedText());
+ kapp->clipboard()->setText(part->selectedText());
}
@@ -441,14 +441,14 @@ void QueryView::buildPopupMenu(const TQString &url, const TQPoint &point)
this,TQT_SLOT(popupMatchSelect()));
rightBtnMenu->insertSeparator();
} else {
- kapp->tqclipboard()->setSelectionMode(false);
- TQString text = kapp->tqclipboard()->text();
+ kapp->clipboard()->setSelectionMode(false);
+ TQString text = kapp->clipboard()->text();
if (text.isEmpty()) {
- kapp->tqclipboard()->setSelectionMode(true);
- text = kapp->tqclipboard()->text();
+ kapp->clipboard()->setSelectionMode(true);
+ text = kapp->clipboard()->text();
}
if (!text.isEmpty()) {
- popupSelect = TQApplication::tqclipboard()->text();
+ popupSelect = TQApplication::clipboard()->text();
rightBtnMenu->insertItem(SmallIcon("define_clip"),
i18n("&Define Clipboard Content"),
this,TQT_SLOT(popupDefineSelect()));