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

List:       kde-commits
Subject:    kdepim/wizards
From:       David Faure <faure () kde ! org>
Date:       2005-01-13 20:53:25
Message-ID: 20050113205325.701291CFC2 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

kolab wizard: set sieve script filename


  M +6 -0      kmailchanges.cpp   1.18
  M +3 -1      kmailchanges.h   1.6
  M +1 -0      kolabkmailchanges.cpp   1.6


--- kdepim/wizards/kmailchanges.cpp  #1.17:1.18
@@ -76,4 +76,9 @@ void CreateDisconnectedImapAccount::enab
 }
 
+void CreateDisconnectedImapAccount::setSieveVacationFileName( const QString& f )
+{
+  mSieveVacationFileName = f;
+}
+
 void CreateDisconnectedImapAccount::enableSavePassword( bool b )
 {
@@ -155,4 +160,5 @@ void CreateDisconnectedImapAccount::appl
 
   c.writeEntry( "sieve-support", mEnableSieve ? "true" : "false" );
+  c.writeEntry( "sieve-vacation-filename", mSieveVacationFileName );
 
   if ( mEncryption == SSL ) {

--- kdepim/wizards/kmailchanges.h  #1.5:1.6
@@ -51,4 +51,5 @@ class CreateDisconnectedImapAccount : pu
 
     void enableSieve( bool );
+    void setSieveVacationFileName( const QString& );
     void enableSavePassword( bool );
 
@@ -81,4 +82,5 @@ class CreateDisconnectedImapAccount : pu
     QString mEmail;
 
+    QString mSieveVacationFileName;
     bool mEnableSieve;
     bool mEnableSavePassword;

--- kdepim/wizards/kolabkmailchanges.cpp  #1.5:1.6
@@ -120,4 +120,5 @@ void createKMailChanges( KConfigPropagat
   account->setEmail( email );
   account->enableSieve( true );
+  account->setSieveVacationFileName( "kolab-vacation.siv" );
   account->enableSavePassword( KolabConfig::self()->savePassword() );
   account->setEncryption( CreateDisconnectedImapAccount::SSL );


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

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