summaryrefslogtreecommitdiffstats
path: root/src/dolphin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:03:51 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:03:51 -0600
commit6092f8e6078f2b4cd70a34a6fe44bb1f98e5305b (patch)
treed6f4950cdaf23a3af983eb6e19147b8bddc257bf /src/dolphin.cpp
parentb651b3b01b24418d0e6387870d9758a61d7bd9ff (diff)
downloaddolphin-6092f8e6078f2b4cd70a34a6fe44bb1f98e5305b.tar.gz
dolphin-6092f8e6078f2b4cd70a34a6fe44bb1f98e5305b.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/dolphin.cpp')
-rw-r--r--src/dolphin.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp
index 2f80aac..a278231 100644
--- a/src/dolphin.cpp
+++ b/src/dolphin.cpp
@@ -642,7 +642,7 @@ void Dolphin::cut()
m_clipboardContainsCutData = true;
TQDragObject* data = new KURLDrag(m_activeView->selectedURLs(),
widget());
- TQApplication::tqclipboard()->setData(data);
+ TQApplication::clipboard()->setData(data);
}
void Dolphin::copy()
@@ -650,12 +650,12 @@ void Dolphin::copy()
m_clipboardContainsCutData = false;
TQDragObject* data = new KURLDrag(m_activeView->selectedURLs(),
widget());
- TQApplication::tqclipboard()->setData(data);
+ TQApplication::clipboard()->setData(data);
}
void Dolphin::paste()
{
- TQClipboard* clipboard = TQApplication::tqclipboard();
+ TQClipboard* clipboard = TQApplication::clipboard();
TQMimeSource* data = clipboard->data();
if (!KURLDrag::canDecode(data)) {
return;
@@ -703,7 +703,7 @@ void Dolphin::updatePasteAction()
}
TQString text(i18n("Paste"));
- TQClipboard* clipboard = TQApplication::tqclipboard();
+ TQClipboard* clipboard = TQApplication::clipboard();
TQMimeSource* data = clipboard->data();
if (KURLDrag::canDecode(data)) {
pasteAction->setEnabled(true);
@@ -1144,7 +1144,7 @@ void Dolphin::init()
stateChanged("new_file");
setAutoSaveSettings();
- TQClipboard* clipboard = TQApplication::tqclipboard();
+ TQClipboard* clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(dataChanged()),
this, TQT_SLOT(updatePasteAction()));
updatePasteAction();