summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-04-14 18:10:19 (UTC)
committer zautrix <zautrix>2005-04-14 18:10:19 (UTC)
commitd334d77ab00b91b9527bb5992b476c656c88b2fa (patch) (side-by-side diff)
tree59679cec875179b5b469830e43303cb9480ab1ac /korganizer
parentbbdca90c599aaea557d31552c6bc33fc15e397cd (diff)
downloadkdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.zip
kdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.tar.gz
kdepimpi-d334d77ab00b91b9527bb5992b476c656c88b2fa.tar.bz2
transl fix
Diffstat (limited to 'korganizer') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kotodoview.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 7817a75..dd2c081 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -156,18 +156,18 @@ void KOTodoListView::contentsDropEvent(QDropEvent *e)
Todo *existingTodo = mCalendar->todo(todo->uid());
if(existingTodo) {
Incidence *to = destinationEvent;
while(to) {
if (to->uid() == todo->uid()) {
KMessageBox::sorry(this,
- i18n("Cannot move To-Do to itself\nor a child of itself"),
- i18n("Drop To-Do"));
+ i18n("Cannot move Todo to itself\nor a child of itself"),
+ i18n("Drop Todo"));
delete todo;
return;
}
to = to->relatedTo();
}
internalDrop = true;
if ( destinationEvent )
reparentTodoSignal( destinationEvent, existingTodo );
@@ -957,17 +957,16 @@ void KOTodoView::unparentTodo()
if (mActiveItem) {
emit unparentTodoSignal(mActiveItem->todo());
}
}
void KOTodoView::reparentTodo()
{
if (mActiveItem) {
- qDebug("KOTodoView::reparentTodo() ");
topLevelWidget()->setCaption(i18n("Click on new parent item"));
pendingSubtodo = mActiveItem;
}
}
void KOTodoView::editTodo()
{
if (mActiveItem) {
emit editTodoSignal(mActiveItem->todo());
@@ -1157,17 +1156,16 @@ void KOTodoView::itemClicked(QListViewItem *item)
if ( par == pendingSubtodo ) {
allowReparent = false;
break;
}
par = par->parent();
}
if ( !allowReparent ) {
topLevelWidget()->setCaption(i18n("Recursive reparenting not possible!"));
- qDebug("Recursive reparenting not possible ");
pendingSubtodo = 0;
} else {
Todo* newParent = todoItem->todo();
Todo* newSub = pendingSubtodo->todo();
pendingSubtodo = 0;
emit reparentTodoSignal( newParent,newSub );
return;
}
@@ -1190,17 +1188,16 @@ void KOTodoView::itemClicked(QListViewItem *item)
todoItem->todo()->setCompleted(false);
}
}
#endif
}
void KOTodoView::setDocumentId( const QString &id )
{
- kdDebug() << "KOTodoView::setDocumentId()" << endl;
mDocPrefs->setDoc( id );
}
void KOTodoView::itemStateChanged( QListViewItem *item )
{
if (!item) return;