diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:09 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-03 15:53:43 +0200 |
commit | 81d696e1ee26cfc46fb4c97989575a7376b2d246 (patch) | |
tree | 08aba6fcefaed9220ebfcd71eb069179434e1df1 /kget/kmainwidget.cpp | |
parent | e7bee19a9f42cffe3a0792348a60e5bee1d3da71 (diff) | |
download | tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.tar.gz tdenetwork-81d696e1ee26cfc46fb4c97989575a7376b2d246.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 8a143ab9f846e910c583ea8e770cd05495e0c58d)
Diffstat (limited to 'kget/kmainwidget.cpp')
-rw-r--r-- | kget/kmainwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/kmainwidget.cpp b/kget/kmainwidget.cpp index 801495b8..56b6df47 100644 --- a/kget/kmainwidget.cpp +++ b/kget/kmainwidget.cpp @@ -151,7 +151,7 @@ KMainWidget::KMainWidget(bool bStartDocked) logFileName = locateLocal("appdata", "logs/"); logFileName += tmp; - lastClipboard = TQApplication::tqclipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace(); + lastClipboard = TQApplication::clipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace(); // Load all settings from KConfig ksettings.load(); @@ -997,7 +997,7 @@ void KMainWidget::slotCheckClipboard() //sDebugIn << endl; #endif - TQString clipData = TQApplication::tqclipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace(); + TQString clipData = TQApplication::clipboard()->text( TQClipboard::Clipboard ).stripWhiteSpace(); if (clipData != lastClipboard) { sDebug << "New clipboard event" << endl; @@ -1026,7 +1026,7 @@ void KMainWidget::slotPasteTransfer() TQString newtransfer; - newtransfer = TQApplication::tqclipboard()->text(); + newtransfer = TQApplication::clipboard()->text(); newtransfer = newtransfer.stripWhiteSpace(); if (!ksettings.b_expertMode) { @@ -1593,7 +1593,7 @@ void KMainWidget::slotCopyToClipboard() if (item) { TQString url = item->getSrc().url(); - TQClipboard *cb = TQApplication::tqclipboard(); + TQClipboard *cb = TQApplication::clipboard(); cb->setText( url, TQClipboard::Selection ); cb->setText( url, TQClipboard::Clipboard); myTransferList->clearSelection(); |