[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kroupware_branch: kdepim/korganizer
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2003-06-18 7:17:53
[Download RAW message or body]

CVS commit by thorsen: 

Fix kroupware issue #317 - use the 'strip alarms from sending' Outlook compatibility \
setting when replying invitations


  M +9 -3      kogroupware.cpp   1.1.2.26
  M +2 -0      kogroupware.h   1.1.2.15


--- kdepim/korganizer/kogroupware.cpp  #1.1.2.25:1.1.2.26
@@ -109,4 +106,6 @@ KOGroupware::KOGroupware( QObject* kmail
   connect( this, SIGNAL( dialogsUp( const QString&, bool ) ),
            kmailTarget, SLOT( slotHoldSyncing( const QString&, bool ) ) );
+  connect( this, SIGNAL( getStripAlarmsForSending( bool& ) ),
+           kmailTarget, SLOT( slotGetStripAlarmsForSending( bool& ) ) );
 }
 
@@ -297,4 +296,11 @@ KOGroupware::EventState KOGroupware::inc
 
   newEvent->clearAttendees();
+
+  // OL compatibility setting
+  bool stripAlarms = false;
+  emit getStripAlarmsForSending( stripAlarms );
+  if( stripAlarms )
+    // Strip alarms from the send
+    newEvent->clearAlarms();
 
   if( newMyself )

--- kdepim/korganizer/kogroupware.h  #1.1.2.14:1.1.2.15
@@ -170,4 +170,6 @@ class KOGroupware : public QObject
     void conflict( const QString& );
     void notesSync( bool );
+    void getStripAlarmsForSending( bool& );
+
   protected:
     KOGroupware( QObject* kmailTarget, CalendarView*,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic