~neon/kdenetwork/trunk

« back to all changes in this revision

Viewing changes to kopete/protocols/groupwise/libgroupwise/tasks/eventtask.h

  • Committer: uwolfer
  • Date: 2013-06-08 10:12:41 UTC
  • Revision ID: svn-v4:283d02a7-25f6-0310-bc7c-ecb5cbfe19da:trunk/KDE/kdenetwork:1357331
kdenetwork has moved to Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    Kopete Groupwise Protocol
3
 
    eventtask.h - Ancestor of all Event Handling tasks
4
 
 
5
 
    Copyright (c) 2004      SUSE Linux AG                http://www.suse.com
6
 
    
7
 
    Based on Iris, Copyright (C) 2003  Justin Karneges <justin@affinix.com>
8
 
 
9
 
    Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
10
 
 
11
 
    *************************************************************************
12
 
    *                                                                       *
13
 
    * This library is free software; you can redistribute it and/or         *
14
 
    * modify it under the terms of the GNU Lesser General Public            *
15
 
    * License as published by the Free Software Foundation; either          *
16
 
    * version 2 of the License, or (at your option) any later version.      *
17
 
    *                                                                       *
18
 
    *************************************************************************
19
 
*/
20
 
 
21
 
#ifndef GW_EVENTTASK_H
22
 
#define GW_EVENTTASK_H
23
 
 
24
 
#include <q3valuelist.h>
25
 
 
26
 
#include "eventtransfer.h"
27
 
#include "task.h"
28
 
 
29
 
class Transfer;
30
 
 
31
 
class EventTask : public Task
32
 
{
33
 
Q_OBJECT
34
 
        public:
35
 
                EventTask( Task *parent );
36
 
        protected:
37
 
                bool forMe( Transfer * transfer, EventTransfer *& event ) const;
38
 
                void registerEvent( GroupWise::Event e );
39
 
        private:
40
 
                QList<int> m_eventCodes;
41
 
};
42
 
 
43
 
#endif