summaryrefslogtreecommitdiffabout
path: root/korganizer/koeditordetails.cpp
authorzautrix <zautrix>2005-01-30 00:33:46 (UTC)
committer zautrix <zautrix>2005-01-30 00:33:46 (UTC)
commita8fae20ad7bcb59df9a603c88accf3a10401c2f9 (patch) (side-by-side diff)
tree12deeef9bae6d470c244ce9a9916c59d6879f9b2 /korganizer/koeditordetails.cpp
parentd94b52aa95cc52aa1bef7c9cd99f43c725ed8042 (diff)
downloadkdepimpi-a8fae20ad7bcb59df9a603c88accf3a10401c2f9.zip
kdepimpi-a8fae20ad7bcb59df9a603c88accf3a10401c2f9.tar.gz
kdepimpi-a8fae20ad7bcb59df9a603c88accf3a10401c2f9.tar.bz2
f
Diffstat (limited to 'korganizer/koeditordetails.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditordetails.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index cf0a458..ef8025b 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -92,3 +92,4 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
}
-
+ mListView->setAllColumnsShowFocus (true );
+ //mListView->setSingleClick( true );
connect(mListView,SIGNAL(selectionChanged(QListViewItem *)),
@@ -96,2 +97,5 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
+ connect(mListView,SIGNAL(executed(QListViewItem * ,const QPoint&, int )),
+ SLOT(itemClicked(QListViewItem * ,const QPoint& , int )));
+
QLabel *attendeeLabel = new QLabel(this);
@@ -423,2 +427,9 @@ void KOEditorDetails::setEnabledAttendeeInput( bool enabled )
+void KOEditorDetails::itemClicked(QListViewItem * item ,const QPoint & pnt, int c )
+{
+ if ( item && c == 4 ) {
+ mRsvpButton->setChecked( !mRsvpButton->isChecked() );
+ updateAttendeeItem();
+ }
+}
void KOEditorDetails::updateAttendeeItem()