author | zautrix <zautrix> | 2005-01-19 11:41:45 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-19 11:41:45 (UTC) |
commit | 0d878a0144644499ead17b2532cc94abb545bcdb (patch) (unidiff) | |
tree | 241010225cf2b26847750c5f511ff15a9ebef9e1 /korganizer | |
parent | af56077eeeab7b46b98ad5159c6653114abf6602 (diff) | |
download | kdepimpi-0d878a0144644499ead17b2532cc94abb545bcdb.zip kdepimpi-0d878a0144644499ead17b2532cc94abb545bcdb.tar.gz kdepimpi-0d878a0144644499ead17b2532cc94abb545bcdb.tar.bz2 |
translation added
-rw-r--r-- | korganizer/kolistview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index f8bfc8b..b21b419 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -125,25 +125,25 @@ bool ListItemVisitor::visit(Todo *t) | |||
125 | mItem->setText(1,t->dtStartDateStr()); | 125 | mItem->setText(1,t->dtStartDateStr()); |
126 | if (t->doesFloat()) { | 126 | if (t->doesFloat()) { |
127 | mItem->setText(2,"---"); | 127 | mItem->setText(2,"---"); |
128 | } else { | 128 | } else { |
129 | mItem->setText(2,t->dtStartTimeStr()); | 129 | mItem->setText(2,t->dtStartTimeStr()); |
130 | } | 130 | } |
131 | } else { | 131 | } else { |
132 | mItem->setText(1,"---"); | 132 | mItem->setText(1,"---"); |
133 | mItem->setText(2,"---"); | 133 | mItem->setText(2,"---"); |
134 | } | 134 | } |
135 | mItem->setText(3,"---"); | 135 | mItem->setText(3,"---"); |
136 | mItem->setText(4,"---"); | 136 | mItem->setText(4,"---"); |
137 | mItem->setText(5,"---"); | 137 | mItem->setText(5,t->isAlarmEnabled() ? i18n("Yes") : i18n("No")); |
138 | mItem->setText(6,"---"); | 138 | mItem->setText(6,"---"); |
139 | if (t->hasDueDate()) { | 139 | if (t->hasDueDate()) { |
140 | mItem->setText(7,t->dtDueDateStr()); | 140 | mItem->setText(7,t->dtDueDateStr()); |
141 | if (t->doesFloat()) { | 141 | if (t->doesFloat()) { |
142 | mItem->setText(8,"---"); | 142 | mItem->setText(8,"---"); |
143 | } else { | 143 | } else { |
144 | mItem->setText(8,t->dtDueTimeStr()); | 144 | mItem->setText(8,t->dtDueTimeStr()); |
145 | } | 145 | } |
146 | } else { | 146 | } else { |
147 | mItem->setText(7,"---"); | 147 | mItem->setText(7,"---"); |
148 | mItem->setText(8,"---"); | 148 | mItem->setText(8,"---"); |
149 | } | 149 | } |
@@ -214,24 +214,25 @@ KOListView::KOListView(Calendar *calendar, QWidget *parent, | |||
214 | 214 | ||
215 | mListView->setColumnAlignment(0,AlignLeft); | 215 | mListView->setColumnAlignment(0,AlignLeft); |
216 | mListView->setColumnAlignment(1,AlignLeft); | 216 | mListView->setColumnAlignment(1,AlignLeft); |
217 | mListView->setColumnAlignment(2,AlignHCenter); | 217 | mListView->setColumnAlignment(2,AlignHCenter); |
218 | mListView->setColumnAlignment(3,AlignLeft); | 218 | mListView->setColumnAlignment(3,AlignLeft); |
219 | mListView->setColumnAlignment(4,AlignHCenter); | 219 | mListView->setColumnAlignment(4,AlignHCenter); |
220 | mListView->setColumnAlignment(5,AlignLeft); | 220 | mListView->setColumnAlignment(5,AlignLeft); |
221 | mListView->setColumnAlignment(6,AlignLeft); | 221 | mListView->setColumnAlignment(6,AlignLeft); |
222 | mListView->setColumnAlignment(7,AlignLeft); | 222 | mListView->setColumnAlignment(7,AlignLeft); |
223 | mListView->setColumnAlignment(8,AlignLeft); | 223 | mListView->setColumnAlignment(8,AlignLeft); |
224 | mListView->setColumnAlignment(9,AlignLeft); | 224 | mListView->setColumnAlignment(9,AlignLeft); |
225 | mListView->setColumnAlignment(10,AlignLeft); | 225 | mListView->setColumnAlignment(10,AlignLeft); |
226 | mListView->setColumnWidthMode(10, QListView::Manual); | ||
226 | 227 | ||
227 | int iii = 0; | 228 | int iii = 0; |
228 | for ( iii = 0; iii< 10 ; ++iii ) | 229 | for ( iii = 0; iii< 10 ; ++iii ) |
229 | mListView->setColumnWidthMode( iii, QListView::Manual ); | 230 | mListView->setColumnWidthMode( iii, QListView::Manual ); |
230 | 231 | ||
231 | QBoxLayout *layoutTop = new QVBoxLayout(this); | 232 | QBoxLayout *layoutTop = new QVBoxLayout(this); |
232 | layoutTop->addWidget(mListView); | 233 | layoutTop->addWidget(mListView); |
233 | mListView->setFont ( KOPrefs::instance()->mListViewFont ); | 234 | mListView->setFont ( KOPrefs::instance()->mListViewFont ); |
234 | mPopupMenu = eventPopup(); | 235 | mPopupMenu = eventPopup(); |
235 | mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), | 236 | mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), |
236 | i18n("Select all"),this, | 237 | i18n("Select all"),this, |
237 | SLOT(allSelection()),true); | 238 | SLOT(allSelection()),true); |