author | zautrix <zautrix> | 2004-08-19 20:48:51 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-19 20:48:51 (UTC) |
commit | d9b7a7296b031b3cf3e510a163367b9c4ab42d7a (patch) (unidiff) | |
tree | 6423ca29d29c43e1cd4298c81f2031762199e36a | |
parent | 895e3797f6437347fd73b87a3bf9d4cecfa5a5a9 (diff) | |
download | kdepimpi-d9b7a7296b031b3cf3e510a163367b9c4ab42d7a.zip kdepimpi-d9b7a7296b031b3cf3e510a163367b9c4ab42d7a.tar.gz kdepimpi-d9b7a7296b031b3cf3e510a163367b9c4ab42d7a.tar.bz2 |
added missing ifdef for dektop version
-rw-r--r-- | korganizer/koeditordetails.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index 8e2fabe..2e1ae6e 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp | |||
@@ -188,36 +188,37 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
188 | // topLayout->addWidget(statusLabel,4,3); | 188 | // topLayout->addWidget(statusLabel,4,3); |
189 | // // topLayout->addWidget(mStatusCombo,4,3); | 189 | // // topLayout->addWidget(mStatusCombo,4,3); |
190 | // topLayout->addMultiCellWidget(mStatusCombo,4,4,4,5); | 190 | // topLayout->addMultiCellWidget(mStatusCombo,4,4,4,5); |
191 | 191 | ||
192 | // #endif | 192 | // #endif |
193 | // // topLayout->setRowStretch(5,1); | 193 | // // topLayout->setRowStretch(5,1); |
194 | // topLayout->addMultiCellWidget(mRsvpButton,5,5,0,1); | 194 | // topLayout->addMultiCellWidget(mRsvpButton,5,5,0,1); |
195 | // topLayout->addMultiCellWidget(buttonBox,2,3,5,5); | 195 | // topLayout->addMultiCellWidget(buttonBox,2,3,5,5); |
196 | // topLayout->setRowStretch(1,5); | 196 | // topLayout->setRowStretch(1,5); |
197 | // topLayout->setColStretch(0,0); | 197 | // topLayout->setColStretch(0,0); |
198 | 198 | ||
199 | #ifdef KORG_NOKABC | 199 | #ifdef KORG_NOKABC |
200 | mAddressBookButton->hide(); | 200 | mAddressBookButton->hide(); |
201 | #endif | 201 | #endif |
202 | 202 | ||
203 | updateAttendeeInput(); | 203 | updateAttendeeInput(); |
204 | 204 | #ifndef DESKTOP_VERSION | |
205 | //US listen for arriving address resultsets | 205 | //US listen for arriving address resultsets |
206 | connect(ExternalAppHandler::instance(), SIGNAL(receivedNameEmailUidListEvent(const QString&, const QStringList&, const QStringList&, const QStringList&)), | 206 | connect(ExternalAppHandler::instance(), SIGNAL(receivedNameEmailUidListEvent(const QString&, const QStringList&, const QStringList&, const QStringList&)), |
207 | this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&))); | 207 | this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&))); |
208 | #endif | ||
208 | 209 | ||
209 | } | 210 | } |
210 | 211 | ||
211 | KOEditorDetails::~KOEditorDetails() | 212 | KOEditorDetails::~KOEditorDetails() |
212 | { | 213 | { |
213 | } | 214 | } |
214 | 215 | ||
215 | void KOEditorDetails::removeAttendee() | 216 | void KOEditorDetails::removeAttendee() |
216 | { | 217 | { |
217 | AttendeeListItem *aItem = (AttendeeListItem *)mListView->selectedItem(); | 218 | AttendeeListItem *aItem = (AttendeeListItem *)mListView->selectedItem(); |
218 | if (!aItem) return; | 219 | if (!aItem) return; |
219 | 220 | ||
220 | Attendee *delA = new Attendee(aItem->data()->name(),aItem->data()->email(), | 221 | Attendee *delA = new Attendee(aItem->data()->name(),aItem->data()->email(), |
221 | aItem->data()->RSVP(),aItem->data()->status(),aItem->data()->role(), | 222 | aItem->data()->RSVP(),aItem->data()->status(),aItem->data()->role(), |
222 | aItem->data()->uid()); | 223 | aItem->data()->uid()); |
223 | mdelAttendees.append(delA); | 224 | mdelAttendees.append(delA); |