author | zautrix <zautrix> | 2005-02-04 22:55:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-04 22:55:48 (UTC) |
commit | 53099ae3a9ef02549536dab3dd6870b7a2874284 (patch) (side-by-side diff) | |
tree | d3b46b4a7ecd8c7071533957e4eee50aa75d893b | |
parent | 936b4b2aa37e699052a2517dc2d928d717398cf6 (diff) | |
download | kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.zip kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.tar.gz kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.tar.bz2 |
fixxx
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 3 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 9 | ||||
-rw-r--r-- | korganizer/kolistview.h | 2 |
3 files changed, 9 insertions, 5 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 5a5b73e..8f63d1c 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt @@ -1208,7 +1208,6 @@ { "Select week %1-%2","Selektiere Woche %1-%2" }, { "Select Week","Selektiere Woche" }, { "Set alarm for selected...","Setze Alarm für Selekt..." }, -{ "Set reminder offset to:","Setze Alarm Offset auf:" }, { "Set Alarm!","Setze Alarm!" }, { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, { " and "," und " }, @@ -1216,7 +1215,7 @@ { "Mail to selected","Mail an Ausgewählte" }, { "Mail to all","Mail an Alle" }, { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, -{ "","" }, +{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, { "","" }, { "","" }, { "","" }, diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index d4d9c0f..d0dbb47 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp @@ -356,8 +356,15 @@ void KOListView::setAlarm() QListViewItem *qitem = mListView->firstChild (); while ( qitem ) { if ( qitem->isSelected() ) { + Incidence* inc = ((KOListViewItem *) qitem)->data(); + if ( inc->type() != "Journal" ) { + if ( inc->type() == "Todo" ) { + if ( ((Todo*)inc)->hasDueDate() ) + sel.append(((KOListViewItem *)qitem)); + } else sel.append(((KOListViewItem *)qitem)); } + } qitem = qitem->nextSibling(); } int count = 0; @@ -366,7 +373,6 @@ void KOListView::setAlarm() Incidence* inc; while ( item ) { inc = item->data(); - if ( inc->type() != "Journal" ) { ++count; if (kap.mAlarmButton->isChecked()) { if (inc->alarms().count() == 0) @@ -400,7 +406,6 @@ void KOListView::setAlarm() alarm->setType(Alarm::Invalid); } } - } temp = item; item = sel.next(); mUidDict.remove( inc->uid() ); diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index 78004fe..bd5bd12 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h @@ -68,7 +68,7 @@ class KOAlarmPrefs : public QDialog alarmLayout->setSpacing( 3 ); alarmLayout->setMargin( 3 ); QWidget *parent = this; - mAlarmButton = new QCheckBox(i18n("Set reminder offset to:"),parent); + mAlarmButton = new QCheckBox(i18n("Set reminder ON with offset to:"),parent); alarmLayout->addWidget(mAlarmButton); mAlarmTimeEdit = new QSpinBox ( 0, 9999, 1, parent, "mAlarmTimeEdit " ) ; mAlarmTimeEdit->setValue( 15 ); |