~ubuntu-branches/ubuntu/wily/psi/wily-proposed

« back to all changes in this revision

Viewing changes to src/tasklist.h

  • Committer: Package Import Robot
  • Author(s): Jan Niehusmann
  • Date: 2014-07-01 21:49:34 UTC
  • mfrom: (6.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20140701214934-gt4dkgm94byi4vnn
Tags: 0.15-1
* New upstream version
* set debhelper compat level to 9
* set Standards-Version to 3.9.5 (no further changes)
* add lintian override regarding license-problem-non-free-RFC
* use qconf to regenerate configure script
* implement hardening using buildflags instead of hardening-wrapper

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
**
15
15
** You should have received a copy of the GNU General Public License
16
16
** along with this program; if not, write to the Free Software
17
 
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
 
17
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
**
19
19
****************************************************************************/
20
20
 
21
21
#ifndef TASKLIST_H
22
22
#define TASKLIST_H
23
23
 
24
 
#include <qobject.h>
 
24
#include <QObject>
25
25
 
26
26
#include "xmpp_task.h"
27
27
 
42
42
 
43
43
        ~TaskList()
44
44
        {
45
 
                qDeleteAll(*this);
 
45
                for(QList<Task*>::Iterator i = begin(); i != end(); i++) {
 
46
                        (*i)->safeDelete();
 
47
                }
46
48
        }
47
49
 
48
50
        void append(Task *d)