author | zautrix <zautrix> | 2005-02-19 20:47:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-19 20:47:24 (UTC) |
commit | fc2d01e5acc939719f01b9dbe5696d47162514b1 (patch) (side-by-side diff) | |
tree | 9a04926c8cb54e54e4c0bf5f47a4f47110f24bfd /korganizer/koeditordetails.cpp | |
parent | 6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6 (diff) | |
download | kdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.zip kdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.tar.gz kdepimpi-fc2d01e5acc939719f01b9dbe5696d47162514b1.tar.bz2 |
fix focus
Diffstat (limited to 'korganizer/koeditordetails.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | korganizer/koeditordetails.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 () ); |