From fc2d01e5acc939719f01b9dbe5696d47162514b1 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 19 Feb 2005 20:47:24 +0000 Subject: fix focus --- (limited to 'korganizer/koeditordetails.cpp') diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index ef8025b..2fd13bd 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp @@ -98,6 +98,9 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) connect(mListView,SIGNAL(executed(QListViewItem * ,const QPoint&, int )), SLOT(itemClicked(QListViewItem * ,const QPoint& , int ))); + mRsvpButton = new QCheckBox(this); + mRsvpButton->setText(i18n("Request response")); + mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); QLabel *attendeeLabel = new QLabel(this); attendeeLabel->setText(i18n("Name:")); attendeeLabel->setFixedSize( attendeeLabel->sizeHint() ); @@ -127,8 +130,7 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) mStatusCombo->insertStringList(Attendee::statusList()); connect(mStatusCombo,SIGNAL(activated(int)),SLOT(updateAttendeeItem())); - mRsvpButton = new QCheckBox(this); - mRsvpButton->setText(i18n("Request response")); + connect(mRsvpButton,SIGNAL(clicked()),SLOT(updateAttendeeItem())); QWidget *buttonBox = new QWidget(this); QVBoxLayout *buttonLayout = new QVBoxLayout(buttonBox); @@ -141,7 +143,6 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) buttonLayout->addWidget(mRemoveButton); connect(mRemoveButton, SIGNAL(clicked()),SLOT(removeAttendee())); - mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); // buttonLayout->addWidget(mAddressBookButton); connect(mAddressBookButton,SIGNAL(clicked()),SLOT(openAddressBook())); //mRoleCombo->setFixedSize( mRoleCombo->sizeHint () ); -- cgit v0.9.0.2