summaryrefslogtreecommitdiffstats
path: root/karm
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:23:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:23:08 -0600
commitd6d75dc9ff326e0bd6fc673adae71d53277fb8e4 (patch)
tree56a87e6a48bdf5e310958f1943a834e59eddbba1 /karm
parent32b66c9ae78f439199a6d281cc33218e57c5106d (diff)
downloadtdepim-d6d75dc9ff326e0bd6fc673adae71d53277fb8e4.tar.gz
tdepim-d6d75dc9ff326e0bd6fc673adae71d53277fb8e4.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'karm')
-rw-r--r--karm/main.cpp2
-rw-r--r--karm/taskview.cpp14
-rw-r--r--karm/test/locking.cpp4
3 files changed, 10 insertions, 10 deletions
diff --git a/karm/main.cpp b/karm/main.cpp
index e8ebc7e1c..f2fab8fcf 100644
--- a/karm/main.cpp
+++ b/karm/main.cpp
@@ -49,7 +49,7 @@ int main( int argc, char *argv[] )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication myApp;
+ TDEApplication myApp;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/karm/taskview.cpp b/karm/taskview.cpp
index 3852fda9d..eb63da482 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::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
+ TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
}
else // All tasks
{
- KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
+ TDEApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
}
}
else
{
- KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
+ TDEApplication::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::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
+ TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
else // only task
{
- KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
+ TDEApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
}
}
else
{
- KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
+ TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
}
@@ -863,7 +863,7 @@ void TaskView::clipHistory()
if (dialog.exec()== TQDialog::Accepted)
{
TimeKard t;
- KApplication::clipboard()->
+ TDEApplication::clipboard()->
setText( t.historyAsText(this, dialog.from(), dialog.to(), !dialog.allTasks(), dialog.perWeek(), dialog.totalsOnly() ) );
}
}
diff --git a/karm/test/locking.cpp b/karm/test/locking.cpp
index 6f9cd1834..ac1de23e3 100644
--- a/karm/test/locking.cpp
+++ b/karm/test/locking.cpp
@@ -136,11 +136,11 @@ int main( int argc, char *argv[] )
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
// Copied from Till's test in libkcal. Not sure what this is for.
- KApplication::disableAutoDcopRegistration();
+ TDEApplication::disableAutoDcopRegistration();
TDECmdLineArgs::init(argc,argv,"testresourcelocking", 0, 0, 0, 0);
- KApplication app( false, false );
+ TDEApplication app( false, false );
// basic libkcal locking stuff
if ( !rval ) rval = test1();