• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

kopetetask.cpp

Go to the documentation of this file.
00001 /*
00002     kopetetask.cpp - Kopete Task
00003 
00004     Copyright (c) 2004      by Richard Smith         <kde@metafoo.co.uk>
00005     Copyright (c) 2007      by Michaƫl Larouche      <larouche@kde.org>
00006 
00007     Kopete    (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
00008 
00009     *************************************************************************
00010     *                                                                       *
00011     * This library is free software; you can redistribute it and/or         *
00012     * modify it under the terms of the GNU Lesser General Public            *
00013     * License as published by the Free Software Foundation; either          *
00014     * version 2 of the License, or (at your option) any later version.      *
00015     *                                                                       *
00016     *************************************************************************
00017 */
00018 
00019 #include "kopetetask.h"
00020 
00021 #include <kdebug.h>
00022 
00023 namespace Kopete
00024 {
00025 
00026 class Task::Private
00027 {
00028 public:
00029 };
00030 
00031 Task::Task(QObject *parent)
00032  : KCompositeJob(parent), d( new Private )
00033 {
00034 }
00035 
00036 Task::~Task()
00037 {
00038     delete d;
00039 }
00040 
00041 void Task::addSubTask(KJob *task)
00042 {
00043     addSubjob(task);
00044 }
00045 
00046 void Task::start()
00047 {
00048     kDebug(14010) << "Executing children tasks for this task.";
00049     KJob *subTask = 0;
00050     foreach( subTask, subjobs() )
00051     {
00052         subTask->start();
00053     }
00054 }
00055 
00056 }
00057 
00058 #include "kopetetask.moc"

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal