diff options
Diffstat (limited to 'kexi/formeditor/form.cpp')
-rw-r--r-- | kexi/formeditor/form.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/formeditor/form.cpp b/kexi/formeditor/form.cpp index 52d44966..31344419 100644 --- a/kexi/formeditor/form.cpp +++ b/kexi/formeditor/form.cpp @@ -97,7 +97,7 @@ Form::Form(WidgetLibrary* library, const char *name, bool designMode) d->design = designMode; // Init actions - d->collection = new KActionCollection(0, this); + d->collection = new TDEActionCollection(0, this); d->history = new KCommandHistory(d->collection, true); connect(d->history, TQT_SIGNAL(commandExecuted()), this, TQT_SLOT(slotCommandExecuted())); connect(d->history, TQT_SIGNAL(documentRestored()), this, TQT_SLOT(slotFormRestored())); @@ -321,11 +321,11 @@ Form::emitActionSignals(bool withUndoAction) if(!withUndoAction) return; - KAction *undoAction = d->collection->action("edit_undo"); + TDEAction *undoAction = d->collection->action("edit_undo"); if(undoAction) FormManager::self()->emitUndoEnabled(undoAction->isEnabled(), undoAction->text()); - KAction *redoAction = d->collection->action("edit_redo"); + TDEAction *redoAction = d->collection->action("edit_redo"); if(redoAction) FormManager::self()->emitRedoEnabled(redoAction->isEnabled(), redoAction->text()); } @@ -428,7 +428,7 @@ Form::slotCommandExecuted() void Form::emitUndoEnabled() { - KAction *undoAction = d->collection->action("edit_undo"); + TDEAction *undoAction = d->collection->action("edit_undo"); if(undoAction) FormManager::self()->emitUndoEnabled(undoAction->isEnabled(), undoAction->text()); } @@ -436,7 +436,7 @@ Form::emitUndoEnabled() void Form::emitRedoEnabled() { - KAction *redoAction = d->collection->action("edit_redo"); + TDEAction *redoAction = d->collection->action("edit_redo"); if(redoAction) FormManager::self()->emitRedoEnabled(redoAction->isEnabled(), redoAction->text()); } |