diff options
Diffstat (limited to 'kmail/sievejob.cpp')
-rw-r--r-- | kmail/sievejob.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kmail/sievejob.cpp b/kmail/sievejob.cpp index ade08b1da..0ce073d93 100644 --- a/kmail/sievejob.cpp +++ b/kmail/sievejob.cpp @@ -275,6 +275,12 @@ namespace KMail { return new SieveJob( url, TQString::null, commands ); } + SieveJob * SieveJob::desactivate( const KURL & url ) { + TQValueStack<Command> commands; + commands.push( Deactivate ); + return new SieveJob( url, TQString(), commands ); + } + SieveJob * SieveJob::activate( const KURL & url ) { TQValueStack<Command> commands; commands.push( Activate ); |