summaryrefslogtreecommitdiffabout
path: root/korganizer/koeditordetails.cpp
authorzautrix <zautrix>2005-02-19 20:47:24 (UTC)
committer zautrix <zautrix>2005-02-19 20:47:24 (UTC)
commitfc2d01e5acc939719f01b9dbe5696d47162514b1 (patch) (side-by-side diff)
tree9a04926c8cb54e54e4c0bf5f47a4f47110f24bfd /korganizer/koeditordetails.cpp
parent6f4d42c16c87668279db1e0a0d3e4f4aad5b84f6 (diff)
downloadkdepimpi-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.cpp7
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
@@ -97,8 +97,11 @@ 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() );
mNameEdit = new QLineEdit(this);
@@ -126,10 +129,9 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
mStatusCombo = new QComboBox(false,this);
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);
@@ -140,9 +142,8 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
mRemoveButton = new QPushButton(i18n("&Remove"),buttonBox);
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 () );