summaryrefslogtreecommitdiffstats
path: root/karm/taskview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:23:13 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:23:13 -0600
commitba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch)
tree08ba9504290f461f1244dded6b37fc4db00847ab /karm/taskview.cpp
parentd5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff)
downloadtdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz
tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'karm/taskview.cpp')
-rw-r--r--karm/taskview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/karm/taskview.cpp b/karm/taskview.cpp
index a7aff4061..929541ace 100644
--- a/karm/taskview.cpp
+++ b/karm/taskview.cpp
@@ -820,16 +820,16 @@ void TaskView::clipTotals()
i18n("Copy This Task"), i18n("Copy All Tasks") );
if (response == KMessageBox::Yes) // This task only
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
}
else // All tasks
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
}
}
else
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
}
}
@@ -844,16 +844,16 @@ void TaskView::clipSession()
i18n("Copy This Task"), i18n("Copy All Tasks") );
if (response == KMessageBox::Yes) // this task only
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
else // only task
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
}
}
else
{
- KApplication::tqclipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
+ KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
}
@@ -863,7 +863,7 @@ void TaskView::clipHistory()
if (dialog.exec()== TQDialog::Accepted)
{
TimeKard t;
- KApplication::tqclipboard()->
+ KApplication::clipboard()->
setText( t.historyAsText(this, dialog.from(), dialog.to(), !dialog.allTasks(), dialog.perWeek(), dialog.totalsOnly() ) );
}
}