summaryrefslogtreecommitdiffstats
path: root/karm/karm_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'karm/karm_part.cpp')
-rw-r--r--karm/karm_part.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/karm/karm_part.cpp b/karm/karm_part.cpp
index 36a71043e..f56e02c17 100644
--- a/karm/karm_part.cpp
+++ b/karm/karm_part.cpp
@@ -24,8 +24,8 @@
karmPart::karmPart( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name )
: DCOPObject ( "KarmDCOPIface" ), KParts::ReadWritePart(parent, name),
- _accel ( new KAccel( parentWidget ) ),
- _watcher ( new KAccelMenuWatch( _accel, TQT_TQOBJECT(parentWidget) ) )
+ _accel ( new TDEAccel( parentWidget ) ),
+ _watcher ( new TDEAccelMenuWatch( _accel, TQT_TQOBJECT(parentWidget) ) )
{
// we need an instance
setInstance( karmPartFactory::instance() );
@@ -108,7 +108,7 @@ void karmPart::slotSelectionChanged()
void karmPart::makeMenus()
{
- KAction
+ TDEAction
*actionKeyBindings,
*actionNew,
*actionNewSub;
@@ -121,84 +121,84 @@ void karmPart::makeMenus()
TQT_SLOT(showDialog()),
actionCollection() );
(void) KStdAction::save( this, TQT_SLOT( save() ), actionCollection() );
- KAction* actionStartNewSession = new KAction( i18n("Start &New Session"),
+ TDEAction* actionStartNewSession = new TDEAction( i18n("Start &New Session"),
0,
TQT_TQOBJECT(this),
TQT_SLOT( startNewSession() ),
actionCollection(),
"start_new_session");
- KAction* actionResetAll = new KAction( i18n("&Reset All Times"),
+ TDEAction* actionResetAll = new TDEAction( i18n("&Reset All Times"),
0,
TQT_TQOBJECT(this),
TQT_SLOT( resetAllTimes() ),
actionCollection(),
"reset_all_times");
- actionStart = new KAction( i18n("&Start"),
+ actionStart = new TDEAction( i18n("&Start"),
TQString::fromLatin1("1rightarrow"), Key_S,
TQT_TQOBJECT(_taskView),
TQT_SLOT( startCurrentTimer() ), actionCollection(),
"start");
- actionStop = new KAction( i18n("S&top"),
+ actionStop = new TDEAction( i18n("S&top"),
TQString::fromLatin1("stop"), 0,
TQT_TQOBJECT(_taskView),
TQT_SLOT( stopCurrentTimer() ), actionCollection(),
"stop");
- actionStopAll = new KAction( i18n("Stop &All Timers"),
+ actionStopAll = new TDEAction( i18n("Stop &All Timers"),
Key_Escape,
TQT_TQOBJECT(_taskView),
TQT_SLOT( stopAllTimers() ), actionCollection(),
"stopAll");
actionStopAll->setEnabled(false);
- actionNew = new KAction( i18n("&New..."),
+ actionNew = new TDEAction( i18n("&New..."),
TQString::fromLatin1("filenew"), CTRL+Key_N,
TQT_TQOBJECT(_taskView),
TQT_SLOT( newTask() ), actionCollection(),
"new_task");
- actionNewSub = new KAction( i18n("New &Subtask..."),
+ actionNewSub = new TDEAction( i18n("New &Subtask..."),
TQString::fromLatin1("tdemultiple"), CTRL+ALT+Key_N,
TQT_TQOBJECT(_taskView),
TQT_SLOT( newSubTask() ), actionCollection(),
"new_sub_task");
- actionDelete = new KAction( i18n("&Delete"),
+ actionDelete = new TDEAction( i18n("&Delete"),
TQString::fromLatin1("editdelete"), Key_Delete,
TQT_TQOBJECT(_taskView),
TQT_SLOT( deleteTask() ), actionCollection(),
"delete_task");
- actionEdit = new KAction( i18n("&Edit..."),
+ actionEdit = new TDEAction( i18n("&Edit..."),
TQString::fromLatin1("edit"), CTRL + Key_E,
TQT_TQOBJECT(_taskView),
TQT_SLOT( editTask() ), actionCollection(),
"edit_task");
-// actionAddComment = new KAction( i18n("&Add Comment..."),
+// actionAddComment = new TDEAction( i18n("&Add Comment..."),
// TQString::fromLatin1("document"),
// CTRL+ALT+Key_E,
// TQT_TQOBJECT(_taskView),
// TQT_SLOT( addCommentToTask() ),
// actionCollection(),
// "add_comment_to_task");
- actionMarkAsComplete = new KAction( i18n("&Mark as Complete"),
+ actionMarkAsComplete = new TDEAction( i18n("&Mark as Complete"),
TQString::fromLatin1("document"),
CTRL+Key_M,
TQT_TQOBJECT(_taskView),
TQT_SLOT( markTaskAsComplete() ),
actionCollection(),
"mark_as_complete");
- actionMarkAsIncomplete = new KAction( i18n("&Mark as Incomplete"),
+ actionMarkAsIncomplete = new TDEAction( i18n("&Mark as Incomplete"),
TQString::fromLatin1("document"),
CTRL+Key_M,
TQT_TQOBJECT(_taskView),
TQT_SLOT( markTaskAsIncomplete() ),
actionCollection(),
"mark_as_incomplete");
- actionClipTotals = new KAction( i18n("&Copy Totals to Clipboard"),
+ actionClipTotals = new TDEAction( i18n("&Copy Totals to Clipboard"),
TQString::fromLatin1("klipper"),
CTRL+Key_C,
TQT_TQOBJECT(_taskView),
TQT_SLOT( clipTotals() ),
actionCollection(),
"clip_totals");
- actionClipHistory = new KAction( i18n("Copy &History to Clipboard"),
+ actionClipHistory = new TDEAction( i18n("Copy &History to Clipboard"),
TQString::fromLatin1("klipper"),
CTRL+ALT+Key_C,
TQT_TQOBJECT(_taskView),
@@ -206,24 +206,24 @@ void karmPart::makeMenus()
actionCollection(),
"clip_history");
- new KAction( i18n("Import &Legacy Flat File..."), 0,
+ new TDEAction( i18n("Import &Legacy Flat File..."), 0,
TQT_TQOBJECT(_taskView), TQT_SLOT(loadFromFlatFile()), actionCollection(),
"import_flatfile");
- new KAction( i18n("&Export to CSV File..."), 0,
+ new TDEAction( i18n("&Export to CSV File..."), 0,
TQT_TQOBJECT(_taskView), TQT_SLOT(exportcsvFile()), actionCollection(),
"export_csvfile");
- new KAction( i18n("Export &History to CSV File..."), 0,
+ new TDEAction( i18n("Export &History to CSV File..."), 0,
TQT_TQOBJECT(this), TQT_SLOT(exportcsvHistory()), actionCollection(),
"export_csvhistory");
- new KAction( i18n("Import Tasks From &Planner..."), 0,
+ new TDEAction( i18n("Import Tasks From &Planner..."), 0,
TQT_TQOBJECT(_taskView), TQT_SLOT(importPlanner()), actionCollection(),
"import_planner");
- new KAction( i18n("Configure KArm..."), 0,
+ new TDEAction( i18n("Configure KArm..."), 0,
TQT_TQOBJECT(_preferences), TQT_SLOT(showDialog()), actionCollection(),
"configure_karm");
/*
- new KAction( i18n("Import E&vents"), 0,
+ new TDEAction( i18n("Import E&vents"), 0,
_taskView,
TQT_SLOT( loadFromKOrgEvents() ), actionCollection(),
"import_korg_events");
@@ -301,7 +301,7 @@ void karmPart::setReadWrite(bool rw)
void karmPart::setModified(bool modified)
{
// get a handle on our Save action and make sure it is valid
- KAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save));
+ TDEAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save));
if (!save)
return;