summaryrefslogtreecommitdiffstats
path: root/ksirc/ahistlineedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:09 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 15:53:43 +0200
commit81d696e1ee26cfc46fb4c97989575a7376b2d246 (patch)
tree08aba6fcefaed9220ebfcd71eb069179434e1df1 /ksirc/ahistlineedit.cpp
parente7bee19a9f42cffe3a0792348a60e5bee1d3da71 (diff)
downloadtdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.tar.gz
tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.zip
Rename obsolete tq methods to standard names
(cherry picked from commit 8a143ab9f846e910c583ea8e770cd05495e0c58d)
Diffstat (limited to 'ksirc/ahistlineedit.cpp')
-rw-r--r--ksirc/ahistlineedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/ahistlineedit.cpp b/ksirc/ahistlineedit.cpp
index 3dd44896..5927b498 100644
--- a/ksirc/ahistlineedit.cpp
+++ b/ksirc/ahistlineedit.cpp
@@ -131,7 +131,7 @@ void aHistLineEdit::slotMaybeResize()
s.setHeight(h);
resize(s);
setFixedHeight( h );
- TQLayout *l = topLevelWidget()->tqlayout();
+ TQLayout *l = topLevelWidget()->layout();
if(l){
l->invalidate();
l->activate();
@@ -352,7 +352,7 @@ void aHistLineEdit::mousePressEvent ( TQMouseEvent *e )
{
if(e->button() == MidButton){
/*
- * emit pasteText(TQApplication::tqclipboard()->text(TQClipboard::Selection));
+ * emit pasteText(TQApplication::clipboard()->text(TQClipboard::Selection));
*/
}
else{
@@ -381,10 +381,10 @@ void aHistLineEdit::paste()
{
/* we let the top level take it */
if(ksopts->oneLineEntry) {
- emit pasteText(TQApplication::tqclipboard()->text(TQClipboard::Selection));
+ emit pasteText(TQApplication::clipboard()->text(TQClipboard::Selection));
}
else {
- TQString paste = TQApplication::tqclipboard()->text(TQClipboard::Selection);
+ TQString paste = TQApplication::clipboard()->text(TQClipboard::Selection);
paste.replace("\n", " ~ ");
insert(paste);
}